Class DocumentDeploymentQueryImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.db.ListQueryParameterObject
-
- org.flowable.common.engine.impl.query.AbstractQuery<DocumentDeploymentQuery,DocumentDeployment>
-
- com.flowable.content.engine.impl.repository.DocumentDeploymentQueryImpl
-
- All Implemented Interfaces:
DocumentDeploymentQuery,Serializable,Query<DocumentDeploymentQuery,DocumentDeployment>,Command<Object>
public class DocumentDeploymentQueryImpl extends AbstractQuery<DocumentDeploymentQuery,DocumentDeployment> implements DocumentDeploymentQuery, Serializable
- Author:
- Tijs Rademakers, Joram Barrez
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
ListQueryParameterObject.OrderBy, ListQueryParameterObject.ResultType
-
Nested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
Query.NullHandlingOnOrder
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringcategoryprotected StringcategoryNotEqualsprotected StringdeploymentIdprotected List<String>deploymentIdsprotected StringdocumentDefinitionKeyprotected StringdocumentDefinitionKeyLikeprotected Stringkeyprotected booleanlatestprotected Stringnameprotected StringnameLikeprotected StringparentDeploymentIdprotected StringparentDeploymentIdLikeprotected StringtenantIdprotected StringtenantIdLikeprotected booleanwithoutTenantId-
Fields inherited from class org.flowable.common.engine.impl.query.AbstractQuery
commandContext, commandExecutor
-
Fields inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
databaseType, DEFAULT_ORDER_BY, defaultOrderBy, firstResult, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC
-
-
Constructor Summary
Constructors Constructor Description DocumentDeploymentQueryImpl()DocumentDeploymentQueryImpl(CommandContext commandContext)DocumentDeploymentQueryImpl(CommandExecutor commandExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentDeploymentQueryImpldeploymentCategory(String deploymentCategory)Only select deployments with the given category.DocumentDeploymentQueryImpldeploymentCategoryNotEquals(String deploymentCategoryNotEquals)Only select deployments that have a different category then the given one.DocumentDeploymentQueryImpldeploymentId(String deploymentId)Only select deployments with the given deployment id.DocumentDeploymentQueryImpldeploymentIds(List<String> deploymentIds)Only select deployments with the given deployment ids.DocumentDeploymentQueryImpldeploymentKey(String deploymentKey)Only select deployments with the given key.DocumentDeploymentQueryImpldeploymentName(String deploymentName)Only select deployments with the given name.DocumentDeploymentQueryImpldeploymentNameLike(String nameLike)Only select deployments with a name like the given string.DocumentDeploymentQueryImpldeploymentTenantId(String tenantId)Only select deployment that have the given tenant id.DocumentDeploymentQueryImpldeploymentTenantIdLike(String tenantIdLike)Only select deployments with a tenant id like the given one.DocumentDeploymentQueryImpldeploymentWithoutTenantId()Only select deployments that do not have a tenant id.DocumentDeploymentQueryImpldocumentDefinitionKey(String key)Only select deployments with the given document definition key.DocumentDeploymentQueryImpldocumentDefinitionKeyLike(String keyLike)Only select deployments with a document definition key like the given string.longexecuteCount(CommandContext commandContext)List<DocumentDeployment>executeList(CommandContext commandContext)StringgetCategory()StringgetCategoryNotEquals()StringgetDeploymentId()List<String>getDeploymentIds()StringgetDocumentDefinitionKey()StringgetDocumentDefinitionKeyLike()StringgetKey()StringgetName()StringgetNameLike()StringgetParentDeploymentId()StringgetParentDeploymentIdLike()StringgetTenantId()StringgetTenantIdLike()booleanisWithoutTenantId()DocumentDeploymentQueryImpllatest()Only select the latest deployments per deployment key.DocumentDeploymentQueryorderByDeploymentId()Order by deployment id (needs to be followed byQuery.asc()orQuery.desc()).DocumentDeploymentQueryorderByDeploymentName()Order by deployment name (needs to be followed byQuery.asc()orQuery.desc()).DocumentDeploymentQueryorderByDeploymentTime()Order by deployment time (needs to be followed byQuery.asc()orQuery.desc()).DocumentDeploymentQueryorderByTenantId()Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()).DocumentDeploymentQueryImplparentDeploymentId(String parentDeploymentId)Only select deployment that have the given deployment parent id.DocumentDeploymentQueryImplparentDeploymentIdLike(String parentDeploymentIdLike)Only select deployments with a deployment parent id like the given one.-
Methods inherited from class org.flowable.common.engine.impl.query.AbstractQuery
asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, list, listPage, orderBy, orderBy, setCommandExecutor, singleResult
-
Methods inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
addOrder, buildOrderBy, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getNullHandlingColumn, getOrderBy, getOrderByCollectionSafe, getOrderByForWindow, getOuterJoinOrderBy, getParameter, hasOrderBy, hasOrderByForColumn, isNeedsPaging, mapOrderByToSql, setDatabaseType, setFirstResult, setMaxResults, setNullHandlingColumn, setParameter
-
-
-
-
Field Detail
-
deploymentId
protected String deploymentId
-
name
protected String name
-
nameLike
protected String nameLike
-
key
protected String key
-
category
protected String category
-
categoryNotEquals
protected String categoryNotEquals
-
tenantId
protected String tenantId
-
tenantIdLike
protected String tenantIdLike
-
withoutTenantId
protected boolean withoutTenantId
-
parentDeploymentId
protected String parentDeploymentId
-
parentDeploymentIdLike
protected String parentDeploymentIdLike
-
documentDefinitionKey
protected String documentDefinitionKey
-
documentDefinitionKeyLike
protected String documentDefinitionKeyLike
-
latest
protected boolean latest
-
-
Constructor Detail
-
DocumentDeploymentQueryImpl
public DocumentDeploymentQueryImpl()
-
DocumentDeploymentQueryImpl
public DocumentDeploymentQueryImpl(CommandContext commandContext)
-
DocumentDeploymentQueryImpl
public DocumentDeploymentQueryImpl(CommandExecutor commandExecutor)
-
-
Method Detail
-
deploymentId
public DocumentDeploymentQueryImpl deploymentId(String deploymentId)
Description copied from interface:DocumentDeploymentQueryOnly select deployments with the given deployment id.- Specified by:
deploymentIdin interfaceDocumentDeploymentQuery
-
deploymentIds
public DocumentDeploymentQueryImpl deploymentIds(List<String> deploymentIds)
Description copied from interface:DocumentDeploymentQueryOnly select deployments with the given deployment ids.- Specified by:
deploymentIdsin interfaceDocumentDeploymentQuery
-
deploymentName
public DocumentDeploymentQueryImpl deploymentName(String deploymentName)
Description copied from interface:DocumentDeploymentQueryOnly select deployments with the given name.- Specified by:
deploymentNamein interfaceDocumentDeploymentQuery
-
deploymentNameLike
public DocumentDeploymentQueryImpl deploymentNameLike(String nameLike)
Description copied from interface:DocumentDeploymentQueryOnly select deployments with a name like the given string.- Specified by:
deploymentNameLikein interfaceDocumentDeploymentQuery
-
deploymentKey
public DocumentDeploymentQueryImpl deploymentKey(String deploymentKey)
Description copied from interface:DocumentDeploymentQueryOnly select deployments with the given key.- Specified by:
deploymentKeyin interfaceDocumentDeploymentQuery
-
deploymentCategory
public DocumentDeploymentQueryImpl deploymentCategory(String deploymentCategory)
Description copied from interface:DocumentDeploymentQueryOnly select deployments with the given category.- Specified by:
deploymentCategoryin interfaceDocumentDeploymentQuery
-
deploymentCategoryNotEquals
public DocumentDeploymentQueryImpl deploymentCategoryNotEquals(String deploymentCategoryNotEquals)
Description copied from interface:DocumentDeploymentQueryOnly select deployments that have a different category then the given one.- Specified by:
deploymentCategoryNotEqualsin interfaceDocumentDeploymentQuery
-
parentDeploymentId
public DocumentDeploymentQueryImpl parentDeploymentId(String parentDeploymentId)
Description copied from interface:DocumentDeploymentQueryOnly select deployment that have the given deployment parent id.- Specified by:
parentDeploymentIdin interfaceDocumentDeploymentQuery
-
parentDeploymentIdLike
public DocumentDeploymentQueryImpl parentDeploymentIdLike(String parentDeploymentIdLike)
Description copied from interface:DocumentDeploymentQueryOnly select deployments with a deployment parent id like the given one.- Specified by:
parentDeploymentIdLikein interfaceDocumentDeploymentQuery
-
deploymentWithoutTenantId
public DocumentDeploymentQueryImpl deploymentWithoutTenantId()
Description copied from interface:DocumentDeploymentQueryOnly select deployments that do not have a tenant id.- Specified by:
deploymentWithoutTenantIdin interfaceDocumentDeploymentQuery
-
deploymentTenantId
public DocumentDeploymentQueryImpl deploymentTenantId(String tenantId)
Description copied from interface:DocumentDeploymentQueryOnly select deployment that have the given tenant id.- Specified by:
deploymentTenantIdin interfaceDocumentDeploymentQuery
-
deploymentTenantIdLike
public DocumentDeploymentQueryImpl deploymentTenantIdLike(String tenantIdLike)
Description copied from interface:DocumentDeploymentQueryOnly select deployments with a tenant id like the given one.- Specified by:
deploymentTenantIdLikein interfaceDocumentDeploymentQuery
-
documentDefinitionKey
public DocumentDeploymentQueryImpl documentDefinitionKey(String key)
Description copied from interface:DocumentDeploymentQueryOnly select deployments with the given document definition key.- Specified by:
documentDefinitionKeyin interfaceDocumentDeploymentQuery
-
documentDefinitionKeyLike
public DocumentDeploymentQueryImpl documentDefinitionKeyLike(String keyLike)
Description copied from interface:DocumentDeploymentQueryOnly select deployments with a document definition key like the given string.- Specified by:
documentDefinitionKeyLikein interfaceDocumentDeploymentQuery
-
latest
public DocumentDeploymentQueryImpl latest()
Description copied from interface:DocumentDeploymentQueryOnly select the latest deployments per deployment key.- Specified by:
latestin interfaceDocumentDeploymentQuery
-
orderByDeploymentId
public DocumentDeploymentQuery orderByDeploymentId()
Description copied from interface:DocumentDeploymentQueryOrder by deployment id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByDeploymentIdin interfaceDocumentDeploymentQuery
-
orderByDeploymentTime
public DocumentDeploymentQuery orderByDeploymentTime()
Description copied from interface:DocumentDeploymentQueryOrder by deployment time (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByDeploymentTimein interfaceDocumentDeploymentQuery
-
orderByDeploymentName
public DocumentDeploymentQuery orderByDeploymentName()
Description copied from interface:DocumentDeploymentQueryOrder by deployment name (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByDeploymentNamein interfaceDocumentDeploymentQuery
-
orderByTenantId
public DocumentDeploymentQuery orderByTenantId()
Description copied from interface:DocumentDeploymentQueryOrder by tenant id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTenantIdin interfaceDocumentDeploymentQuery
-
executeCount
public long executeCount(CommandContext commandContext)
- Specified by:
executeCountin classAbstractQuery<DocumentDeploymentQuery,DocumentDeployment>
-
executeList
public List<DocumentDeployment> executeList(CommandContext commandContext)
- Specified by:
executeListin classAbstractQuery<DocumentDeploymentQuery,DocumentDeployment>
-
getDeploymentId
public String getDeploymentId()
-
getName
public String getName()
-
getNameLike
public String getNameLike()
-
getKey
public String getKey()
-
getCategory
public String getCategory()
-
getCategoryNotEquals
public String getCategoryNotEquals()
-
getTenantId
public String getTenantId()
-
getTenantIdLike
public String getTenantIdLike()
-
isWithoutTenantId
public boolean isWithoutTenantId()
-
getDocumentDefinitionKey
public String getDocumentDefinitionKey()
-
getDocumentDefinitionKeyLike
public String getDocumentDefinitionKeyLike()
-
getParentDeploymentId
public String getParentDeploymentId()
-
getParentDeploymentIdLike
public String getParentDeploymentIdLike()
-
-