Class CaseInstanceQueryImpl
java.lang.Object
org.flowable.common.engine.impl.db.ListQueryParameterObject
org.flowable.common.engine.impl.query.AbstractQuery<T,U>
org.flowable.variable.service.impl.AbstractVariableQueryImpl<CaseInstanceQuery,CaseInstance>
org.flowable.cmmn.engine.impl.runtime.CaseInstanceQueryImpl
- All Implemented Interfaces:
Serializable
,CaseInstanceQuery
,CacheAwareQuery<CaseInstanceEntity>
,Query<CaseInstanceQuery,
,CaseInstance> Command<Object>
public class CaseInstanceQueryImpl
extends AbstractVariableQueryImpl<CaseInstanceQuery,CaseInstance>
implements CaseInstanceQuery, CacheAwareQuery<CaseInstanceEntity>
- Author:
- Joram Barrez, Tijs Rademakers
- See Also:
-
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
FieldsModifier and TypeFieldDescriptionprotected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected Integer
protected String
protected String
protected String
protected CmmnEngineConfiguration
protected boolean
protected CaseInstanceQueryImpl
protected boolean
protected boolean
protected IdentityLinkQueryObject
protected String
protected IdentityLinkQueryObject
protected Date
protected Date
protected String
protected String
protected String
protected String
protected String
protected List<CaseInstanceQueryImpl>
protected String
protected String
protected String
protected String
protected Date
protected Date
protected String
protected String
protected String
protected String
protected String
protected boolean
protected boolean
Fields inherited from class org.flowable.variable.service.impl.AbstractVariableQueryImpl
queryVariableValues, variableValueProvider
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
ConstructorsConstructorDescriptionCaseInstanceQueryImpl
(CommandContext commandContext, CmmnEngineConfiguration cmmnEngineConfiguration) CaseInstanceQueryImpl
(CommandExecutor commandExecutor, CmmnEngineConfiguration cmmnEngineConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionactivePlanItemDefinitionId
(String planItemDefinitionId) Select the case instances with an active plan item definition id equal to the provided definition id.activePlanItemDefinitionIds
(Set<String> planItemDefinitionIds) Select the case instances with an active plan item definition id equal to one of the provided definition ids.caseDefinitionCategory
(String caseDefinitionCategory) caseDefinitionCategoryLike
(String caseDefinitionCategoryLike) caseDefinitionCategoryLikeIgnoreCase
(String caseDefinitionCategoryLikeIgnoreCase) caseDefinitionId
(String caseDefinitionId) caseDefinitionIds
(Set<String> caseDefinitionIds) caseDefinitionKey
(String caseDefinitionKey) caseDefinitionKeyLike
(String caseDefinitionKeyLike) caseDefinitionKeyLikeIgnoreCase
(String caseDefinitionKeyLikeIgnoreCase) caseDefinitionKeys
(Set<String> caseDefinitionKeys) caseDefinitionName
(String caseDefinitionName) caseDefinitionNameLike
(String caseDefinitionNameLike) caseDefinitionNameLikeIgnoreCase
(String caseDefinitionNameLikeIgnoreCase) caseDefinitionVersion
(Integer caseDefinitionVersion) caseInstanceBusinessKey
(String businessKey) caseInstanceBusinessKeyLike
(String businessKeyLike) caseInstanceBusinessKeyLikeIgnoreCase
(String businessKeyLikeIgnoreCase) caseInstanceBusinessStatus
(String businessStatus) caseInstanceBusinessStatusLike
(String businessStatusLike) caseInstanceBusinessStatusLikeIgnoreCase
(String businessStatusLikeIgnoreCase) caseInstanceCallbackId
(String callbackId) caseInstanceCallbackType
(String callbackType) caseInstanceId
(String caseInstanceId) caseInstanceIds
(Set<String> caseInstanceIds) caseInstanceLastReactivatedAfter
(Date afterTime) caseInstanceLastReactivatedBefore
(Date beforeTime) caseInstanceLastReactivatedBy
(String userId) caseInstanceName
(String name) caseInstanceNameLike
(String nameLike) caseInstanceNameLikeIgnoreCase
(String nameLikeIgnoreCase) caseInstanceParentId
(String parentId) caseInstanceParentScopeId
(String parentScopeId) caseInstanceReferenceId
(String referenceId) caseInstanceReferenceType
(String referenceType) caseInstanceRootScopeId
(String rootScopeId) caseInstanceStartedAfter
(Date afterTime) caseInstanceStartedBefore
(Date beforeTime) caseInstanceStartedBy
(String userId) caseInstanceState
(String state) caseInstanceTenantId
(String tenantId) caseInstanceTenantIdLike
(String tenantIdLike) caseInstanceTenantIdLikeIgnoreCase
(String tenantIdLikeIgnoreCase) endOr()
End an OR statement.void
enhanceCachedValue
(CaseInstanceEntity caseInstance) protected void
long
executeCount
(CommandContext commandContext) executeList
(CommandContext commandContext) Executes the actual query to retrieve the list of results.getId()
getState()
Includes case variables into the query result.involvedGroup
(String groupId, String identityLinkType) Select the case instances with which the group with the given id and identity link type are involved.involvedGroups
(Set<String> groupIds) Select the case instances with which the groups with the given ids are involved.involvedUser
(String userId) Select the case instances with which the user with the given id is involved.involvedUser
(String userId, String identityLinkType) Select the case instances with which the user with the given id and identity link type are involved.boolean
boolean
boolean
boolean
Localize case name to specified locale.or()
Begin an OR statement.void
setSafeInvolvedGroups
(List<List<String>> safeInvolvedGroups) variableExists
(String name) Only select case instances which have a variable with the given name.variableNotExists
(String name) Only select case instances which don't have a variable with the given name.variableValueEquals
(Object variableValue) Only select case instances which have at least one global variable with the given value.variableValueEquals
(String variableName, Object variableValue) Only select case instances which have a global variable with the given value.variableValueEqualsIgnoreCase
(String name, String value) Only select case instances which have a local string variable with the given value, case insensitive.variableValueGreaterThan
(String name, Object value) Only select case instances which have a variable value greater than the passed value.variableValueGreaterThanOrEqual
(String name, Object value) Only select case instances which have a global variable value greater than or equal to the passed value.variableValueLessThan
(String name, Object value) Only select case instances which have a global variable value less than the passed value.variableValueLessThanOrEqual
(String name, Object value) Only select case instances which have a global variable value less than or equal to the passed value.variableValueLike
(String name, String value) Only select case instances which have a global variable value like the given value.variableValueLikeIgnoreCase
(String name, String value) Only select case instances which have a global variable value like the given value (case insensitive).variableValueNotEquals
(String variableName, Object variableValue) Only select case instances which have a global variable with the given name, but with a different value than the passed value.variableValueNotEqualsIgnoreCase
(String name, String value) Only select case instances which have a local string variable which is not the given value, case insensitive.Instruct localization to fallback to more general locales including the default locale of the JVM if the specified locale is not found.Methods inherited from class org.flowable.variable.service.impl.AbstractVariableQueryImpl
addVariable, addVariable, getQueryVariableValues, hasLocalQueryVariableValue, hasNonLocalQueryVariableValue, hasValueComparisonQueryVariables, isBoolean, scopedVariableExists, scopedVariableNotExists, scopedVariableValueEquals, scopedVariableValueEquals, scopedVariableValueEqualsIgnoreCase, scopedVariableValueGreaterThan, scopedVariableValueGreaterThanOrEqual, scopedVariableValueLessThan, scopedVariableValueLessThanOrEqual, scopedVariableValueLike, scopedVariableValueLikeIgnoreCase, scopedVariableValueNotEquals, scopedVariableValueNotEqualsIgnoreCase, variableExists, variableNotExists, variableValueEquals, variableValueEquals, variableValueEqualsIgnoreCase, variableValueGreaterThan, variableValueGreaterThanOrEqual, variableValueLessThan, variableValueLessThanOrEqual, variableValueLike, variableValueLikeIgnoreCase, variableValueNotEquals, variableValueNotEqualsIgnoreCase
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 Details
-
cmmnEngineConfiguration
-
caseDefinitionId
-
caseDefinitionKey
-
caseDefinitionKeyLike
-
caseDefinitionKeyLikeIgnoreCase
-
caseDefinitionKeys
-
caseDefinitionIds
-
caseDefinitionCategory
-
caseDefinitionCategoryLike
-
caseDefinitionCategoryLikeIgnoreCase
-
caseDefinitionName
-
caseDefinitionNameLike
-
caseDefinitionNameLikeIgnoreCase
-
caseDefinitionVersion
-
name
-
nameLike
-
nameLikeIgnoreCase
-
rootScopeId
-
parentScopeId
-
businessKey
-
businessKeyLike
-
businessKeyLikeIgnoreCase
-
businessStatus
-
businessStatusLike
-
businessStatusLikeIgnoreCase
-
caseInstanceId
-
caseInstanceIds
-
caseInstanceParentId
-
caseInstanceParentPlanItemInstanceId
-
startedBefore
-
startedAfter
-
startedBy
-
state
-
lastReactivatedBefore
-
lastReactivatedAfter
-
lastReactivatedBy
-
callbackId
-
callbackType
-
referenceId
-
referenceType
-
completeable
protected boolean completeable -
tenantId
-
tenantIdLike
-
tenantIdLikeIgnoreCase
-
withoutTenantId
protected boolean withoutTenantId -
includeCaseVariables
protected boolean includeCaseVariables -
activePlanItemDefinitionId
-
activePlanItemDefinitionIds
-
involvedUser
-
involvedUserIdentityLink
-
involvedGroups
-
involvedGroupIdentityLink
-
orQueryObjects
-
currentOrQueryObject
-
inOrStatement
protected boolean inOrStatement -
locale
-
withLocalizationFallback
protected boolean withLocalizationFallback
-
-
Constructor Details
-
CaseInstanceQueryImpl
public CaseInstanceQueryImpl() -
CaseInstanceQueryImpl
public CaseInstanceQueryImpl(CommandContext commandContext, CmmnEngineConfiguration cmmnEngineConfiguration) -
CaseInstanceQueryImpl
public CaseInstanceQueryImpl(CommandExecutor commandExecutor, CmmnEngineConfiguration cmmnEngineConfiguration)
-
-
Method Details
-
ensureVariablesInitialized
protected void ensureVariablesInitialized()- Overrides:
ensureVariablesInitialized
in classAbstractVariableQueryImpl<CaseInstanceQuery,
CaseInstance>
-
caseDefinitionId
- Specified by:
caseDefinitionId
in interfaceCaseInstanceQuery
-
caseDefinitionIds
- Specified by:
caseDefinitionIds
in interfaceCaseInstanceQuery
-
caseDefinitionKey
- Specified by:
caseDefinitionKey
in interfaceCaseInstanceQuery
-
caseDefinitionKeyLike
- Specified by:
caseDefinitionKeyLike
in interfaceCaseInstanceQuery
-
caseDefinitionKeyLikeIgnoreCase
public CaseInstanceQueryImpl caseDefinitionKeyLikeIgnoreCase(String caseDefinitionKeyLikeIgnoreCase) - Specified by:
caseDefinitionKeyLikeIgnoreCase
in interfaceCaseInstanceQuery
-
caseDefinitionCategory
- Specified by:
caseDefinitionCategory
in interfaceCaseInstanceQuery
-
caseDefinitionCategoryLike
- Specified by:
caseDefinitionCategoryLike
in interfaceCaseInstanceQuery
-
caseDefinitionCategoryLikeIgnoreCase
public CaseInstanceQueryImpl caseDefinitionCategoryLikeIgnoreCase(String caseDefinitionCategoryLikeIgnoreCase) - Specified by:
caseDefinitionCategoryLikeIgnoreCase
in interfaceCaseInstanceQuery
-
caseDefinitionName
- Specified by:
caseDefinitionName
in interfaceCaseInstanceQuery
-
caseDefinitionNameLike
- Specified by:
caseDefinitionNameLike
in interfaceCaseInstanceQuery
-
caseDefinitionNameLikeIgnoreCase
public CaseInstanceQueryImpl caseDefinitionNameLikeIgnoreCase(String caseDefinitionNameLikeIgnoreCase) - Specified by:
caseDefinitionNameLikeIgnoreCase
in interfaceCaseInstanceQuery
-
caseDefinitionVersion
- Specified by:
caseDefinitionVersion
in interfaceCaseInstanceQuery
-
caseInstanceId
- Specified by:
caseInstanceId
in interfaceCaseInstanceQuery
-
caseInstanceIds
- Specified by:
caseInstanceIds
in interfaceCaseInstanceQuery
-
caseInstanceName
- Specified by:
caseInstanceName
in interfaceCaseInstanceQuery
-
caseInstanceNameLike
- Specified by:
caseInstanceNameLike
in interfaceCaseInstanceQuery
-
caseInstanceNameLikeIgnoreCase
- Specified by:
caseInstanceNameLikeIgnoreCase
in interfaceCaseInstanceQuery
-
caseInstanceRootScopeId
- Specified by:
caseInstanceRootScopeId
in interfaceCaseInstanceQuery
-
caseInstanceParentScopeId
- Specified by:
caseInstanceParentScopeId
in interfaceCaseInstanceQuery
-
caseInstanceBusinessKey
- Specified by:
caseInstanceBusinessKey
in interfaceCaseInstanceQuery
-
caseInstanceBusinessKeyLike
- Specified by:
caseInstanceBusinessKeyLike
in interfaceCaseInstanceQuery
-
caseInstanceBusinessKeyLikeIgnoreCase
public CaseInstanceQueryImpl caseInstanceBusinessKeyLikeIgnoreCase(String businessKeyLikeIgnoreCase) - Specified by:
caseInstanceBusinessKeyLikeIgnoreCase
in interfaceCaseInstanceQuery
-
caseInstanceBusinessStatus
- Specified by:
caseInstanceBusinessStatus
in interfaceCaseInstanceQuery
-
caseInstanceBusinessStatusLike
- Specified by:
caseInstanceBusinessStatusLike
in interfaceCaseInstanceQuery
-
caseInstanceBusinessStatusLikeIgnoreCase
public CaseInstanceQueryImpl caseInstanceBusinessStatusLikeIgnoreCase(String businessStatusLikeIgnoreCase) - Specified by:
caseInstanceBusinessStatusLikeIgnoreCase
in interfaceCaseInstanceQuery
-
caseDefinitionKeys
- Specified by:
caseDefinitionKeys
in interfaceCaseInstanceQuery
-
caseInstanceParentId
- Specified by:
caseInstanceParentId
in interfaceCaseInstanceQuery
-
caseInstanceStartedBefore
- Specified by:
caseInstanceStartedBefore
in interfaceCaseInstanceQuery
-
caseInstanceStartedAfter
- Specified by:
caseInstanceStartedAfter
in interfaceCaseInstanceQuery
-
caseInstanceStartedBy
- Specified by:
caseInstanceStartedBy
in interfaceCaseInstanceQuery
-
caseInstanceState
- Specified by:
caseInstanceState
in interfaceCaseInstanceQuery
-
caseInstanceLastReactivatedBefore
- Specified by:
caseInstanceLastReactivatedBefore
in interfaceCaseInstanceQuery
-
caseInstanceLastReactivatedAfter
- Specified by:
caseInstanceLastReactivatedAfter
in interfaceCaseInstanceQuery
-
caseInstanceLastReactivatedBy
- Specified by:
caseInstanceLastReactivatedBy
in interfaceCaseInstanceQuery
-
caseInstanceCallbackId
- Specified by:
caseInstanceCallbackId
in interfaceCaseInstanceQuery
-
caseInstanceCallbackType
- Specified by:
caseInstanceCallbackType
in interfaceCaseInstanceQuery
-
caseInstanceReferenceId
- Specified by:
caseInstanceReferenceId
in interfaceCaseInstanceQuery
-
caseInstanceReferenceType
- Specified by:
caseInstanceReferenceType
in interfaceCaseInstanceQuery
-
caseInstanceIsCompleteable
- Specified by:
caseInstanceIsCompleteable
in interfaceCaseInstanceQuery
-
caseInstanceTenantId
- Specified by:
caseInstanceTenantId
in interfaceCaseInstanceQuery
-
caseInstanceTenantIdLike
- Specified by:
caseInstanceTenantIdLike
in interfaceCaseInstanceQuery
-
caseInstanceTenantIdLikeIgnoreCase
- Specified by:
caseInstanceTenantIdLikeIgnoreCase
in interfaceCaseInstanceQuery
-
caseInstanceWithoutTenantId
- Specified by:
caseInstanceWithoutTenantId
in interfaceCaseInstanceQuery
-
activePlanItemDefinitionId
Description copied from interface:CaseInstanceQuery
Select the case instances with an active plan item definition id equal to the provided definition id.- Specified by:
activePlanItemDefinitionId
in interfaceCaseInstanceQuery
-
activePlanItemDefinitionIds
Description copied from interface:CaseInstanceQuery
Select the case instances with an active plan item definition id equal to one of the provided definition ids.- Specified by:
activePlanItemDefinitionIds
in interfaceCaseInstanceQuery
-
involvedUser
Description copied from interface:CaseInstanceQuery
Select the case instances with which the user with the given id is involved.- Specified by:
involvedUser
in interfaceCaseInstanceQuery
-
involvedUser
Description copied from interface:CaseInstanceQuery
Select the case instances with which the user with the given id and identity link type are involved.- Specified by:
involvedUser
in interfaceCaseInstanceQuery
-
involvedGroup
Description copied from interface:CaseInstanceQuery
Select the case instances with which the group with the given id and identity link type are involved.- Specified by:
involvedGroup
in interfaceCaseInstanceQuery
-
involvedGroups
Description copied from interface:CaseInstanceQuery
Select the case instances with which the groups with the given ids are involved.- Specified by:
involvedGroups
in interfaceCaseInstanceQuery
-
or
Description copied from interface:CaseInstanceQuery
Begin an OR statement. Make sure you invoke the endOr method at the end of your OR statement.- Specified by:
or
in interfaceCaseInstanceQuery
-
endOr
Description copied from interface:CaseInstanceQuery
End an OR statement.- Specified by:
endOr
in interfaceCaseInstanceQuery
-
variableValueEquals
Description copied from interface:CaseInstanceQuery
Only select case instances which have a global variable with the given value. The type of variable is determined based on the value. Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
variableValueEquals
in interfaceCaseInstanceQuery
- Overrides:
variableValueEquals
in classAbstractVariableQueryImpl<CaseInstanceQuery,
CaseInstance> - Parameters:
variableName
- name of the variable, cannot be null.
-
variableValueNotEquals
Description copied from interface:CaseInstanceQuery
Only select case instances which have a global variable with the given name, but with a different value than the passed value. Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
variableValueNotEquals
in interfaceCaseInstanceQuery
- Overrides:
variableValueNotEquals
in classAbstractVariableQueryImpl<CaseInstanceQuery,
CaseInstance> - Parameters:
variableName
- name of the variable, cannot be null.
-
variableValueEquals
Description copied from interface:CaseInstanceQuery
Only select case instances which have at least one global variable with the given value. The type of variable is determined based on the value. Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
variableValueEquals
in interfaceCaseInstanceQuery
- Overrides:
variableValueEquals
in classAbstractVariableQueryImpl<CaseInstanceQuery,
CaseInstance>
-
variableValueEqualsIgnoreCase
Description copied from interface:CaseInstanceQuery
Only select case instances which have a local string variable with the given value, case insensitive.This method only works if your database has encoding/collation that supports case-sensitive queries. For example, use "collate UTF-8" on MySQL and for MSSQL, select one of the case-sensitive Collations available (MSDN Server Collation Reference).
- Specified by:
variableValueEqualsIgnoreCase
in interfaceCaseInstanceQuery
- Overrides:
variableValueEqualsIgnoreCase
in classAbstractVariableQueryImpl<CaseInstanceQuery,
CaseInstance> - Parameters:
name
- name of the variable, cannot be null.value
- value of the variable, cannot be null.
-
variableValueNotEqualsIgnoreCase
Description copied from interface:CaseInstanceQuery
Only select case instances which have a local string variable which is not the given value, case insensitive.This method only works if your database has encoding/collation that supports case-sensitive queries. For example, use "collate UTF-8" on MySQL and for MSSQL, select one of the case-sensitive Collations available (MSDN Server Collation Reference).
- Specified by:
variableValueNotEqualsIgnoreCase
in interfaceCaseInstanceQuery
- Overrides:
variableValueNotEqualsIgnoreCase
in classAbstractVariableQueryImpl<CaseInstanceQuery,
CaseInstance> - Parameters:
name
- name of the variable, cannot be null.value
- value of the variable, cannot be null.
-
variableValueGreaterThan
Description copied from interface:CaseInstanceQuery
Only select case instances which have a variable value greater than the passed value. Booleans, Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
variableValueGreaterThan
in interfaceCaseInstanceQuery
- Overrides:
variableValueGreaterThan
in classAbstractVariableQueryImpl<CaseInstanceQuery,
CaseInstance> - Parameters:
name
- variable name, cannot be null.value
- variable value, cannot be null.
-
variableValueGreaterThanOrEqual
Description copied from interface:CaseInstanceQuery
Only select case instances which have a global variable value greater than or equal to the passed value. Booleans, Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
variableValueGreaterThanOrEqual
in interfaceCaseInstanceQuery
- Overrides:
variableValueGreaterThanOrEqual
in classAbstractVariableQueryImpl<CaseInstanceQuery,
CaseInstance> - Parameters:
name
- variable name, cannot be null.value
- variable value, cannot be null.
-
variableValueLessThan
Description copied from interface:CaseInstanceQuery
Only select case instances which have a global variable value less than the passed value. Booleans, Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
variableValueLessThan
in interfaceCaseInstanceQuery
- Overrides:
variableValueLessThan
in classAbstractVariableQueryImpl<CaseInstanceQuery,
CaseInstance> - Parameters:
name
- variable name, cannot be null.value
- variable value, cannot be null.
-
variableValueLessThanOrEqual
Description copied from interface:CaseInstanceQuery
Only select case instances which have a global variable value less than or equal to the passed value. Booleans, Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
variableValueLessThanOrEqual
in interfaceCaseInstanceQuery
- Overrides:
variableValueLessThanOrEqual
in classAbstractVariableQueryImpl<CaseInstanceQuery,
CaseInstance> - Parameters:
name
- variable name, cannot be null.value
- variable value, cannot be null.
-
variableValueLike
Description copied from interface:CaseInstanceQuery
Only select case instances which have a global variable value like the given value. This be used on string variables only.- Specified by:
variableValueLike
in interfaceCaseInstanceQuery
- Overrides:
variableValueLike
in classAbstractVariableQueryImpl<CaseInstanceQuery,
CaseInstance> - Parameters:
name
- variable name, cannot be null.value
- variable value, cannot be null. The string can include the wildcard character '%' to express like-strategy: starts with (string%), ends with (%string) or contains (%string%).
-
variableValueLikeIgnoreCase
Description copied from interface:CaseInstanceQuery
Only select case instances which have a global variable value like the given value (case insensitive). This be used on string variables only.- Specified by:
variableValueLikeIgnoreCase
in interfaceCaseInstanceQuery
- Overrides:
variableValueLikeIgnoreCase
in classAbstractVariableQueryImpl<CaseInstanceQuery,
CaseInstance> - Parameters:
name
- variable name, cannot be null.value
- variable value, cannot be null. The string can include the wildcard character '%' to express like-strategy: starts with (string%), ends with (%string) or contains (%string%).
-
variableExists
Description copied from interface:CaseInstanceQuery
Only select case instances which have a variable with the given name.- Specified by:
variableExists
in interfaceCaseInstanceQuery
- Overrides:
variableExists
in classAbstractVariableQueryImpl<CaseInstanceQuery,
CaseInstance> - Parameters:
name
- cannot be null.
-
variableNotExists
Description copied from interface:CaseInstanceQuery
Only select case instances which don't have a variable with the given name.- Specified by:
variableNotExists
in interfaceCaseInstanceQuery
- Overrides:
variableNotExists
in classAbstractVariableQueryImpl<CaseInstanceQuery,
CaseInstance> - Parameters:
name
- cannot be null.
-
orderByCaseInstanceId
- Specified by:
orderByCaseInstanceId
in interfaceCaseInstanceQuery
-
orderByCaseDefinitionId
- Specified by:
orderByCaseDefinitionId
in interfaceCaseInstanceQuery
-
orderByCaseDefinitionKey
- Specified by:
orderByCaseDefinitionKey
in interfaceCaseInstanceQuery
-
orderByStartTime
- Specified by:
orderByStartTime
in interfaceCaseInstanceQuery
-
orderByTenantId
- Specified by:
orderByTenantId
in interfaceCaseInstanceQuery
-
includeCaseVariables
Description copied from interface:CaseInstanceQuery
Includes case variables into the query result.- Specified by:
includeCaseVariables
in interfaceCaseInstanceQuery
- Returns:
- caseInstanceQuery with the flag to retrieve case variables into the response.
-
locale
Description copied from interface:CaseInstanceQuery
Localize case name to specified locale.- Specified by:
locale
in interfaceCaseInstanceQuery
-
withLocalizationFallback
Description copied from interface:CaseInstanceQuery
Instruct localization to fallback to more general locales including the default locale of the JVM if the specified locale is not found.- Specified by:
withLocalizationFallback
in interfaceCaseInstanceQuery
-
executeCount
- Specified by:
executeCount
in classAbstractVariableQueryImpl<CaseInstanceQuery,
CaseInstance>
-
executeList
Description copied from class:AbstractQuery
Executes the actual query to retrieve the list of results.- Specified by:
executeList
in classAbstractVariableQueryImpl<CaseInstanceQuery,
CaseInstance>
-
enhanceCachedValue
- Specified by:
enhanceCachedValue
in interfaceCacheAwareQuery<CaseInstanceEntity>
-
getCaseDefinitionKey
-
getCaseDefinitionKeyLike
-
getCaseDefinitionKeyLikeIgnoreCase
-
getCaseDefinitionId
-
getCaseDefinitionCategory
-
getCaseDefinitionCategoryLike
-
getCaseDefinitionCategoryLikeIgnoreCase
-
getCaseDefinitionName
-
getCaseDefinitionNameLike
-
getCaseDefinitionNameLikeIgnoreCase
-
getCaseDefinitionVersion
-
getCaseInstanceId
-
getId
- Specified by:
getId
in interfaceCacheAwareQuery<CaseInstanceEntity>
-
getCaseInstanceIds
-
getBusinessKey
-
getBusinessKeyLike
-
getBusinessKeyLikeIgnoreCase
-
getBusinessStatus
-
getBusinessStatusLike
-
getBusinessStatusLikeIgnoreCase
-
getLastReactivatedBefore
-
getLastReactivatedAfter
-
getLastReactivatedBy
-
getExecutionId
-
getCaseDefinitionIds
-
getCaseDefinitionKeys
-
getParentId
-
getCaseInstanceParentPlanItemInstanceId
-
getCaseInstanceParentId
-
getStartedBefore
-
getStartedAfter
-
getStartedBy
-
getState
-
getCallbackId
-
getCallbackType
-
getReferenceId
-
getReferenceType
-
isCompleteable
public boolean isCompleteable() -
getTenantId
-
getTenantIdLike
-
getTenantIdLikeIgnoreCase
-
isWithoutTenantId
public boolean isWithoutTenantId() -
getActivePlanItemDefinitionId
-
getActivePlanItemDefinitionIds
-
getInvolvedUser
-
getInvolvedUserIdentityLink
-
getInvolvedGroupIdentityLink
-
getInvolvedGroups
-
isIncludeCaseVariables
public boolean isIncludeCaseVariables() -
isNeedsCaseDefinitionOuterJoin
public boolean isNeedsCaseDefinitionOuterJoin() -
getOrQueryObjects
-
getSafeInvolvedGroups
-
setSafeInvolvedGroups
-