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.ResultTypeNested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
Query.NullHandlingOnOrder -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Integerprotected Stringprotected Stringprotected Stringprotected CmmnEngineConfigurationprotected booleanprotected CaseInstanceQueryImplprotected booleanprotected booleanprotected IdentityLinkQueryObjectprotected Stringprotected IdentityLinkQueryObjectprotected Dateprotected Dateprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected List<CaseInstanceQueryImpl>protected Stringprotected Stringprotected Stringprotected Stringprotected Dateprotected Dateprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected booleanprotected booleanFields inherited from class org.flowable.variable.service.impl.AbstractVariableQueryImpl
queryVariableValues, variableValueProviderFields inherited from class org.flowable.common.engine.impl.query.AbstractQuery
commandContext, commandExecutorFields 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.voidenhanceCachedValue(CaseInstanceEntity caseInstance) protected voidlongexecuteCount(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.booleanbooleanbooleanbooleanLocalize case name to specified locale.or()Begin an OR statement.voidsetSafeInvolvedGroups(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, variableValueNotEqualsIgnoreCaseMethods inherited from class org.flowable.common.engine.impl.query.AbstractQuery
asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, list, listPage, orderBy, orderBy, setCommandExecutor, singleResultMethods 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:
ensureVariablesInitializedin classAbstractVariableQueryImpl<CaseInstanceQuery,CaseInstance>
-
caseDefinitionId
- Specified by:
caseDefinitionIdin interfaceCaseInstanceQuery
-
caseDefinitionIds
- Specified by:
caseDefinitionIdsin interfaceCaseInstanceQuery
-
caseDefinitionKey
- Specified by:
caseDefinitionKeyin interfaceCaseInstanceQuery
-
caseDefinitionKeyLike
- Specified by:
caseDefinitionKeyLikein interfaceCaseInstanceQuery
-
caseDefinitionKeyLikeIgnoreCase
public CaseInstanceQueryImpl caseDefinitionKeyLikeIgnoreCase(String caseDefinitionKeyLikeIgnoreCase) - Specified by:
caseDefinitionKeyLikeIgnoreCasein interfaceCaseInstanceQuery
-
caseDefinitionCategory
- Specified by:
caseDefinitionCategoryin interfaceCaseInstanceQuery
-
caseDefinitionCategoryLike
- Specified by:
caseDefinitionCategoryLikein interfaceCaseInstanceQuery
-
caseDefinitionCategoryLikeIgnoreCase
public CaseInstanceQueryImpl caseDefinitionCategoryLikeIgnoreCase(String caseDefinitionCategoryLikeIgnoreCase) - Specified by:
caseDefinitionCategoryLikeIgnoreCasein interfaceCaseInstanceQuery
-
caseDefinitionName
- Specified by:
caseDefinitionNamein interfaceCaseInstanceQuery
-
caseDefinitionNameLike
- Specified by:
caseDefinitionNameLikein interfaceCaseInstanceQuery
-
caseDefinitionNameLikeIgnoreCase
public CaseInstanceQueryImpl caseDefinitionNameLikeIgnoreCase(String caseDefinitionNameLikeIgnoreCase) - Specified by:
caseDefinitionNameLikeIgnoreCasein interfaceCaseInstanceQuery
-
caseDefinitionVersion
- Specified by:
caseDefinitionVersionin interfaceCaseInstanceQuery
-
caseInstanceId
- Specified by:
caseInstanceIdin interfaceCaseInstanceQuery
-
caseInstanceIds
- Specified by:
caseInstanceIdsin interfaceCaseInstanceQuery
-
caseInstanceName
- Specified by:
caseInstanceNamein interfaceCaseInstanceQuery
-
caseInstanceNameLike
- Specified by:
caseInstanceNameLikein interfaceCaseInstanceQuery
-
caseInstanceNameLikeIgnoreCase
- Specified by:
caseInstanceNameLikeIgnoreCasein interfaceCaseInstanceQuery
-
caseInstanceRootScopeId
- Specified by:
caseInstanceRootScopeIdin interfaceCaseInstanceQuery
-
caseInstanceParentScopeId
- Specified by:
caseInstanceParentScopeIdin interfaceCaseInstanceQuery
-
caseInstanceBusinessKey
- Specified by:
caseInstanceBusinessKeyin interfaceCaseInstanceQuery
-
caseInstanceBusinessKeyLike
- Specified by:
caseInstanceBusinessKeyLikein interfaceCaseInstanceQuery
-
caseInstanceBusinessKeyLikeIgnoreCase
public CaseInstanceQueryImpl caseInstanceBusinessKeyLikeIgnoreCase(String businessKeyLikeIgnoreCase) - Specified by:
caseInstanceBusinessKeyLikeIgnoreCasein interfaceCaseInstanceQuery
-
caseInstanceBusinessStatus
- Specified by:
caseInstanceBusinessStatusin interfaceCaseInstanceQuery
-
caseInstanceBusinessStatusLike
- Specified by:
caseInstanceBusinessStatusLikein interfaceCaseInstanceQuery
-
caseInstanceBusinessStatusLikeIgnoreCase
public CaseInstanceQueryImpl caseInstanceBusinessStatusLikeIgnoreCase(String businessStatusLikeIgnoreCase) - Specified by:
caseInstanceBusinessStatusLikeIgnoreCasein interfaceCaseInstanceQuery
-
caseDefinitionKeys
- Specified by:
caseDefinitionKeysin interfaceCaseInstanceQuery
-
caseInstanceParentId
- Specified by:
caseInstanceParentIdin interfaceCaseInstanceQuery
-
caseInstanceStartedBefore
- Specified by:
caseInstanceStartedBeforein interfaceCaseInstanceQuery
-
caseInstanceStartedAfter
- Specified by:
caseInstanceStartedAfterin interfaceCaseInstanceQuery
-
caseInstanceStartedBy
- Specified by:
caseInstanceStartedByin interfaceCaseInstanceQuery
-
caseInstanceState
- Specified by:
caseInstanceStatein interfaceCaseInstanceQuery
-
caseInstanceLastReactivatedBefore
- Specified by:
caseInstanceLastReactivatedBeforein interfaceCaseInstanceQuery
-
caseInstanceLastReactivatedAfter
- Specified by:
caseInstanceLastReactivatedAfterin interfaceCaseInstanceQuery
-
caseInstanceLastReactivatedBy
- Specified by:
caseInstanceLastReactivatedByin interfaceCaseInstanceQuery
-
caseInstanceCallbackId
- Specified by:
caseInstanceCallbackIdin interfaceCaseInstanceQuery
-
caseInstanceCallbackType
- Specified by:
caseInstanceCallbackTypein interfaceCaseInstanceQuery
-
caseInstanceReferenceId
- Specified by:
caseInstanceReferenceIdin interfaceCaseInstanceQuery
-
caseInstanceReferenceType
- Specified by:
caseInstanceReferenceTypein interfaceCaseInstanceQuery
-
caseInstanceIsCompleteable
- Specified by:
caseInstanceIsCompleteablein interfaceCaseInstanceQuery
-
caseInstanceTenantId
- Specified by:
caseInstanceTenantIdin interfaceCaseInstanceQuery
-
caseInstanceTenantIdLike
- Specified by:
caseInstanceTenantIdLikein interfaceCaseInstanceQuery
-
caseInstanceTenantIdLikeIgnoreCase
- Specified by:
caseInstanceTenantIdLikeIgnoreCasein interfaceCaseInstanceQuery
-
caseInstanceWithoutTenantId
- Specified by:
caseInstanceWithoutTenantIdin interfaceCaseInstanceQuery
-
activePlanItemDefinitionId
Description copied from interface:CaseInstanceQuerySelect the case instances with an active plan item definition id equal to the provided definition id.- Specified by:
activePlanItemDefinitionIdin interfaceCaseInstanceQuery
-
activePlanItemDefinitionIds
Description copied from interface:CaseInstanceQuerySelect the case instances with an active plan item definition id equal to one of the provided definition ids.- Specified by:
activePlanItemDefinitionIdsin interfaceCaseInstanceQuery
-
involvedUser
Description copied from interface:CaseInstanceQuerySelect the case instances with which the user with the given id is involved.- Specified by:
involvedUserin interfaceCaseInstanceQuery
-
involvedUser
Description copied from interface:CaseInstanceQuerySelect the case instances with which the user with the given id and identity link type are involved.- Specified by:
involvedUserin interfaceCaseInstanceQuery
-
involvedGroup
Description copied from interface:CaseInstanceQuerySelect the case instances with which the group with the given id and identity link type are involved.- Specified by:
involvedGroupin interfaceCaseInstanceQuery
-
involvedGroups
Description copied from interface:CaseInstanceQuerySelect the case instances with which the groups with the given ids are involved.- Specified by:
involvedGroupsin interfaceCaseInstanceQuery
-
or
Description copied from interface:CaseInstanceQueryBegin an OR statement. Make sure you invoke the endOr method at the end of your OR statement.- Specified by:
orin interfaceCaseInstanceQuery
-
endOr
Description copied from interface:CaseInstanceQueryEnd an OR statement.- Specified by:
endOrin interfaceCaseInstanceQuery
-
variableValueEquals
Description copied from interface:CaseInstanceQueryOnly select case instances which have a global variable with the given value. The type of variable is determined based on the value. Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
variableValueEqualsin interfaceCaseInstanceQuery- Overrides:
variableValueEqualsin classAbstractVariableQueryImpl<CaseInstanceQuery,CaseInstance> - Parameters:
variableName- name of the variable, cannot be null.
-
variableValueNotEquals
Description copied from interface:CaseInstanceQueryOnly select case instances which have a global variable with the given name, but with a different value than the passed value. Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
variableValueNotEqualsin interfaceCaseInstanceQuery- Overrides:
variableValueNotEqualsin classAbstractVariableQueryImpl<CaseInstanceQuery,CaseInstance> - Parameters:
variableName- name of the variable, cannot be null.
-
variableValueEquals
Description copied from interface:CaseInstanceQueryOnly 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 andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
variableValueEqualsin interfaceCaseInstanceQuery- Overrides:
variableValueEqualsin classAbstractVariableQueryImpl<CaseInstanceQuery,CaseInstance>
-
variableValueEqualsIgnoreCase
Description copied from interface:CaseInstanceQueryOnly 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:
variableValueEqualsIgnoreCasein interfaceCaseInstanceQuery- Overrides:
variableValueEqualsIgnoreCasein 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:CaseInstanceQueryOnly 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:
variableValueNotEqualsIgnoreCasein interfaceCaseInstanceQuery- Overrides:
variableValueNotEqualsIgnoreCasein 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:CaseInstanceQueryOnly select case instances which have a variable value greater than the passed value. Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
variableValueGreaterThanin interfaceCaseInstanceQuery- Overrides:
variableValueGreaterThanin classAbstractVariableQueryImpl<CaseInstanceQuery,CaseInstance> - Parameters:
name- variable name, cannot be null.value- variable value, cannot be null.
-
variableValueGreaterThanOrEqual
Description copied from interface:CaseInstanceQueryOnly select case instances which have a global variable value greater than or equal to the passed value. Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
variableValueGreaterThanOrEqualin interfaceCaseInstanceQuery- Overrides:
variableValueGreaterThanOrEqualin classAbstractVariableQueryImpl<CaseInstanceQuery,CaseInstance> - Parameters:
name- variable name, cannot be null.value- variable value, cannot be null.
-
variableValueLessThan
Description copied from interface:CaseInstanceQueryOnly select case instances which have a global variable value less than the passed value. Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
variableValueLessThanin interfaceCaseInstanceQuery- Overrides:
variableValueLessThanin classAbstractVariableQueryImpl<CaseInstanceQuery,CaseInstance> - Parameters:
name- variable name, cannot be null.value- variable value, cannot be null.
-
variableValueLessThanOrEqual
Description copied from interface:CaseInstanceQueryOnly select case instances which have a global variable value less than or equal to the passed value. Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
variableValueLessThanOrEqualin interfaceCaseInstanceQuery- Overrides:
variableValueLessThanOrEqualin classAbstractVariableQueryImpl<CaseInstanceQuery,CaseInstance> - Parameters:
name- variable name, cannot be null.value- variable value, cannot be null.
-
variableValueLike
Description copied from interface:CaseInstanceQueryOnly select case instances which have a global variable value like the given value. This be used on string variables only.- Specified by:
variableValueLikein interfaceCaseInstanceQuery- Overrides:
variableValueLikein 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:CaseInstanceQueryOnly select case instances which have a global variable value like the given value (case insensitive). This be used on string variables only.- Specified by:
variableValueLikeIgnoreCasein interfaceCaseInstanceQuery- Overrides:
variableValueLikeIgnoreCasein 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:CaseInstanceQueryOnly select case instances which have a variable with the given name.- Specified by:
variableExistsin interfaceCaseInstanceQuery- Overrides:
variableExistsin classAbstractVariableQueryImpl<CaseInstanceQuery,CaseInstance> - Parameters:
name- cannot be null.
-
variableNotExists
Description copied from interface:CaseInstanceQueryOnly select case instances which don't have a variable with the given name.- Specified by:
variableNotExistsin interfaceCaseInstanceQuery- Overrides:
variableNotExistsin classAbstractVariableQueryImpl<CaseInstanceQuery,CaseInstance> - Parameters:
name- cannot be null.
-
orderByCaseInstanceId
- Specified by:
orderByCaseInstanceIdin interfaceCaseInstanceQuery
-
orderByCaseDefinitionId
- Specified by:
orderByCaseDefinitionIdin interfaceCaseInstanceQuery
-
orderByCaseDefinitionKey
- Specified by:
orderByCaseDefinitionKeyin interfaceCaseInstanceQuery
-
orderByStartTime
- Specified by:
orderByStartTimein interfaceCaseInstanceQuery
-
orderByTenantId
- Specified by:
orderByTenantIdin interfaceCaseInstanceQuery
-
includeCaseVariables
Description copied from interface:CaseInstanceQueryIncludes case variables into the query result.- Specified by:
includeCaseVariablesin interfaceCaseInstanceQuery- Returns:
- caseInstanceQuery with the flag to retrieve case variables into the response.
-
locale
Description copied from interface:CaseInstanceQueryLocalize case name to specified locale.- Specified by:
localein interfaceCaseInstanceQuery
-
withLocalizationFallback
Description copied from interface:CaseInstanceQueryInstruct localization to fallback to more general locales including the default locale of the JVM if the specified locale is not found.- Specified by:
withLocalizationFallbackin interfaceCaseInstanceQuery
-
executeCount
- Specified by:
executeCountin classAbstractVariableQueryImpl<CaseInstanceQuery,CaseInstance>
-
executeList
Description copied from class:AbstractQueryExecutes the actual query to retrieve the list of results.- Specified by:
executeListin classAbstractVariableQueryImpl<CaseInstanceQuery,CaseInstance>
-
enhanceCachedValue
- Specified by:
enhanceCachedValuein interfaceCacheAwareQuery<CaseInstanceEntity>
-
getCaseDefinitionKey
-
getCaseDefinitionKeyLike
-
getCaseDefinitionKeyLikeIgnoreCase
-
getCaseDefinitionId
-
getCaseDefinitionCategory
-
getCaseDefinitionCategoryLike
-
getCaseDefinitionCategoryLikeIgnoreCase
-
getCaseDefinitionName
-
getCaseDefinitionNameLike
-
getCaseDefinitionNameLikeIgnoreCase
-
getCaseDefinitionVersion
-
getCaseInstanceId
-
getId
- Specified by:
getIdin 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
-