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