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