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