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 Stringcategoryprotected StringcategoryNotEqualsprotected StringdataObjectDefinitionKeyprotected StringdataObjectDefinitionKeyLikeprotected StringdeploymentIdprotected List<String>deploymentIdsprotected Stringkeyprotected booleanlatestprotected Stringnameprotected StringnameLikeprotected StringparentDeploymentIdprotected StringparentDeploymentIdLikeprotected StringtenantIdprotected StringtenantIdLikeprotected booleanwithoutTenantId-
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 DataObjectDeploymentQueryImpldataObjectDefinitionKey(String key)Only select deployments with the given data object definition key.DataObjectDeploymentQueryImpldataObjectDefinitionKeyLike(String keyLike)Only select deployments with a data object definition key like the given string.DataObjectDeploymentQueryImpldeploymentCategory(String deploymentCategory)Only select deployments with the given category.DataObjectDeploymentQueryImpldeploymentCategoryNotEquals(String deploymentCategoryNotEquals)Only select deployments that have a different category then the given one.DataObjectDeploymentQueryImpldeploymentId(String deploymentId)Only select deployments with the given deployment id.DataObjectDeploymentQueryImpldeploymentIds(List<String> deploymentIds)Only select deployments with the given deployment ids.DataObjectDeploymentQueryImpldeploymentKey(String deploymentKey)Only select deployments with the given key.DataObjectDeploymentQueryImpldeploymentName(String deploymentName)Only select deployments with the given name.DataObjectDeploymentQueryImpldeploymentNameLike(String nameLike)Only select deployments with a name like the given string.DataObjectDeploymentQueryImpldeploymentTenantId(String tenantId)Only select deployment that have the given tenant id.DataObjectDeploymentQueryImpldeploymentTenantIdLike(String tenantIdLike)Only select deployments with a tenant id like the given one.DataObjectDeploymentQueryImpldeploymentWithoutTenantId()Only select deployments that do not have a tenant id.longexecuteCount(CommandContext commandContext)List<DataObjectDeployment>executeList(CommandContext commandContext)StringgetCategory()StringgetCategoryNotEquals()StringgetDataObjectDefinitionKey()StringgetDataObjectDefinitionKeyLike()StringgetDeploymentId()List<String>getDeploymentIds()StringgetKey()StringgetName()StringgetNameLike()StringgetTenantId()StringgetTenantIdLike()booleanisWithoutTenantId()DataObjectDeploymentQueryImpllatest()Only select the latest deployments per deployment key.DataObjectDeploymentQueryorderByDeploymentId()Order by deployment id (needs to be followed byQuery.asc()orQuery.desc()).DataObjectDeploymentQueryorderByDeploymentName()Order by deployment name (needs to be followed byQuery.asc()orQuery.desc()).DataObjectDeploymentQueryorderByDeploymentTime()Order by deployment time (needs to be followed byQuery.asc()orQuery.desc()).DataObjectDeploymentQueryorderByTenantId()Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()).DataObjectDeploymentQueryImplparentDeploymentId(String parentDeploymentId)Only select deployment that have the given deployment parent id.DataObjectDeploymentQueryImplparentDeploymentIdLike(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:DataObjectDeploymentQueryOnly select deployments with the given deployment id.- Specified by:
deploymentIdin interfaceDataObjectDeploymentQuery
-
deploymentIds
public DataObjectDeploymentQueryImpl deploymentIds(List<String> deploymentIds)
Description copied from interface:DataObjectDeploymentQueryOnly select deployments with the given deployment ids.- Specified by:
deploymentIdsin interfaceDataObjectDeploymentQuery
-
deploymentName
public DataObjectDeploymentQueryImpl deploymentName(String deploymentName)
Description copied from interface:DataObjectDeploymentQueryOnly select deployments with the given name.- Specified by:
deploymentNamein interfaceDataObjectDeploymentQuery
-
deploymentNameLike
public DataObjectDeploymentQueryImpl deploymentNameLike(String nameLike)
Description copied from interface:DataObjectDeploymentQueryOnly select deployments with a name like the given string.- Specified by:
deploymentNameLikein interfaceDataObjectDeploymentQuery
-
deploymentKey
public DataObjectDeploymentQueryImpl deploymentKey(String deploymentKey)
Description copied from interface:DataObjectDeploymentQueryOnly select deployments with the given key.- Specified by:
deploymentKeyin interfaceDataObjectDeploymentQuery
-
deploymentCategory
public DataObjectDeploymentQueryImpl deploymentCategory(String deploymentCategory)
Description copied from interface:DataObjectDeploymentQueryOnly select deployments with the given category.- Specified by:
deploymentCategoryin interfaceDataObjectDeploymentQuery- See Also:
DataObjectDeploymentBuilder.category(String)
-
deploymentCategoryNotEquals
public DataObjectDeploymentQueryImpl deploymentCategoryNotEquals(String deploymentCategoryNotEquals)
Description copied from interface:DataObjectDeploymentQueryOnly select deployments that have a different category then the given one.- Specified by:
deploymentCategoryNotEqualsin interfaceDataObjectDeploymentQuery- See Also:
DataObjectDeploymentBuilder.category(String)
-
parentDeploymentId
public DataObjectDeploymentQueryImpl parentDeploymentId(String parentDeploymentId)
Description copied from interface:DataObjectDeploymentQueryOnly select deployment that have the given deployment parent id.- Specified by:
parentDeploymentIdin interfaceDataObjectDeploymentQuery
-
parentDeploymentIdLike
public DataObjectDeploymentQueryImpl parentDeploymentIdLike(String parentDeploymentIdLike)
Description copied from interface:DataObjectDeploymentQueryOnly select deployments with a deployment parent id like the given one.- Specified by:
parentDeploymentIdLikein interfaceDataObjectDeploymentQuery
-
deploymentWithoutTenantId
public DataObjectDeploymentQueryImpl deploymentWithoutTenantId()
Description copied from interface:DataObjectDeploymentQueryOnly select deployments that do not have a tenant id.- Specified by:
deploymentWithoutTenantIdin interfaceDataObjectDeploymentQuery
-
deploymentTenantId
public DataObjectDeploymentQueryImpl deploymentTenantId(String tenantId)
Description copied from interface:DataObjectDeploymentQueryOnly select deployment that have the given tenant id.- Specified by:
deploymentTenantIdin interfaceDataObjectDeploymentQuery
-
deploymentTenantIdLike
public DataObjectDeploymentQueryImpl deploymentTenantIdLike(String tenantIdLike)
Description copied from interface:DataObjectDeploymentQueryOnly select deployments with a tenant id like the given one.- Specified by:
deploymentTenantIdLikein interfaceDataObjectDeploymentQuery
-
dataObjectDefinitionKey
public DataObjectDeploymentQueryImpl dataObjectDefinitionKey(String key)
Description copied from interface:DataObjectDeploymentQueryOnly select deployments with the given data object definition key.- Specified by:
dataObjectDefinitionKeyin interfaceDataObjectDeploymentQuery
-
dataObjectDefinitionKeyLike
public DataObjectDeploymentQueryImpl dataObjectDefinitionKeyLike(String keyLike)
Description copied from interface:DataObjectDeploymentQueryOnly select deployments with a data object definition key like the given string.- Specified by:
dataObjectDefinitionKeyLikein interfaceDataObjectDeploymentQuery
-
latest
public DataObjectDeploymentQueryImpl latest()
Description copied from interface:DataObjectDeploymentQueryOnly select the latest deployments per deployment key.- Specified by:
latestin interfaceDataObjectDeploymentQuery
-
orderByDeploymentId
public DataObjectDeploymentQuery orderByDeploymentId()
Description copied from interface:DataObjectDeploymentQueryOrder by deployment id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByDeploymentIdin interfaceDataObjectDeploymentQuery
-
orderByDeploymentTime
public DataObjectDeploymentQuery orderByDeploymentTime()
Description copied from interface:DataObjectDeploymentQueryOrder by deployment time (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByDeploymentTimein interfaceDataObjectDeploymentQuery
-
orderByDeploymentName
public DataObjectDeploymentQuery orderByDeploymentName()
Description copied from interface:DataObjectDeploymentQueryOrder by deployment name (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByDeploymentNamein interfaceDataObjectDeploymentQuery
-
orderByTenantId
public DataObjectDeploymentQuery orderByTenantId()
Description copied from interface:DataObjectDeploymentQueryOrder by tenant id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTenantIdin interfaceDataObjectDeploymentQuery
-
executeCount
public long executeCount(CommandContext commandContext)
- Specified by:
executeCountin classAbstractQuery<DataObjectDeploymentQuery,DataObjectDeployment>
-
executeList
public List<DataObjectDeployment> executeList(CommandContext commandContext)
- Specified by:
executeListin 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()
-
-