Class PlanItemInstanceQueryImpl
- All Implemented Interfaces:
Serializable,PlanItemInstanceQuery,CacheAwareQuery<PlanItemInstanceEntity>,Query<PlanItemInstanceQuery,,PlanItemInstance> Command<Object>
- Author:
- Joram Barrez
- 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 CmmnEngineConfigurationprotected booleanprotected Dateprotected Dateprotected Stringprotected Dateprotected Dateprotected PlanItemInstanceQueryImplprotected Stringprotected Stringprotected booleanprotected Dateprotected Dateprotected Stringprotected Dateprotected Dateprotected Stringprotected Stringprotected Stringprotected booleanprotected booleanprotected booleanprotected Collection<String>protected Stringprotected Dateprotected Dateprotected Dateprotected Dateprotected Dateprotected Dateprotected Dateprotected Dateprotected Dateprotected Dateprotected Dateprotected Dateprotected Stringprotected Stringprotected Dateprotected Dateprotected booleanprotected List<PlanItemInstanceQueryImpl>protected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Dateprotected Dateprotected 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, ignoreOrderBy, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC -
Constructor Summary
ConstructorsConstructorDescriptionPlanItemInstanceQueryImpl(CommandContext commandContext, CmmnEngineConfiguration cmmnEngineConfiguration) PlanItemInstanceQueryImpl(CommandExecutor commandExecutor, CmmnEngineConfiguration cmmnEngineConfiguration) -
Method Summary
Modifier and TypeMethodDescriptioncaseDefinitionId(String caseDefinitionId) caseInstanceId(String caseInstanceId) caseVariableExists(String name) Only select plan item instances which have a global variable with the given name.caseVariableNotExists(String name) Only select plan item instances which don't have a global variable with the given name.caseVariableValueEquals(Object value) Only select plan item instances which have at least one global variable with the given value.caseVariableValueEquals(String name, Object value) Only select plan item instances which have a global variable with the given value.caseVariableValueEqualsIgnoreCase(String name, String value) Only select plan item instances which have a global string variable with the given value, case insensitive.caseVariableValueGreaterThan(String name, Object value) Only select plan item instances which have a global variable value greater than the passed value.caseVariableValueGreaterThanOrEqual(String name, Object value) Only select plan item instances which have a global variable value greater than or equal to the passed value.caseVariableValueLessThan(String name, Object value) Only select plan item instances which have a global variable value less than the passed value.caseVariableValueLessThanOrEqual(String name, Object value) Only select plan item instances which have a global variable value less than or equal to the passed value.caseVariableValueLike(String name, String value) Only select plan item instances which have a global variable value like the given value.caseVariableValueLikeIgnoreCase(String name, String value) Only select plan item instances which have a global variable value like the given value (case insensitive).caseVariableValueNotEquals(String name, Object value) Only select plan item instances which have a global variable with the given name, but with a different value than the passed value.caseVariableValueNotEqualsIgnoreCase(String name, String value) Only select plan item instances which have a global string variable which is not the given value, case insensitive.derivedCaseDefinitionId(String derivedCaseDefinitionId) ended()endOr()End an OR statement.protected voidlongexecuteCount(CommandContext commandContext) executeList(CommandContext commandContext) Executes the actual query to retrieve the list of results.getId()getName()getState()Include local plan item instance variables in the query resultinvolvedGroups(Collection<String> involvedGroups) involvedUser(String involvedUser) booleanbooleanisEnded()booleanbooleanbooleanbooleanLocalize plan item name to specified locale.or()Begin an OR statement.planItemDefinitionId(String planItemDefinitionId) planItemDefinitionType(String planItemDefinitionType) planItemDefinitionTypes(List<String> planItemDefinitionTypes) planItemInstanceAssignee(String assignee) planItemInstanceCompletedAfter(Date completedAfter) planItemInstanceCompletedBefore(Date completedBefore) planItemInstanceCompletedBy(String completedBy) planItemInstanceCreatedAfter(Date createdAfter) planItemInstanceCreatedBefore(Date createdBefore) planItemInstanceElementId(String elementId) planItemInstanceEndedAfter(Date endedAfter) planItemInstanceEndedBefore(Date endedBefore) planItemInstanceEntryCriterionId(String entryCriterionId) planItemInstanceExitAfter(Date exitAfter) planItemInstanceExitBefore(Date exitBefore) planItemInstanceExitCriterionId(String exitCriterionId) planItemInstanceExtraValue(String extraValue) planItemInstanceFormKey(String formKey) planItemInstanceId(String planItemInstanceId) planItemInstanceLastAvailableAfter(Date availableAfter) planItemInstanceLastAvailableBefore(Date availableBefore) planItemInstanceLastDisabledAfter(Date disabledAfter) planItemInstanceLastDisabledBefore(Date disabledBefore) planItemInstanceLastEnabledAfter(Date enabledAfter) planItemInstanceLastEnabledBefore(Date enabledBefore) planItemInstanceLastStartedAfter(Date startedAfter) planItemInstanceLastStartedBefore(Date startedBefore) planItemInstanceLastSuspendedAfter(Date suspendedAfter) planItemInstanceLastSuspendedBefore(Date suspendedBefore) planItemInstanceLastUnavailableAfter(Date unavailableAfter) planItemInstanceLastUnavailableBefore(Date unavailableBefore) planItemInstanceName(String name) planItemInstanceOccurredAfter(Date occurredAfter) planItemInstanceOccurredBefore(Date occurredBefore) planItemInstanceReferenceId(String referenceId) planItemInstanceReferenceType(String referenceType) planItemInstanceStartUserId(String startUserId) planItemInstanceState(String state) planItemInstanceTenantId(String tenantId) planItemInstanceTerminatedAfter(Date terminatedAfter) planItemInstanceTerminatedBefore(Date terminatedBefore) voidsetSafeInvolvedGroups(List<List<String>> safeInvolvedGroups) stageInstanceId(String stageInstanceId) variableExists(String name) Only select plan item instances which have a local variable with the given name.variableNotExists(String name) Only select plan item instances which don't have a local variable with the given name.variableValueEquals(Object value) Only select plan item instances which have at least one local variable with the given value.variableValueEquals(String name, Object value) Only select plan item instances which have a local variable with the given value.variableValueEqualsIgnoreCase(String name, String value) Only select plan item instances which have a local string variable with the given value, case insensitive.variableValueGreaterThan(String name, Object value) Only select plan item instances which have a local variable value greater than the passed value.variableValueGreaterThanOrEqual(String name, Object value) Only select plan item instances which have a local variable value greater than or equal to the passed value.variableValueLessThan(String name, Object value) Only select plan item instances which have a local variable value less than the passed value.variableValueLessThanOrEqual(String name, Object value) Only select plan item instances which have a local variable value less than or equal to the passed value.variableValueLike(String name, String value) Only select plan item instances which have a local variable value like the given value.variableValueLikeIgnoreCase(String name, String value) Only select plan item instances which have a local variable value like the given value (case insensitive).variableValueNotEquals(String name, Object value) Only select plan item instances which have a local variable with the given name, but with a different value than the passed value.variableValueNotEqualsIgnoreCase(String name, String value) Only select plan item 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, getSafeList, 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, setIgnoreOrderBy, setMaxResults, setNullHandlingColumn, setParameterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.flowable.common.engine.api.query.CacheAwareQuery
enhanceCachedValue
-
Field Details
-
cmmnEngineConfiguration
-
caseDefinitionId
-
derivedCaseDefinitionId
-
caseInstanceId
-
stageInstanceId
-
planItemInstanceId
-
elementId
-
planItemDefinitionId
-
planItemDefinitionType
-
planItemDefinitionTypes
-
name
-
state
-
createdBefore
-
createdAfter
-
lastAvailableBefore
-
lastAvailableAfter
-
lastEnabledBefore
-
lastEnabledAfter
-
lastDisabledBefore
-
lastDisabledAfter
-
lastStartedBefore
-
lastStartedAfter
-
lastSuspendedBefore
-
lastSuspendedAfter
-
completedBefore
-
completedAfter
-
terminatedBefore
-
terminatedAfter
-
occurredBefore
-
occurredAfter
-
exitBefore
-
exitAfter
-
endedBefore
-
endedAfter
-
ended
protected boolean ended -
includeEnded
protected boolean includeEnded -
startUserId
-
assignee
-
completedBy
-
referenceId
-
referenceType
-
completable
protected boolean completable -
onlyStages
protected boolean onlyStages -
entryCriterionId
-
exitCriterionId
-
formKey
-
extraValue
-
involvedUser
-
involvedGroups
-
tenantId
-
withoutTenantId
protected boolean withoutTenantId -
locale
-
withLocalizationFallback
protected boolean withLocalizationFallback -
includeLocalVariables
protected boolean includeLocalVariables -
orQueryObjects
-
currentOrQueryObject
-
inOrStatement
protected boolean inOrStatement
-
-
Constructor Details
-
PlanItemInstanceQueryImpl
public PlanItemInstanceQueryImpl() -
PlanItemInstanceQueryImpl
public PlanItemInstanceQueryImpl(CommandContext commandContext, CmmnEngineConfiguration cmmnEngineConfiguration) -
PlanItemInstanceQueryImpl
public PlanItemInstanceQueryImpl(CommandExecutor commandExecutor, CmmnEngineConfiguration cmmnEngineConfiguration)
-
-
Method Details
-
caseDefinitionId
- Specified by:
caseDefinitionIdin interfacePlanItemInstanceQuery
-
derivedCaseDefinitionId
- Specified by:
derivedCaseDefinitionIdin interfacePlanItemInstanceQuery
-
caseInstanceId
- Specified by:
caseInstanceIdin interfacePlanItemInstanceQuery
-
stageInstanceId
- Specified by:
stageInstanceIdin interfacePlanItemInstanceQuery
-
planItemInstanceId
- Specified by:
planItemInstanceIdin interfacePlanItemInstanceQuery
-
planItemInstanceElementId
- Specified by:
planItemInstanceElementIdin interfacePlanItemInstanceQuery
-
planItemDefinitionId
- Specified by:
planItemDefinitionIdin interfacePlanItemInstanceQuery
-
planItemDefinitionType
- Specified by:
planItemDefinitionTypein interfacePlanItemInstanceQuery
-
planItemDefinitionTypes
- Specified by:
planItemDefinitionTypesin interfacePlanItemInstanceQuery
-
planItemInstanceName
- Specified by:
planItemInstanceNamein interfacePlanItemInstanceQuery
-
planItemInstanceState
- Specified by:
planItemInstanceStatein interfacePlanItemInstanceQuery
-
planItemInstanceStateWaitingForRepetition
- Specified by:
planItemInstanceStateWaitingForRepetitionin interfacePlanItemInstanceQuery
-
planItemInstanceStateActive
- Specified by:
planItemInstanceStateActivein interfacePlanItemInstanceQuery
-
planItemInstanceStateEnabled
- Specified by:
planItemInstanceStateEnabledin interfacePlanItemInstanceQuery
-
planItemInstanceStateDisabled
- Specified by:
planItemInstanceStateDisabledin interfacePlanItemInstanceQuery
-
planItemInstanceStateAsyncActive
- Specified by:
planItemInstanceStateAsyncActivein interfacePlanItemInstanceQuery
-
planItemInstanceStateAsyncActiveLeave
- Specified by:
planItemInstanceStateAsyncActiveLeavein interfacePlanItemInstanceQuery
-
planItemInstanceStateAvailable
- Specified by:
planItemInstanceStateAvailablein interfacePlanItemInstanceQuery
-
planItemInstanceStateCompleted
- Specified by:
planItemInstanceStateCompletedin interfacePlanItemInstanceQuery
-
planItemInstanceStateTerminated
- Specified by:
planItemInstanceStateTerminatedin interfacePlanItemInstanceQuery
-
planItemInstanceCreatedBefore
- Specified by:
planItemInstanceCreatedBeforein interfacePlanItemInstanceQuery
-
planItemInstanceCreatedAfter
- Specified by:
planItemInstanceCreatedAfterin interfacePlanItemInstanceQuery
-
planItemInstanceLastAvailableBefore
- Specified by:
planItemInstanceLastAvailableBeforein interfacePlanItemInstanceQuery
-
planItemInstanceLastAvailableAfter
- Specified by:
planItemInstanceLastAvailableAfterin interfacePlanItemInstanceQuery
-
planItemInstanceLastEnabledBefore
- Specified by:
planItemInstanceLastEnabledBeforein interfacePlanItemInstanceQuery
-
planItemInstanceLastEnabledAfter
- Specified by:
planItemInstanceLastEnabledAfterin interfacePlanItemInstanceQuery
-
planItemInstanceLastDisabledBefore
- Specified by:
planItemInstanceLastDisabledBeforein interfacePlanItemInstanceQuery
-
planItemInstanceLastDisabledAfter
- Specified by:
planItemInstanceLastDisabledAfterin interfacePlanItemInstanceQuery
-
planItemInstanceLastStartedBefore
- Specified by:
planItemInstanceLastStartedBeforein interfacePlanItemInstanceQuery
-
planItemInstanceLastStartedAfter
- Specified by:
planItemInstanceLastStartedAfterin interfacePlanItemInstanceQuery
-
planItemInstanceLastSuspendedBefore
- Specified by:
planItemInstanceLastSuspendedBeforein interfacePlanItemInstanceQuery
-
planItemInstanceLastSuspendedAfter
- Specified by:
planItemInstanceLastSuspendedAfterin interfacePlanItemInstanceQuery
-
planItemInstanceCompletedBefore
- Specified by:
planItemInstanceCompletedBeforein interfacePlanItemInstanceQuery
-
planItemInstanceCompletedAfter
- Specified by:
planItemInstanceCompletedAfterin interfacePlanItemInstanceQuery
-
planItemInstanceOccurredBefore
- Specified by:
planItemInstanceOccurredBeforein interfacePlanItemInstanceQuery
-
planItemInstanceOccurredAfter
- Specified by:
planItemInstanceOccurredAfterin interfacePlanItemInstanceQuery
-
planItemInstanceTerminatedBefore
- Specified by:
planItemInstanceTerminatedBeforein interfacePlanItemInstanceQuery
-
planItemInstanceTerminatedAfter
- Specified by:
planItemInstanceTerminatedAfterin interfacePlanItemInstanceQuery
-
planItemInstanceExitBefore
- Specified by:
planItemInstanceExitBeforein interfacePlanItemInstanceQuery
-
planItemInstanceExitAfter
- Specified by:
planItemInstanceExitAfterin interfacePlanItemInstanceQuery
-
planItemInstanceEndedBefore
- Specified by:
planItemInstanceEndedBeforein interfacePlanItemInstanceQuery
-
planItemInstanceEndedAfter
- Specified by:
planItemInstanceEndedAfterin interfacePlanItemInstanceQuery
-
ended
- Specified by:
endedin interfacePlanItemInstanceQuery- Returns:
- The query will only return ended (completed/terminated/occurred/exited) plan item instances. No runtime instances will be returned.
-
includeEnded
- Specified by:
includeEndedin interfacePlanItemInstanceQuery- Returns:
- The query will include both runtime and ended (completed/terminated/occurred/exited) plan item instances.
-
planItemInstanceStartUserId
- Specified by:
planItemInstanceStartUserIdin interfacePlanItemInstanceQuery
-
planItemInstanceAssignee
- Specified by:
planItemInstanceAssigneein interfacePlanItemInstanceQuery
-
planItemInstanceCompletedBy
- Specified by:
planItemInstanceCompletedByin interfacePlanItemInstanceQuery
-
planItemInstanceReferenceId
- Specified by:
planItemInstanceReferenceIdin interfacePlanItemInstanceQuery
-
planItemInstanceReferenceType
- Specified by:
planItemInstanceReferenceTypein interfacePlanItemInstanceQuery
-
planItemInstanceCompletable
- Specified by:
planItemInstanceCompletablein interfacePlanItemInstanceQuery
-
onlyStages
- Specified by:
onlyStagesin interfacePlanItemInstanceQuery
-
planItemInstanceEntryCriterionId
- Specified by:
planItemInstanceEntryCriterionIdin interfacePlanItemInstanceQuery
-
planItemInstanceExitCriterionId
- Specified by:
planItemInstanceExitCriterionIdin interfacePlanItemInstanceQuery
-
planItemInstanceFormKey
- Specified by:
planItemInstanceFormKeyin interfacePlanItemInstanceQuery
-
planItemInstanceExtraValue
- Specified by:
planItemInstanceExtraValuein interfacePlanItemInstanceQuery
-
involvedUser
- Specified by:
involvedUserin interfacePlanItemInstanceQuery
-
involvedGroups
- Specified by:
involvedGroupsin interfacePlanItemInstanceQuery
-
planItemInstanceTenantId
- Specified by:
planItemInstanceTenantIdin interfacePlanItemInstanceQuery
-
planItemInstanceWithoutTenantId
- Specified by:
planItemInstanceWithoutTenantIdin interfacePlanItemInstanceQuery
-
variableValueEquals
Description copied from interface:PlanItemInstanceQueryOnly select plan item instances which have a local 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 interfacePlanItemInstanceQuery- Overrides:
variableValueEqualsin classAbstractVariableQueryImpl<PlanItemInstanceQuery,PlanItemInstance> - Parameters:
name- name of the variable, cannot be null.
-
variableValueEquals
Description copied from interface:PlanItemInstanceQueryOnly select plan item instances which have at least one local 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 interfacePlanItemInstanceQuery- Overrides:
variableValueEqualsin classAbstractVariableQueryImpl<PlanItemInstanceQuery,PlanItemInstance>
-
variableValueEqualsIgnoreCase
Description copied from interface:PlanItemInstanceQueryOnly select plan item 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 interfacePlanItemInstanceQuery- Overrides:
variableValueEqualsIgnoreCasein classAbstractVariableQueryImpl<PlanItemInstanceQuery,PlanItemInstance> - Parameters:
name- name of the variable, cannot be null.value- value of the variable, cannot be null.
-
variableValueNotEqualsIgnoreCase
Description copied from interface:PlanItemInstanceQueryOnly select plan item 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 interfacePlanItemInstanceQuery- Overrides:
variableValueNotEqualsIgnoreCasein classAbstractVariableQueryImpl<PlanItemInstanceQuery,PlanItemInstance> - Parameters:
name- name of the variable, cannot be null.value- value of the variable, cannot be null.
-
variableValueNotEquals
Description copied from interface:PlanItemInstanceQueryOnly select plan item instances which have a local 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 interfacePlanItemInstanceQuery- Overrides:
variableValueNotEqualsin classAbstractVariableQueryImpl<PlanItemInstanceQuery,PlanItemInstance> - Parameters:
name- name of the variable, cannot be null.
-
variableValueLikeIgnoreCase
Description copied from interface:PlanItemInstanceQueryOnly select plan item instances which have a local variable value like the given value (case insensitive). This be used on string variables only.- Specified by:
variableValueLikeIgnoreCasein interfacePlanItemInstanceQuery- Overrides:
variableValueLikeIgnoreCasein classAbstractVariableQueryImpl<PlanItemInstanceQuery,PlanItemInstance> - 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%).
-
variableValueLike
Description copied from interface:PlanItemInstanceQueryOnly select plan item instances which have a local variable value like the given value. This be used on string variables only.- Specified by:
variableValueLikein interfacePlanItemInstanceQuery- Overrides:
variableValueLikein classAbstractVariableQueryImpl<PlanItemInstanceQuery,PlanItemInstance> - 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%).
-
variableValueLessThanOrEqual
Description copied from interface:PlanItemInstanceQueryOnly select plan item instances which have a local 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 interfacePlanItemInstanceQuery- Overrides:
variableValueLessThanOrEqualin classAbstractVariableQueryImpl<PlanItemInstanceQuery,PlanItemInstance> - Parameters:
name- variable name, cannot be null.value- variable value, cannot be null.
-
variableValueLessThan
Description copied from interface:PlanItemInstanceQueryOnly select plan item instances which have a local variable value less than the passed value. Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
variableValueLessThanin interfacePlanItemInstanceQuery- Overrides:
variableValueLessThanin classAbstractVariableQueryImpl<PlanItemInstanceQuery,PlanItemInstance> - Parameters:
name- variable name, cannot be null.value- variable value, cannot be null.
-
variableValueGreaterThanOrEqual
Description copied from interface:PlanItemInstanceQueryOnly select plan item instances which have a local 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 interfacePlanItemInstanceQuery- Overrides:
variableValueGreaterThanOrEqualin classAbstractVariableQueryImpl<PlanItemInstanceQuery,PlanItemInstance> - Parameters:
name- variable name, cannot be null.value- variable value, cannot be null.
-
variableValueGreaterThan
Description copied from interface:PlanItemInstanceQueryOnly select plan item instances which have a local variable value greater than the passed value. Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
variableValueGreaterThanin interfacePlanItemInstanceQuery- Overrides:
variableValueGreaterThanin classAbstractVariableQueryImpl<PlanItemInstanceQuery,PlanItemInstance> - Parameters:
name- variable name, cannot be null.value- variable value, cannot be null.
-
variableExists
Description copied from interface:PlanItemInstanceQueryOnly select plan item instances which have a local variable with the given name.- Specified by:
variableExistsin interfacePlanItemInstanceQuery- Overrides:
variableExistsin classAbstractVariableQueryImpl<PlanItemInstanceQuery,PlanItemInstance> - Parameters:
name- cannot be null.
-
variableNotExists
Description copied from interface:PlanItemInstanceQueryOnly select plan item instances which don't have a local variable with the given name.- Specified by:
variableNotExistsin interfacePlanItemInstanceQuery- Overrides:
variableNotExistsin classAbstractVariableQueryImpl<PlanItemInstanceQuery,PlanItemInstance> - Parameters:
name- cannot be null.
-
caseVariableValueEquals
Description copied from interface:PlanItemInstanceQueryOnly select plan item 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:
caseVariableValueEqualsin interfacePlanItemInstanceQuery- Parameters:
name- name of the variable, cannot be null.
-
caseVariableValueEquals
Description copied from interface:PlanItemInstanceQueryOnly select plan item 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:
caseVariableValueEqualsin interfacePlanItemInstanceQuery
-
caseVariableValueEqualsIgnoreCase
Description copied from interface:PlanItemInstanceQueryOnly select plan item instances which have a global 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:
caseVariableValueEqualsIgnoreCasein interfacePlanItemInstanceQuery- Parameters:
name- name of the variable, cannot be null.value- value of the variable, cannot be null.
-
caseVariableValueNotEquals
Description copied from interface:PlanItemInstanceQueryOnly select plan item 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:
caseVariableValueNotEqualsin interfacePlanItemInstanceQuery- Parameters:
name- name of the variable, cannot be null.
-
caseVariableValueNotEqualsIgnoreCase
Description copied from interface:PlanItemInstanceQueryOnly select plan item instances which have a global 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:
caseVariableValueNotEqualsIgnoreCasein interfacePlanItemInstanceQuery- Parameters:
name- name of the variable, cannot be null.value- value of the variable, cannot be null.
-
caseVariableValueGreaterThan
Description copied from interface:PlanItemInstanceQueryOnly select plan item instances which have a global variable value greater than the passed value. Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
caseVariableValueGreaterThanin interfacePlanItemInstanceQuery- Parameters:
name- variable name, cannot be null.value- variable value, cannot be null.
-
caseVariableValueGreaterThanOrEqual
Description copied from interface:PlanItemInstanceQueryOnly select plan item 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:
caseVariableValueGreaterThanOrEqualin interfacePlanItemInstanceQuery- Parameters:
name- variable name, cannot be null.value- variable value, cannot be null.
-
caseVariableValueLessThan
Description copied from interface:PlanItemInstanceQueryOnly select plan item 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:
caseVariableValueLessThanin interfacePlanItemInstanceQuery- Parameters:
name- variable name, cannot be null.value- variable value, cannot be null.
-
caseVariableValueLessThanOrEqual
Description copied from interface:PlanItemInstanceQueryOnly select plan item 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:
caseVariableValueLessThanOrEqualin interfacePlanItemInstanceQuery- Parameters:
name- variable name, cannot be null.value- variable value, cannot be null.
-
caseVariableValueLike
Description copied from interface:PlanItemInstanceQueryOnly select plan item instances which have a global variable value like the given value. This be used on string variables only.- Specified by:
caseVariableValueLikein interfacePlanItemInstanceQuery- 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%).
-
caseVariableValueLikeIgnoreCase
Description copied from interface:PlanItemInstanceQueryOnly select plan item instances which have a global variable value like the given value (case insensitive). This be used on string variables only.- Specified by:
caseVariableValueLikeIgnoreCasein interfacePlanItemInstanceQuery- 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%).
-
caseVariableExists
Description copied from interface:PlanItemInstanceQueryOnly select plan item instances which have a global variable with the given name.- Specified by:
caseVariableExistsin interfacePlanItemInstanceQuery- Parameters:
name- cannot be null.
-
caseVariableNotExists
Description copied from interface:PlanItemInstanceQueryOnly select plan item instances which don't have a global variable with the given name.- Specified by:
caseVariableNotExistsin interfacePlanItemInstanceQuery- Parameters:
name- cannot be null.
-
or
Description copied from interface:PlanItemInstanceQueryBegin an OR statement. Make sure you invoke the endOr method at the end of your OR statement.- Specified by:
orin interfacePlanItemInstanceQuery
-
endOr
Description copied from interface:PlanItemInstanceQueryEnd an OR statement.- Specified by:
endOrin interfacePlanItemInstanceQuery
-
includeLocalVariables
Description copied from interface:PlanItemInstanceQueryInclude local plan item instance variables in the query result- Specified by:
includeLocalVariablesin interfacePlanItemInstanceQuery
-
locale
Description copied from interface:PlanItemInstanceQueryLocalize plan item name to specified locale.- Specified by:
localein interfacePlanItemInstanceQuery
-
withLocalizationFallback
Description copied from interface:PlanItemInstanceQueryInstruct localization to fallback to more general locales including the default locale of the JVM if the specified locale is not found.- Specified by:
withLocalizationFallbackin interfacePlanItemInstanceQuery
-
executeCount
- Specified by:
executeCountin classAbstractVariableQueryImpl<PlanItemInstanceQuery,PlanItemInstance>
-
executeList
Description copied from class:AbstractQueryExecutes the actual query to retrieve the list of results.- Specified by:
executeListin classAbstractVariableQueryImpl<PlanItemInstanceQuery,PlanItemInstance>
-
orderByCreateTime
- Specified by:
orderByCreateTimein interfacePlanItemInstanceQuery
-
orderByEndTime
- Specified by:
orderByEndTimein interfacePlanItemInstanceQuery
-
orderByName
- Specified by:
orderByNamein interfacePlanItemInstanceQuery
-
getCaseDefinitionId
-
getDerivedCaseDefinitionId
-
getCaseInstanceId
-
getStageInstanceId
-
getPlanItemInstanceId
-
getId
- Specified by:
getIdin interfaceCacheAwareQuery<PlanItemInstanceEntity>
-
getElementId
-
getPlanItemDefinitionId
-
getPlanItemDefinitionType
-
getPlanItemDefinitionTypes
-
getName
-
getState
-
getCreatedBefore
-
getCreatedAfter
-
getLastAvailableBefore
-
getLastAvailableAfter
-
getLastEnabledBefore
-
getLastEnabledAfter
-
getLastDisabledBefore
-
getLastDisabledAfter
-
getLastStartedBefore
-
getLastStartedAfter
-
getLastSuspendedBefore
-
getLastSuspendedAfter
-
getCompletedBefore
-
getCompletedAfter
-
getTerminatedBefore
-
getTerminatedAfter
-
getOccurredBefore
-
getOccurredAfter
-
getExitBefore
-
getExitAfter
-
getEndedBefore
-
getEndedAfter
-
isEnded
public boolean isEnded() -
isIncludeEnded
public boolean isIncludeEnded() -
getStartUserId
-
getAssignee
-
getCompletedBy
-
getReferenceId
-
getReferenceType
-
isCompletable
public boolean isCompletable() -
isOnlyStages
public boolean isOnlyStages() -
getEntryCriterionId
-
getExitCriterionId
-
getFormKey
-
getExtraValue
-
getInvolvedUser
-
getInvolvedGroups
-
getTenantId
-
isWithoutTenantId
public boolean isWithoutTenantId() -
isIncludeLocalVariables
public boolean isIncludeLocalVariables() -
getSafeInvolvedGroups
-
setSafeInvolvedGroups
-
ensureVariablesInitialized
protected void ensureVariablesInitialized()- Overrides:
ensureVariablesInitializedin classAbstractVariableQueryImpl<PlanItemInstanceQuery,PlanItemInstance>
-
getOrQueryObjects
-