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.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 CmmnEngineConfiguration
protected boolean
protected Date
protected Date
protected String
protected Date
protected Date
protected PlanItemInstanceQueryImpl
protected String
protected String
protected boolean
protected Date
protected Date
protected String
protected Date
protected Date
protected String
protected String
protected String
protected boolean
protected boolean
protected boolean
protected Collection<String>
protected String
protected Date
protected Date
protected Date
protected Date
protected Date
protected Date
protected Date
protected Date
protected Date
protected Date
protected Date
protected Date
protected String
protected String
protected Date
protected Date
protected boolean
protected List<PlanItemInstanceQueryImpl>
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected Date
protected Date
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, 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 void
long
executeCount
(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) boolean
boolean
isEnded()
boolean
boolean
boolean
boolean
Localize 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) void
setSafeInvolvedGroups
(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, variableValueNotEqualsIgnoreCase
Methods inherited from class org.flowable.common.engine.impl.query.AbstractQuery
asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, getSafeList, 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, setIgnoreOrderBy, setMaxResults, setNullHandlingColumn, setParameter
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
caseDefinitionId
in interfacePlanItemInstanceQuery
-
derivedCaseDefinitionId
- Specified by:
derivedCaseDefinitionId
in interfacePlanItemInstanceQuery
-
caseInstanceId
- Specified by:
caseInstanceId
in interfacePlanItemInstanceQuery
-
stageInstanceId
- Specified by:
stageInstanceId
in interfacePlanItemInstanceQuery
-
planItemInstanceId
- Specified by:
planItemInstanceId
in interfacePlanItemInstanceQuery
-
planItemInstanceElementId
- Specified by:
planItemInstanceElementId
in interfacePlanItemInstanceQuery
-
planItemDefinitionId
- Specified by:
planItemDefinitionId
in interfacePlanItemInstanceQuery
-
planItemDefinitionType
- Specified by:
planItemDefinitionType
in interfacePlanItemInstanceQuery
-
planItemDefinitionTypes
- Specified by:
planItemDefinitionTypes
in interfacePlanItemInstanceQuery
-
planItemInstanceName
- Specified by:
planItemInstanceName
in interfacePlanItemInstanceQuery
-
planItemInstanceState
- Specified by:
planItemInstanceState
in interfacePlanItemInstanceQuery
-
planItemInstanceStateWaitingForRepetition
- Specified by:
planItemInstanceStateWaitingForRepetition
in interfacePlanItemInstanceQuery
-
planItemInstanceStateActive
- Specified by:
planItemInstanceStateActive
in interfacePlanItemInstanceQuery
-
planItemInstanceStateEnabled
- Specified by:
planItemInstanceStateEnabled
in interfacePlanItemInstanceQuery
-
planItemInstanceStateDisabled
- Specified by:
planItemInstanceStateDisabled
in interfacePlanItemInstanceQuery
-
planItemInstanceStateAsyncActive
- Specified by:
planItemInstanceStateAsyncActive
in interfacePlanItemInstanceQuery
-
planItemInstanceStateAsyncActiveLeave
- Specified by:
planItemInstanceStateAsyncActiveLeave
in interfacePlanItemInstanceQuery
-
planItemInstanceStateAvailable
- Specified by:
planItemInstanceStateAvailable
in interfacePlanItemInstanceQuery
-
planItemInstanceStateCompleted
- Specified by:
planItemInstanceStateCompleted
in interfacePlanItemInstanceQuery
-
planItemInstanceStateTerminated
- Specified by:
planItemInstanceStateTerminated
in interfacePlanItemInstanceQuery
-
planItemInstanceCreatedBefore
- Specified by:
planItemInstanceCreatedBefore
in interfacePlanItemInstanceQuery
-
planItemInstanceCreatedAfter
- Specified by:
planItemInstanceCreatedAfter
in interfacePlanItemInstanceQuery
-
planItemInstanceLastAvailableBefore
- Specified by:
planItemInstanceLastAvailableBefore
in interfacePlanItemInstanceQuery
-
planItemInstanceLastAvailableAfter
- Specified by:
planItemInstanceLastAvailableAfter
in interfacePlanItemInstanceQuery
-
planItemInstanceLastEnabledBefore
- Specified by:
planItemInstanceLastEnabledBefore
in interfacePlanItemInstanceQuery
-
planItemInstanceLastEnabledAfter
- Specified by:
planItemInstanceLastEnabledAfter
in interfacePlanItemInstanceQuery
-
planItemInstanceLastDisabledBefore
- Specified by:
planItemInstanceLastDisabledBefore
in interfacePlanItemInstanceQuery
-
planItemInstanceLastDisabledAfter
- Specified by:
planItemInstanceLastDisabledAfter
in interfacePlanItemInstanceQuery
-
planItemInstanceLastStartedBefore
- Specified by:
planItemInstanceLastStartedBefore
in interfacePlanItemInstanceQuery
-
planItemInstanceLastStartedAfter
- Specified by:
planItemInstanceLastStartedAfter
in interfacePlanItemInstanceQuery
-
planItemInstanceLastSuspendedBefore
- Specified by:
planItemInstanceLastSuspendedBefore
in interfacePlanItemInstanceQuery
-
planItemInstanceLastSuspendedAfter
- Specified by:
planItemInstanceLastSuspendedAfter
in interfacePlanItemInstanceQuery
-
planItemInstanceCompletedBefore
- Specified by:
planItemInstanceCompletedBefore
in interfacePlanItemInstanceQuery
-
planItemInstanceCompletedAfter
- Specified by:
planItemInstanceCompletedAfter
in interfacePlanItemInstanceQuery
-
planItemInstanceOccurredBefore
- Specified by:
planItemInstanceOccurredBefore
in interfacePlanItemInstanceQuery
-
planItemInstanceOccurredAfter
- Specified by:
planItemInstanceOccurredAfter
in interfacePlanItemInstanceQuery
-
planItemInstanceTerminatedBefore
- Specified by:
planItemInstanceTerminatedBefore
in interfacePlanItemInstanceQuery
-
planItemInstanceTerminatedAfter
- Specified by:
planItemInstanceTerminatedAfter
in interfacePlanItemInstanceQuery
-
planItemInstanceExitBefore
- Specified by:
planItemInstanceExitBefore
in interfacePlanItemInstanceQuery
-
planItemInstanceExitAfter
- Specified by:
planItemInstanceExitAfter
in interfacePlanItemInstanceQuery
-
planItemInstanceEndedBefore
- Specified by:
planItemInstanceEndedBefore
in interfacePlanItemInstanceQuery
-
planItemInstanceEndedAfter
- Specified by:
planItemInstanceEndedAfter
in interfacePlanItemInstanceQuery
-
ended
- Specified by:
ended
in interfacePlanItemInstanceQuery
- Returns:
- The query will only return ended (completed/terminated/occurred/exited) plan item instances. No runtime instances will be returned.
-
includeEnded
- Specified by:
includeEnded
in interfacePlanItemInstanceQuery
- Returns:
- The query will include both runtime and ended (completed/terminated/occurred/exited) plan item instances.
-
planItemInstanceStartUserId
- Specified by:
planItemInstanceStartUserId
in interfacePlanItemInstanceQuery
-
planItemInstanceAssignee
- Specified by:
planItemInstanceAssignee
in interfacePlanItemInstanceQuery
-
planItemInstanceCompletedBy
- Specified by:
planItemInstanceCompletedBy
in interfacePlanItemInstanceQuery
-
planItemInstanceReferenceId
- Specified by:
planItemInstanceReferenceId
in interfacePlanItemInstanceQuery
-
planItemInstanceReferenceType
- Specified by:
planItemInstanceReferenceType
in interfacePlanItemInstanceQuery
-
planItemInstanceCompletable
- Specified by:
planItemInstanceCompletable
in interfacePlanItemInstanceQuery
-
onlyStages
- Specified by:
onlyStages
in interfacePlanItemInstanceQuery
-
planItemInstanceEntryCriterionId
- Specified by:
planItemInstanceEntryCriterionId
in interfacePlanItemInstanceQuery
-
planItemInstanceExitCriterionId
- Specified by:
planItemInstanceExitCriterionId
in interfacePlanItemInstanceQuery
-
planItemInstanceFormKey
- Specified by:
planItemInstanceFormKey
in interfacePlanItemInstanceQuery
-
planItemInstanceExtraValue
- Specified by:
planItemInstanceExtraValue
in interfacePlanItemInstanceQuery
-
involvedUser
- Specified by:
involvedUser
in interfacePlanItemInstanceQuery
-
involvedGroups
- Specified by:
involvedGroups
in interfacePlanItemInstanceQuery
-
planItemInstanceTenantId
- Specified by:
planItemInstanceTenantId
in interfacePlanItemInstanceQuery
-
planItemInstanceWithoutTenantId
- Specified by:
planItemInstanceWithoutTenantId
in interfacePlanItemInstanceQuery
-
variableValueEquals
Description copied from interface:PlanItemInstanceQuery
Only 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 andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
variableValueEquals
in interfacePlanItemInstanceQuery
- Overrides:
variableValueEquals
in classAbstractVariableQueryImpl<PlanItemInstanceQuery,
PlanItemInstance> - Parameters:
name
- name of the variable, cannot be null.
-
variableValueEquals
Description copied from interface:PlanItemInstanceQuery
Only 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 andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
variableValueEquals
in interfacePlanItemInstanceQuery
- Overrides:
variableValueEquals
in classAbstractVariableQueryImpl<PlanItemInstanceQuery,
PlanItemInstance>
-
variableValueEqualsIgnoreCase
Description copied from interface:PlanItemInstanceQuery
Only 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:
variableValueEqualsIgnoreCase
in interfacePlanItemInstanceQuery
- Overrides:
variableValueEqualsIgnoreCase
in 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:PlanItemInstanceQuery
Only 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:
variableValueNotEqualsIgnoreCase
in interfacePlanItemInstanceQuery
- Overrides:
variableValueNotEqualsIgnoreCase
in 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:PlanItemInstanceQuery
Only select plan item instances which have a local 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 interfacePlanItemInstanceQuery
- Overrides:
variableValueNotEquals
in classAbstractVariableQueryImpl<PlanItemInstanceQuery,
PlanItemInstance> - Parameters:
name
- name of the variable, cannot be null.
-
variableValueLikeIgnoreCase
Description copied from interface:PlanItemInstanceQuery
Only 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:
variableValueLikeIgnoreCase
in interfacePlanItemInstanceQuery
- Overrides:
variableValueLikeIgnoreCase
in 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:PlanItemInstanceQuery
Only select plan item instances which have a local variable value like the given value. This be used on string variables only.- Specified by:
variableValueLike
in interfacePlanItemInstanceQuery
- Overrides:
variableValueLike
in 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:PlanItemInstanceQuery
Only select plan item instances which have a local 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 interfacePlanItemInstanceQuery
- Overrides:
variableValueLessThanOrEqual
in classAbstractVariableQueryImpl<PlanItemInstanceQuery,
PlanItemInstance> - Parameters:
name
- variable name, cannot be null.value
- variable value, cannot be null.
-
variableValueLessThan
Description copied from interface:PlanItemInstanceQuery
Only select plan item instances which have a local 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 interfacePlanItemInstanceQuery
- Overrides:
variableValueLessThan
in classAbstractVariableQueryImpl<PlanItemInstanceQuery,
PlanItemInstance> - Parameters:
name
- variable name, cannot be null.value
- variable value, cannot be null.
-
variableValueGreaterThanOrEqual
Description copied from interface:PlanItemInstanceQuery
Only select plan item instances which have a local 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 interfacePlanItemInstanceQuery
- Overrides:
variableValueGreaterThanOrEqual
in classAbstractVariableQueryImpl<PlanItemInstanceQuery,
PlanItemInstance> - Parameters:
name
- variable name, cannot be null.value
- variable value, cannot be null.
-
variableValueGreaterThan
Description copied from interface:PlanItemInstanceQuery
Only select plan item instances which have a local 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 interfacePlanItemInstanceQuery
- Overrides:
variableValueGreaterThan
in classAbstractVariableQueryImpl<PlanItemInstanceQuery,
PlanItemInstance> - Parameters:
name
- variable name, cannot be null.value
- variable value, cannot be null.
-
variableExists
Description copied from interface:PlanItemInstanceQuery
Only select plan item instances which have a local variable with the given name.- Specified by:
variableExists
in interfacePlanItemInstanceQuery
- Overrides:
variableExists
in classAbstractVariableQueryImpl<PlanItemInstanceQuery,
PlanItemInstance> - Parameters:
name
- cannot be null.
-
variableNotExists
Description copied from interface:PlanItemInstanceQuery
Only select plan item instances which don't have a local variable with the given name.- Specified by:
variableNotExists
in interfacePlanItemInstanceQuery
- Overrides:
variableNotExists
in classAbstractVariableQueryImpl<PlanItemInstanceQuery,
PlanItemInstance> - Parameters:
name
- cannot be null.
-
caseVariableValueEquals
Description copied from interface:PlanItemInstanceQuery
Only 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 andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
caseVariableValueEquals
in interfacePlanItemInstanceQuery
- Parameters:
name
- name of the variable, cannot be null.
-
caseVariableValueEquals
Description copied from interface:PlanItemInstanceQuery
Only 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 andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
caseVariableValueEquals
in interfacePlanItemInstanceQuery
-
caseVariableValueEqualsIgnoreCase
Description copied from interface:PlanItemInstanceQuery
Only 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:
caseVariableValueEqualsIgnoreCase
in interfacePlanItemInstanceQuery
- Parameters:
name
- name of the variable, cannot be null.value
- value of the variable, cannot be null.
-
caseVariableValueNotEquals
Description copied from interface:PlanItemInstanceQuery
Only select plan item 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:
caseVariableValueNotEquals
in interfacePlanItemInstanceQuery
- Parameters:
name
- name of the variable, cannot be null.
-
caseVariableValueNotEqualsIgnoreCase
Description copied from interface:PlanItemInstanceQuery
Only 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:
caseVariableValueNotEqualsIgnoreCase
in interfacePlanItemInstanceQuery
- Parameters:
name
- name of the variable, cannot be null.value
- value of the variable, cannot be null.
-
caseVariableValueGreaterThan
Description copied from interface:PlanItemInstanceQuery
Only select plan item instances which have a global variable value greater than the passed value. Booleans, Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
caseVariableValueGreaterThan
in interfacePlanItemInstanceQuery
- Parameters:
name
- variable name, cannot be null.value
- variable value, cannot be null.
-
caseVariableValueGreaterThanOrEqual
Description copied from interface:PlanItemInstanceQuery
Only select plan item 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:
caseVariableValueGreaterThanOrEqual
in interfacePlanItemInstanceQuery
- Parameters:
name
- variable name, cannot be null.value
- variable value, cannot be null.
-
caseVariableValueLessThan
Description copied from interface:PlanItemInstanceQuery
Only select plan item 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:
caseVariableValueLessThan
in interfacePlanItemInstanceQuery
- Parameters:
name
- variable name, cannot be null.value
- variable value, cannot be null.
-
caseVariableValueLessThanOrEqual
Description copied from interface:PlanItemInstanceQuery
Only select plan item 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:
caseVariableValueLessThanOrEqual
in interfacePlanItemInstanceQuery
- Parameters:
name
- variable name, cannot be null.value
- variable value, cannot be null.
-
caseVariableValueLike
Description copied from interface:PlanItemInstanceQuery
Only select plan item instances which have a global variable value like the given value. This be used on string variables only.- Specified by:
caseVariableValueLike
in 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:PlanItemInstanceQuery
Only 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:
caseVariableValueLikeIgnoreCase
in 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:PlanItemInstanceQuery
Only select plan item instances which have a global variable with the given name.- Specified by:
caseVariableExists
in interfacePlanItemInstanceQuery
- Parameters:
name
- cannot be null.
-
caseVariableNotExists
Description copied from interface:PlanItemInstanceQuery
Only select plan item instances which don't have a global variable with the given name.- Specified by:
caseVariableNotExists
in interfacePlanItemInstanceQuery
- Parameters:
name
- cannot be null.
-
or
Description copied from interface:PlanItemInstanceQuery
Begin an OR statement. Make sure you invoke the endOr method at the end of your OR statement.- Specified by:
or
in interfacePlanItemInstanceQuery
-
endOr
Description copied from interface:PlanItemInstanceQuery
End an OR statement.- Specified by:
endOr
in interfacePlanItemInstanceQuery
-
includeLocalVariables
Description copied from interface:PlanItemInstanceQuery
Include local plan item instance variables in the query result- Specified by:
includeLocalVariables
in interfacePlanItemInstanceQuery
-
locale
Description copied from interface:PlanItemInstanceQuery
Localize plan item name to specified locale.- Specified by:
locale
in interfacePlanItemInstanceQuery
-
withLocalizationFallback
Description copied from interface:PlanItemInstanceQuery
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 interfacePlanItemInstanceQuery
-
executeCount
- Specified by:
executeCount
in classAbstractVariableQueryImpl<PlanItemInstanceQuery,
PlanItemInstance>
-
executeList
Description copied from class:AbstractQuery
Executes the actual query to retrieve the list of results.- Specified by:
executeList
in classAbstractVariableQueryImpl<PlanItemInstanceQuery,
PlanItemInstance>
-
orderByCreateTime
- Specified by:
orderByCreateTime
in interfacePlanItemInstanceQuery
-
orderByEndTime
- Specified by:
orderByEndTime
in interfacePlanItemInstanceQuery
-
orderByName
- Specified by:
orderByName
in interfacePlanItemInstanceQuery
-
getCaseDefinitionId
-
getDerivedCaseDefinitionId
-
getCaseInstanceId
-
getStageInstanceId
-
getPlanItemInstanceId
-
getId
- Specified by:
getId
in 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:
ensureVariablesInitialized
in classAbstractVariableQueryImpl<PlanItemInstanceQuery,
PlanItemInstance>
-
getOrQueryObjects
-