public class CaseInstanceQueryImpl extends AbstractVariableQueryImpl<CaseInstanceQuery,CaseInstance> implements CaseInstanceQuery, CacheAwareQuery<CaseInstanceEntity>
ListQueryParameterObject.OrderBy, ListQueryParameterObject.ResultTypeQuery.NullHandlingOnOrderqueryVariableValues, variableServiceConfigurationcommandContext, commandExecutordatabaseType, DEFAULT_ORDER_BY, defaultOrderBy, firstResult, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC| Constructor and Description |
|---|
CaseInstanceQueryImpl() |
CaseInstanceQueryImpl(CommandContext commandContext,
CmmnEngineConfiguration cmmnEngineConfiguration) |
CaseInstanceQueryImpl(CommandExecutor commandExecutor,
CmmnEngineConfiguration cmmnEngineConfiguration) |
addVariable, getQueryVariableValues, hasLocalQueryVariableValue, hasNonLocalQueryVariableValue, hasValueComparisonQueryVariables, isBoolean, variableExists, variableNotExists, variableValueEquals, variableValueEquals, variableValueEqualsIgnoreCase, variableValueGreaterThan, variableValueGreaterThanOrEqual, variableValueLessThan, variableValueLessThanOrEqual, variableValueLike, variableValueLikeIgnoreCase, variableValueNotEquals, variableValueNotEqualsIgnoreCaseasc, checkQueryOk, count, desc, direction, execute, executeSingleResult, list, listPage, orderBy, orderBy, setCommandExecutor, singleResultaddOrder, buildOrderBy, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getNullHandlingColumn, getOrderBy, getOrderByCollectionSafe, getOrderByForWindow, getOuterJoinOrderBy, getParameter, hasOrderBy, hasOrderByForColumn, isNeedsPaging, mapOrderByToSql, setDatabaseType, setFirstResult, setMaxResults, setNullHandlingColumn, setParameterprotected CmmnEngineConfiguration cmmnEngineConfiguration
protected String caseDefinitionId
protected String caseDefinitionKey
protected String caseDefinitionCategory
protected String caseDefinitionName
protected Integer caseDefinitionVersion
protected String businessKey
protected String caseInstanceId
protected String caseInstanceParentId
protected String caseInstanceParentPlanItemInstanceId
protected Date startedBefore
protected Date startedAfter
protected String startedBy
protected Date lastReactivatedBefore
protected Date lastReactivatedAfter
protected String lastReactivatedBy
protected String callbackId
protected String callbackType
protected String referenceId
protected String referenceType
protected boolean completeable
protected String tenantId
protected String tenantIdLike
protected boolean withoutTenantId
protected boolean includeCaseVariables
protected String activePlanItemDefinitionId
protected String involvedUser
protected IdentityLinkQueryObject involvedUserIdentityLink
protected IdentityLinkQueryObject involvedGroupIdentityLink
protected List<CaseInstanceQueryImpl> orQueryObjects
protected CaseInstanceQueryImpl currentOrQueryObject
protected boolean inOrStatement
protected String locale
protected boolean withLocalizationFallback
public CaseInstanceQueryImpl()
public CaseInstanceQueryImpl(CommandContext commandContext, CmmnEngineConfiguration cmmnEngineConfiguration)
public CaseInstanceQueryImpl(CommandExecutor commandExecutor, CmmnEngineConfiguration cmmnEngineConfiguration)
protected void ensureVariablesInitialized()
ensureVariablesInitialized in class AbstractVariableQueryImpl<CaseInstanceQuery,CaseInstance>public CaseInstanceQueryImpl caseDefinitionId(String caseDefinitionId)
caseDefinitionId in interface CaseInstanceQuerypublic CaseInstanceQueryImpl caseDefinitionKey(String caseDefinitionKey)
caseDefinitionKey in interface CaseInstanceQuerypublic CaseInstanceQueryImpl caseDefinitionCategory(String caseDefinitionCategory)
caseDefinitionCategory in interface CaseInstanceQuerypublic CaseInstanceQueryImpl caseDefinitionName(String caseDefinitionName)
caseDefinitionName in interface CaseInstanceQuerypublic CaseInstanceQueryImpl caseDefinitionVersion(Integer caseDefinitionVersion)
caseDefinitionVersion in interface CaseInstanceQuerypublic CaseInstanceQueryImpl caseInstanceId(String caseInstanceId)
caseInstanceId in interface CaseInstanceQuerypublic CaseInstanceQueryImpl caseInstanceIds(Set<String> caseInstanceIds)
caseInstanceIds in interface CaseInstanceQuerypublic CaseInstanceQueryImpl caseInstanceBusinessKey(String businessKey)
caseInstanceBusinessKey in interface CaseInstanceQuerypublic CaseInstanceQueryImpl caseDefinitionKeys(Set<String> caseDefinitionKeys)
caseDefinitionKeys in interface CaseInstanceQuerypublic CaseInstanceQueryImpl caseInstanceParentId(String parentId)
caseInstanceParentId in interface CaseInstanceQuerypublic CaseInstanceQueryImpl caseInstanceStartedBefore(Date beforeTime)
caseInstanceStartedBefore in interface CaseInstanceQuerypublic CaseInstanceQueryImpl caseInstanceStartedAfter(Date afterTime)
caseInstanceStartedAfter in interface CaseInstanceQuerypublic CaseInstanceQueryImpl caseInstanceStartedBy(String userId)
caseInstanceStartedBy in interface CaseInstanceQuerypublic CaseInstanceQuery caseInstanceLastReactivatedBefore(Date beforeTime)
caseInstanceLastReactivatedBefore in interface CaseInstanceQuerypublic CaseInstanceQuery caseInstanceLastReactivatedAfter(Date afterTime)
caseInstanceLastReactivatedAfter in interface CaseInstanceQuerypublic CaseInstanceQuery caseInstanceLastReactivatedBy(String userId)
caseInstanceLastReactivatedBy in interface CaseInstanceQuerypublic CaseInstanceQuery caseInstanceCallbackId(String callbackId)
caseInstanceCallbackId in interface CaseInstanceQuerypublic CaseInstanceQuery caseInstanceCallbackType(String callbackType)
caseInstanceCallbackType in interface CaseInstanceQuerypublic CaseInstanceQuery caseInstanceReferenceId(String referenceId)
caseInstanceReferenceId in interface CaseInstanceQuerypublic CaseInstanceQuery caseInstanceReferenceType(String referenceType)
caseInstanceReferenceType in interface CaseInstanceQuerypublic CaseInstanceQuery caseInstanceIsCompleteable()
caseInstanceIsCompleteable in interface CaseInstanceQuerypublic CaseInstanceQueryImpl caseInstanceTenantId(String tenantId)
caseInstanceTenantId in interface CaseInstanceQuerypublic CaseInstanceQueryImpl caseInstanceTenantIdLike(String tenantIdLike)
caseInstanceTenantIdLike in interface CaseInstanceQuerypublic CaseInstanceQueryImpl caseInstanceWithoutTenantId()
caseInstanceWithoutTenantId in interface CaseInstanceQuerypublic CaseInstanceQuery activePlanItemDefinitionId(String planItemDefinitionId)
CaseInstanceQueryactivePlanItemDefinitionId in interface CaseInstanceQuerypublic CaseInstanceQuery activePlanItemDefinitionIds(Set<String> planItemDefinitionIds)
CaseInstanceQueryactivePlanItemDefinitionIds in interface CaseInstanceQuerypublic CaseInstanceQuery involvedUser(String userId)
CaseInstanceQueryinvolvedUser in interface CaseInstanceQuerypublic CaseInstanceQuery involvedUser(String userId, String identityLinkType)
CaseInstanceQueryinvolvedUser in interface CaseInstanceQuerypublic CaseInstanceQuery involvedGroup(String groupId, String identityLinkType)
CaseInstanceQueryinvolvedGroup in interface CaseInstanceQuerypublic CaseInstanceQuery involvedGroups(Set<String> groupIds)
CaseInstanceQueryinvolvedGroups in interface CaseInstanceQuerypublic CaseInstanceQuery or()
CaseInstanceQueryor in interface CaseInstanceQuerypublic CaseInstanceQuery endOr()
CaseInstanceQueryendOr in interface CaseInstanceQuerypublic CaseInstanceQuery variableValueEquals(String variableName, Object variableValue)
CaseInstanceQuerySerializable objects (which are not primitive type wrappers) are not supported.variableValueEquals in interface CaseInstanceQueryvariableValueEquals in class AbstractVariableQueryImpl<CaseInstanceQuery,CaseInstance>variableName - name of the variable, cannot be null.public CaseInstanceQuery variableValueNotEquals(String variableName, Object variableValue)
CaseInstanceQuerySerializable objects (which are not
primitive type wrappers) are not supported.variableValueNotEquals in interface CaseInstanceQueryvariableValueNotEquals in class AbstractVariableQueryImpl<CaseInstanceQuery,CaseInstance>variableName - name of the variable, cannot be null.public CaseInstanceQuery variableValueEquals(Object variableValue)
CaseInstanceQuerySerializable objects (which are not primitive type wrappers) are not supported.variableValueEquals in interface CaseInstanceQueryvariableValueEquals in class AbstractVariableQueryImpl<CaseInstanceQuery,CaseInstance>public CaseInstanceQuery variableValueEqualsIgnoreCase(String name, String value)
CaseInstanceQueryThis 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).
variableValueEqualsIgnoreCase in interface CaseInstanceQueryvariableValueEqualsIgnoreCase in class AbstractVariableQueryImpl<CaseInstanceQuery,CaseInstance>name - name of the variable, cannot be null.value - value of the variable, cannot be null.public CaseInstanceQuery variableValueNotEqualsIgnoreCase(String name, String value)
CaseInstanceQueryThis 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).
variableValueNotEqualsIgnoreCase in interface CaseInstanceQueryvariableValueNotEqualsIgnoreCase in class AbstractVariableQueryImpl<CaseInstanceQuery,CaseInstance>name - name of the variable, cannot be null.value - value of the variable, cannot be null.public CaseInstanceQuery variableValueGreaterThan(String name, Object value)
CaseInstanceQuerySerializable objects (which are not primitive type wrappers) are not
supported.variableValueGreaterThan in interface CaseInstanceQueryvariableValueGreaterThan in class AbstractVariableQueryImpl<CaseInstanceQuery,CaseInstance>name - variable name, cannot be null.value - variable value, cannot be null.public CaseInstanceQuery variableValueGreaterThanOrEqual(String name, Object value)
CaseInstanceQuerySerializable objects (which are not primitive type
wrappers) are not supported.variableValueGreaterThanOrEqual in interface CaseInstanceQueryvariableValueGreaterThanOrEqual in class AbstractVariableQueryImpl<CaseInstanceQuery,CaseInstance>name - variable name, cannot be null.value - variable value, cannot be null.public CaseInstanceQuery variableValueLessThan(String name, Object value)
CaseInstanceQuerySerializable objects (which are not primitive type wrappers) are
not supported.variableValueLessThan in interface CaseInstanceQueryvariableValueLessThan in class AbstractVariableQueryImpl<CaseInstanceQuery,CaseInstance>name - variable name, cannot be null.value - variable value, cannot be null.public CaseInstanceQuery variableValueLessThanOrEqual(String name, Object value)
CaseInstanceQuerySerializable objects (which are not primitive type
wrappers) are not supported.variableValueLessThanOrEqual in interface CaseInstanceQueryvariableValueLessThanOrEqual in class AbstractVariableQueryImpl<CaseInstanceQuery,CaseInstance>name - variable name, cannot be null.value - variable value, cannot be null.public CaseInstanceQuery variableValueLike(String name, String value)
CaseInstanceQueryvariableValueLike in interface CaseInstanceQueryvariableValueLike in class AbstractVariableQueryImpl<CaseInstanceQuery,CaseInstance>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%).public CaseInstanceQuery variableValueLikeIgnoreCase(String name, String value)
CaseInstanceQueryvariableValueLikeIgnoreCase in interface CaseInstanceQueryvariableValueLikeIgnoreCase in class AbstractVariableQueryImpl<CaseInstanceQuery,CaseInstance>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%).public CaseInstanceQuery variableExists(String name)
CaseInstanceQueryvariableExists in interface CaseInstanceQueryvariableExists in class AbstractVariableQueryImpl<CaseInstanceQuery,CaseInstance>name - cannot be null.public CaseInstanceQuery variableNotExists(String name)
CaseInstanceQueryvariableNotExists in interface CaseInstanceQueryvariableNotExists in class AbstractVariableQueryImpl<CaseInstanceQuery,CaseInstance>name - cannot be null.public CaseInstanceQueryImpl orderByCaseInstanceId()
orderByCaseInstanceId in interface CaseInstanceQuerypublic CaseInstanceQueryImpl orderByCaseDefinitionId()
orderByCaseDefinitionId in interface CaseInstanceQuerypublic CaseInstanceQueryImpl orderByCaseDefinitionKey()
orderByCaseDefinitionKey in interface CaseInstanceQuerypublic CaseInstanceQueryImpl orderByStartTime()
orderByStartTime in interface CaseInstanceQuerypublic CaseInstanceQueryImpl orderByTenantId()
orderByTenantId in interface CaseInstanceQuerypublic CaseInstanceQueryImpl includeCaseVariables()
CaseInstanceQueryincludeCaseVariables in interface CaseInstanceQuerypublic CaseInstanceQuery limitCaseInstanceVariables(Integer caseInstanceVariablesLimit)
CaseInstanceQuerylimitCaseInstanceVariables in interface CaseInstanceQuerypublic CaseInstanceQuery locale(String locale)
CaseInstanceQuerylocale in interface CaseInstanceQuerypublic CaseInstanceQuery withLocalizationFallback()
CaseInstanceQuerywithLocalizationFallback in interface CaseInstanceQuerypublic long executeCount(CommandContext commandContext)
executeCount in class AbstractVariableQueryImpl<CaseInstanceQuery,CaseInstance>public List<CaseInstance> executeList(CommandContext commandContext)
AbstractQueryexecuteList in class AbstractVariableQueryImpl<CaseInstanceQuery,CaseInstance>public void enhanceCachedValue(CaseInstanceEntity caseInstance)
enhanceCachedValue in interface CacheAwareQuery<CaseInstanceEntity>public String getCaseDefinitionKey()
public String getCaseDefinitionId()
public String getCaseDefinitionCategory()
public String getCaseDefinitionName()
public Integer getCaseDefinitionVersion()
public String getCaseInstanceId()
public String getId()
getId in interface CacheAwareQuery<CaseInstanceEntity>public String getBusinessKey()
public String getExecutionId()
public String getParentId()
public String getCaseInstanceParentPlanItemInstanceId()
public String getCaseInstanceParentId()
public Date getStartedBefore()
public Date getStartedAfter()
public String getStartedBy()
public String getCallbackId()
public String getCallbackType()
public String getReferenceId()
public String getReferenceType()
public boolean isCompleteable()
public String getTenantId()
public String getTenantIdLike()
public boolean isWithoutTenantId()
public String getActivePlanItemDefinitionId()
public String getInvolvedUser()
public IdentityLinkQueryObject getInvolvedUserIdentityLink()
public IdentityLinkQueryObject getInvolvedGroupIdentityLink()
public boolean isIncludeCaseVariables()
public boolean isNeedsCaseDefinitionOuterJoin()
public List<CaseInstanceQueryImpl> getOrQueryObjects()
Copyright © 2023 Flowable. All rights reserved.