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 String
category
protected String
categoryNotEquals
protected String
deploymentId
protected List<String>
deploymentIds
protected String
documentDefinitionKey
protected String
documentDefinitionKeyLike
protected String
key
protected boolean
latest
protected String
name
protected String
nameLike
protected String
parentDeploymentId
protected String
parentDeploymentIdLike
protected String
tenantId
protected String
tenantIdLike
protected boolean
withoutTenantId
-
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 DocumentDeploymentQueryImpl
deploymentCategory(String deploymentCategory)
Only select deployments with the given category.DocumentDeploymentQueryImpl
deploymentCategoryNotEquals(String deploymentCategoryNotEquals)
Only select deployments that have a different category then the given one.DocumentDeploymentQueryImpl
deploymentId(String deploymentId)
Only select deployments with the given deployment id.DocumentDeploymentQueryImpl
deploymentIds(List<String> deploymentIds)
Only select deployments with the given deployment ids.DocumentDeploymentQueryImpl
deploymentKey(String deploymentKey)
Only select deployments with the given key.DocumentDeploymentQueryImpl
deploymentName(String deploymentName)
Only select deployments with the given name.DocumentDeploymentQueryImpl
deploymentNameLike(String nameLike)
Only select deployments with a name like the given string.DocumentDeploymentQueryImpl
deploymentTenantId(String tenantId)
Only select deployment that have the given tenant id.DocumentDeploymentQueryImpl
deploymentTenantIdLike(String tenantIdLike)
Only select deployments with a tenant id like the given one.DocumentDeploymentQueryImpl
deploymentWithoutTenantId()
Only select deployments that do not have a tenant id.DocumentDeploymentQueryImpl
documentDefinitionKey(String key)
Only select deployments with the given document definition key.DocumentDeploymentQueryImpl
documentDefinitionKeyLike(String keyLike)
Only select deployments with a document definition key like the given string.long
executeCount(CommandContext commandContext)
List<DocumentDeployment>
executeList(CommandContext commandContext)
String
getCategory()
String
getCategoryNotEquals()
String
getDeploymentId()
List<String>
getDeploymentIds()
String
getDocumentDefinitionKey()
String
getDocumentDefinitionKeyLike()
String
getKey()
String
getName()
String
getNameLike()
String
getParentDeploymentId()
String
getParentDeploymentIdLike()
String
getTenantId()
String
getTenantIdLike()
boolean
isWithoutTenantId()
DocumentDeploymentQueryImpl
latest()
Only select the latest deployments per deployment key.DocumentDeploymentQuery
orderByDeploymentId()
Order by deployment id (needs to be followed byQuery.asc()
orQuery.desc()
).DocumentDeploymentQuery
orderByDeploymentName()
Order by deployment name (needs to be followed byQuery.asc()
orQuery.desc()
).DocumentDeploymentQuery
orderByDeploymentTime()
Order by deployment time (needs to be followed byQuery.asc()
orQuery.desc()
).DocumentDeploymentQuery
orderByTenantId()
Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).DocumentDeploymentQueryImpl
parentDeploymentId(String parentDeploymentId)
Only select deployment that have the given deployment parent id.DocumentDeploymentQueryImpl
parentDeploymentIdLike(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:DocumentDeploymentQuery
Only select deployments with the given deployment id.- Specified by:
deploymentId
in interfaceDocumentDeploymentQuery
-
deploymentIds
public DocumentDeploymentQueryImpl deploymentIds(List<String> deploymentIds)
Description copied from interface:DocumentDeploymentQuery
Only select deployments with the given deployment ids.- Specified by:
deploymentIds
in interfaceDocumentDeploymentQuery
-
deploymentName
public DocumentDeploymentQueryImpl deploymentName(String deploymentName)
Description copied from interface:DocumentDeploymentQuery
Only select deployments with the given name.- Specified by:
deploymentName
in interfaceDocumentDeploymentQuery
-
deploymentNameLike
public DocumentDeploymentQueryImpl deploymentNameLike(String nameLike)
Description copied from interface:DocumentDeploymentQuery
Only select deployments with a name like the given string.- Specified by:
deploymentNameLike
in interfaceDocumentDeploymentQuery
-
deploymentKey
public DocumentDeploymentQueryImpl deploymentKey(String deploymentKey)
Description copied from interface:DocumentDeploymentQuery
Only select deployments with the given key.- Specified by:
deploymentKey
in interfaceDocumentDeploymentQuery
-
deploymentCategory
public DocumentDeploymentQueryImpl deploymentCategory(String deploymentCategory)
Description copied from interface:DocumentDeploymentQuery
Only select deployments with the given category.- Specified by:
deploymentCategory
in interfaceDocumentDeploymentQuery
-
deploymentCategoryNotEquals
public DocumentDeploymentQueryImpl deploymentCategoryNotEquals(String deploymentCategoryNotEquals)
Description copied from interface:DocumentDeploymentQuery
Only select deployments that have a different category then the given one.- Specified by:
deploymentCategoryNotEquals
in interfaceDocumentDeploymentQuery
-
parentDeploymentId
public DocumentDeploymentQueryImpl parentDeploymentId(String parentDeploymentId)
Description copied from interface:DocumentDeploymentQuery
Only select deployment that have the given deployment parent id.- Specified by:
parentDeploymentId
in interfaceDocumentDeploymentQuery
-
parentDeploymentIdLike
public DocumentDeploymentQueryImpl parentDeploymentIdLike(String parentDeploymentIdLike)
Description copied from interface:DocumentDeploymentQuery
Only select deployments with a deployment parent id like the given one.- Specified by:
parentDeploymentIdLike
in interfaceDocumentDeploymentQuery
-
deploymentWithoutTenantId
public DocumentDeploymentQueryImpl deploymentWithoutTenantId()
Description copied from interface:DocumentDeploymentQuery
Only select deployments that do not have a tenant id.- Specified by:
deploymentWithoutTenantId
in interfaceDocumentDeploymentQuery
-
deploymentTenantId
public DocumentDeploymentQueryImpl deploymentTenantId(String tenantId)
Description copied from interface:DocumentDeploymentQuery
Only select deployment that have the given tenant id.- Specified by:
deploymentTenantId
in interfaceDocumentDeploymentQuery
-
deploymentTenantIdLike
public DocumentDeploymentQueryImpl deploymentTenantIdLike(String tenantIdLike)
Description copied from interface:DocumentDeploymentQuery
Only select deployments with a tenant id like the given one.- Specified by:
deploymentTenantIdLike
in interfaceDocumentDeploymentQuery
-
documentDefinitionKey
public DocumentDeploymentQueryImpl documentDefinitionKey(String key)
Description copied from interface:DocumentDeploymentQuery
Only select deployments with the given document definition key.- Specified by:
documentDefinitionKey
in interfaceDocumentDeploymentQuery
-
documentDefinitionKeyLike
public DocumentDeploymentQueryImpl documentDefinitionKeyLike(String keyLike)
Description copied from interface:DocumentDeploymentQuery
Only select deployments with a document definition key like the given string.- Specified by:
documentDefinitionKeyLike
in interfaceDocumentDeploymentQuery
-
latest
public DocumentDeploymentQueryImpl latest()
Description copied from interface:DocumentDeploymentQuery
Only select the latest deployments per deployment key.- Specified by:
latest
in interfaceDocumentDeploymentQuery
-
orderByDeploymentId
public DocumentDeploymentQuery orderByDeploymentId()
Description copied from interface:DocumentDeploymentQuery
Order by deployment id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByDeploymentId
in interfaceDocumentDeploymentQuery
-
orderByDeploymentTime
public DocumentDeploymentQuery orderByDeploymentTime()
Description copied from interface:DocumentDeploymentQuery
Order by deployment time (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByDeploymentTime
in interfaceDocumentDeploymentQuery
-
orderByDeploymentName
public DocumentDeploymentQuery orderByDeploymentName()
Description copied from interface:DocumentDeploymentQuery
Order by deployment name (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByDeploymentName
in interfaceDocumentDeploymentQuery
-
orderByTenantId
public DocumentDeploymentQuery orderByTenantId()
Description copied from interface:DocumentDeploymentQuery
Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByTenantId
in interfaceDocumentDeploymentQuery
-
executeCount
public long executeCount(CommandContext commandContext)
- Specified by:
executeCount
in classAbstractQuery<DocumentDeploymentQuery,DocumentDeployment>
-
executeList
public List<DocumentDeployment> executeList(CommandContext commandContext)
- Specified by:
executeList
in 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()
-
-