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