Class TemplateDeploymentQueryImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.db.ListQueryParameterObject
-
- org.flowable.common.engine.impl.query.AbstractQuery<TemplateDeploymentQuery,TemplateDeployment>
-
- com.flowable.template.engine.impl.repository.TemplateDeploymentQueryImpl
-
- All Implemented Interfaces:
TemplateDeploymentQuery
,Serializable
,Query<TemplateDeploymentQuery,TemplateDeployment>
,Command<Object>
public class TemplateDeploymentQueryImpl extends AbstractQuery<TemplateDeploymentQuery,TemplateDeployment> implements TemplateDeploymentQuery, 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
actionDefinitionKey
protected String
actionDefinitionKeyLike
protected String
category
protected String
categoryNotEquals
protected String
deploymentId
protected List<String>
deploymentIds
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 TemplateDeploymentQueryImpl()
TemplateDeploymentQueryImpl(CommandContext commandContext)
TemplateDeploymentQueryImpl(CommandExecutor commandExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TemplateDeploymentQueryImpl
actionDefinitionKey(String key)
Only select deployments with the given action definition key.TemplateDeploymentQueryImpl
actionDefinitionKeyLike(String keyLike)
Only select deployments with a action definition key like the given string.TemplateDeploymentQueryImpl
deploymentCategory(String deploymentCategory)
Only select deployments with the given category.TemplateDeploymentQueryImpl
deploymentCategoryNotEquals(String deploymentCategoryNotEquals)
Only select deployments that have a different category then the given one.TemplateDeploymentQueryImpl
deploymentId(String deploymentId)
Only select deployments with the given deployment id.TemplateDeploymentQueryImpl
deploymentIds(List<String> deploymentIds)
Only select deployments with the given deployment ids.TemplateDeploymentQueryImpl
deploymentKey(String deploymentKey)
Only select deployments with the given key.TemplateDeploymentQueryImpl
deploymentName(String deploymentName)
Only select deployments with the given name.TemplateDeploymentQueryImpl
deploymentNameLike(String nameLike)
Only select deployments with a name like the given string.TemplateDeploymentQueryImpl
deploymentTenantId(String tenantId)
Only select deployment that have the given tenant id.TemplateDeploymentQueryImpl
deploymentTenantIdLike(String tenantIdLike)
Only select deployments with a tenant id like the given one.TemplateDeploymentQueryImpl
deploymentWithoutTenantId()
Only select deployments that do not have a tenant id.long
executeCount(CommandContext commandContext)
List<TemplateDeployment>
executeList(CommandContext commandContext)
String
getActionDefinitionKey()
String
getActionDefinitionKeyLike()
String
getCategory()
String
getCategoryNotEquals()
String
getDeploymentId()
List<String>
getDeploymentIds()
String
getKey()
String
getName()
String
getNameLike()
String
getTenantId()
String
getTenantIdLike()
boolean
isWithoutTenantId()
TemplateDeploymentQueryImpl
latest()
Only select the latest deployments per deployment key.TemplateDeploymentQuery
orderByDeploymentId()
Order by deployment id (needs to be followed byQuery.asc()
orQuery.desc()
).TemplateDeploymentQuery
orderByDeploymentName()
Order by deployment name (needs to be followed byQuery.asc()
orQuery.desc()
).TemplateDeploymentQuery
orderByDeploymentTime()
Order by deployment time (needs to be followed byQuery.asc()
orQuery.desc()
).TemplateDeploymentQuery
orderByTenantId()
Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).TemplateDeploymentQueryImpl
parentDeploymentId(String parentDeploymentId)
Only select deployment that have the given deployment parent id.TemplateDeploymentQueryImpl
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
-
actionDefinitionKey
protected String actionDefinitionKey
-
actionDefinitionKeyLike
protected String actionDefinitionKeyLike
-
latest
protected boolean latest
-
-
Constructor Detail
-
TemplateDeploymentQueryImpl
public TemplateDeploymentQueryImpl()
-
TemplateDeploymentQueryImpl
public TemplateDeploymentQueryImpl(CommandContext commandContext)
-
TemplateDeploymentQueryImpl
public TemplateDeploymentQueryImpl(CommandExecutor commandExecutor)
-
-
Method Detail
-
deploymentId
public TemplateDeploymentQueryImpl deploymentId(String deploymentId)
Description copied from interface:TemplateDeploymentQuery
Only select deployments with the given deployment id.- Specified by:
deploymentId
in interfaceTemplateDeploymentQuery
-
deploymentIds
public TemplateDeploymentQueryImpl deploymentIds(List<String> deploymentIds)
Description copied from interface:TemplateDeploymentQuery
Only select deployments with the given deployment ids.- Specified by:
deploymentIds
in interfaceTemplateDeploymentQuery
-
deploymentName
public TemplateDeploymentQueryImpl deploymentName(String deploymentName)
Description copied from interface:TemplateDeploymentQuery
Only select deployments with the given name.- Specified by:
deploymentName
in interfaceTemplateDeploymentQuery
-
deploymentNameLike
public TemplateDeploymentQueryImpl deploymentNameLike(String nameLike)
Description copied from interface:TemplateDeploymentQuery
Only select deployments with a name like the given string.- Specified by:
deploymentNameLike
in interfaceTemplateDeploymentQuery
-
deploymentKey
public TemplateDeploymentQueryImpl deploymentKey(String deploymentKey)
Description copied from interface:TemplateDeploymentQuery
Only select deployments with the given key.- Specified by:
deploymentKey
in interfaceTemplateDeploymentQuery
-
deploymentCategory
public TemplateDeploymentQueryImpl deploymentCategory(String deploymentCategory)
Description copied from interface:TemplateDeploymentQuery
Only select deployments with the given category.- Specified by:
deploymentCategory
in interfaceTemplateDeploymentQuery
- See Also:
TemplateDeploymentBuilder.category(String)
-
deploymentCategoryNotEquals
public TemplateDeploymentQueryImpl deploymentCategoryNotEquals(String deploymentCategoryNotEquals)
Description copied from interface:TemplateDeploymentQuery
Only select deployments that have a different category then the given one.- Specified by:
deploymentCategoryNotEquals
in interfaceTemplateDeploymentQuery
- See Also:
TemplateDeploymentBuilder.category(String)
-
parentDeploymentId
public TemplateDeploymentQueryImpl parentDeploymentId(String parentDeploymentId)
Description copied from interface:TemplateDeploymentQuery
Only select deployment that have the given deployment parent id.- Specified by:
parentDeploymentId
in interfaceTemplateDeploymentQuery
-
parentDeploymentIdLike
public TemplateDeploymentQueryImpl parentDeploymentIdLike(String parentDeploymentIdLike)
Description copied from interface:TemplateDeploymentQuery
Only select deployments with a deployment parent id like the given one.- Specified by:
parentDeploymentIdLike
in interfaceTemplateDeploymentQuery
-
deploymentWithoutTenantId
public TemplateDeploymentQueryImpl deploymentWithoutTenantId()
Description copied from interface:TemplateDeploymentQuery
Only select deployments that do not have a tenant id.- Specified by:
deploymentWithoutTenantId
in interfaceTemplateDeploymentQuery
-
deploymentTenantId
public TemplateDeploymentQueryImpl deploymentTenantId(String tenantId)
Description copied from interface:TemplateDeploymentQuery
Only select deployment that have the given tenant id.- Specified by:
deploymentTenantId
in interfaceTemplateDeploymentQuery
-
deploymentTenantIdLike
public TemplateDeploymentQueryImpl deploymentTenantIdLike(String tenantIdLike)
Description copied from interface:TemplateDeploymentQuery
Only select deployments with a tenant id like the given one.- Specified by:
deploymentTenantIdLike
in interfaceTemplateDeploymentQuery
-
actionDefinitionKey
public TemplateDeploymentQueryImpl actionDefinitionKey(String key)
Description copied from interface:TemplateDeploymentQuery
Only select deployments with the given action definition key.- Specified by:
actionDefinitionKey
in interfaceTemplateDeploymentQuery
-
actionDefinitionKeyLike
public TemplateDeploymentQueryImpl actionDefinitionKeyLike(String keyLike)
Description copied from interface:TemplateDeploymentQuery
Only select deployments with a action definition key like the given string.- Specified by:
actionDefinitionKeyLike
in interfaceTemplateDeploymentQuery
-
latest
public TemplateDeploymentQueryImpl latest()
Description copied from interface:TemplateDeploymentQuery
Only select the latest deployments per deployment key.- Specified by:
latest
in interfaceTemplateDeploymentQuery
-
orderByDeploymentId
public TemplateDeploymentQuery orderByDeploymentId()
Description copied from interface:TemplateDeploymentQuery
Order by deployment id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByDeploymentId
in interfaceTemplateDeploymentQuery
-
orderByDeploymentTime
public TemplateDeploymentQuery orderByDeploymentTime()
Description copied from interface:TemplateDeploymentQuery
Order by deployment time (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByDeploymentTime
in interfaceTemplateDeploymentQuery
-
orderByDeploymentName
public TemplateDeploymentQuery orderByDeploymentName()
Description copied from interface:TemplateDeploymentQuery
Order by deployment name (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByDeploymentName
in interfaceTemplateDeploymentQuery
-
orderByTenantId
public TemplateDeploymentQuery orderByTenantId()
Description copied from interface:TemplateDeploymentQuery
Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByTenantId
in interfaceTemplateDeploymentQuery
-
executeCount
public long executeCount(CommandContext commandContext)
- Specified by:
executeCount
in classAbstractQuery<TemplateDeploymentQuery,TemplateDeployment>
-
executeList
public List<TemplateDeployment> executeList(CommandContext commandContext)
- Specified by:
executeList
in classAbstractQuery<TemplateDeploymentQuery,TemplateDeployment>
-
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()
-
getActionDefinitionKey
public String getActionDefinitionKey()
-
getActionDefinitionKeyLike
public String getActionDefinitionKeyLike()
-
-