public class DefaultDeploymentFilter extends Object implements DeploymentFilter, Serializable
Modifier and Type | Field and Description |
---|---|
protected static String |
PROPERTY_ID |
protected static String |
PROPERTY_KEY |
protected static String |
PROPERTY_NAME |
Constructor and Description |
---|
DefaultDeploymentFilter() |
Modifier and Type | Method and Description |
---|---|
void |
beforeDeploy(DeploymentBuilder deployment)
Called right before the deployment, created in the UI, is deployed to the
API.
|
DeploymentListQuery.DeploymentListitem |
createItem(Deployment deployment) |
DeploymentQuery |
getCountQuery(RepositoryService repositoryService)
Return a query that filters deployments, used for counting total number.
|
DeploymentQuery |
getQuery(RepositoryService repositoryService)
Return a query that filters deployments, paging info is applied later on
and should not be altered.
|
protected static final String PROPERTY_ID
protected static final String PROPERTY_NAME
protected static final String PROPERTY_KEY
public DeploymentQuery getQuery(RepositoryService repositoryService)
DeploymentFilter
getQuery
in interface DeploymentFilter
public DeploymentQuery getCountQuery(RepositoryService repositoryService)
DeploymentFilter
getCountQuery
in interface DeploymentFilter
public DeploymentListQuery.DeploymentListitem createItem(Deployment deployment)
createItem
in interface DeploymentFilter
public void beforeDeploy(DeploymentBuilder deployment)
DeploymentFilter
beforeDeploy
in interface DeploymentFilter
Copyright © 2016 Alfresco. All rights reserved.