Class CaseInstanceEntityImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.persistence.entity.AbstractEntity
-
- org.flowable.variable.service.impl.persistence.entity.VariableScopeImpl
-
- org.flowable.cmmn.engine.impl.persistence.entity.AbstractCmmnEngineVariableScopeEntity
-
- org.flowable.cmmn.engine.impl.persistence.entity.CaseInstanceEntityImpl
-
- All Implemented Interfaces:
Serializable,CaseInstance,CaseInstanceEntity,EntityWithSentryPartInstances,PlanItemInstanceContainer,VariableContainer,HasRevision,Entity,org.flowable.variable.api.delegate.VariableScope
public class CaseInstanceEntityImpl extends AbstractCmmnEngineVariableScopeEntity implements CaseInstanceEntity
- Author:
- Joram Barrez
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected StringbusinessKeyprotected StringbusinessStatusprotected StringcallbackIdprotected StringcallbackTypeprotected StringcaseDefinitionDeploymentIdprotected StringcaseDefinitionIdprotected StringcaseDefinitionKeyprotected StringcaseDefinitionNameprotected IntegercaseDefinitionVersionprotected List<PlanItemInstanceEntity>childPlanItemInstancesprotected booleancompletableprotected DatelastReactivationTimeprotected StringlastReactivationUserIdprotected StringlocalizedNameprotected StringlockOwnerprotected DatelockTimeprotected Stringnameprotected StringparentIdprotected List<VariableInstanceEntity>queryVariablesprotected StringreferenceIdprotected StringreferenceTypeprotected List<SentryPartInstanceEntity>satisfiedSentryPartInstancesprotected DatestartTimeprotected StringstartUserIdprotected Stringstateprotected StringtenantId-
Fields inherited from class org.flowable.variable.service.impl.persistence.entity.VariableScopeImpl
cachedElContext, transientVariables, usedVariablesCache, variableInstances
-
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, originalPersistentState, revision
-
-
Constructor Summary
Constructors Constructor Description CaseInstanceEntityImpl()CaseInstanceEntityImpl(HistoricCaseInstance historicCaseInstance, Map<String,VariableInstanceEntity> variables)
-
Method Summary
-
Methods inherited from class org.flowable.cmmn.engine.impl.persistence.entity.AbstractCmmnEngineVariableScopeEntity
getIdPrefix
-
Methods inherited from class org.flowable.variable.service.impl.persistence.entity.VariableScopeImpl
collectTransientVariables, collectVariableInstances, collectVariableNames, collectVariables, createVariableLocal, createVariablesLocal, deleteVariableInstanceForExplicitUserCall, ensureVariableInstancesInitialized, getCachedElContext, getTransientVariable, getTransientVariableLocal, getTransientVariables, getTransientVariablesLocal, getUsedVariablesCache, getVariable, getVariable, getVariable, getVariableInstance, getVariableInstance, getVariableInstanceEntities, getVariableInstanceLocal, getVariableInstanceLocal, getVariableInstances, getVariableInstances, getVariableInstances, getVariableInstancesLocal, getVariableInstancesLocal, getVariableInstancesLocal, getVariableLocal, getVariableLocal, getVariableLocal, getVariableNames, getVariableNamesLocal, getVariables, getVariables, getVariables, getVariablesLocal, getVariablesLocal, getVariablesLocal, hasVariable, hasVariableLocal, hasVariables, hasVariablesLocal, internalSetVariableInstances, isExpression, removeTransientVariable, removeTransientVariableLocal, removeTransientVariables, removeTransientVariablesLocal, removeVariable, removeVariableLocal, removeVariables, removeVariables, removeVariablesLocal, removeVariablesLocal, setCachedElContext, setTransientVariable, setTransientVariableLocal, setTransientVariables, setTransientVariablesLocal, setVariable, setVariable, setVariableLocal, setVariableLocal, setVariables, setVariablesLocal, storeVariableLocal
-
Methods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
getId, getOriginalPersistentState, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setRevision, setUpdated
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.flowable.cmmn.api.runtime.CaseInstance
getId
-
Methods inherited from interface org.flowable.common.engine.impl.persistence.entity.Entity
getId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdated
-
Methods inherited from interface org.flowable.common.engine.impl.db.HasRevision
getRevision, getRevisionNext, setRevision
-
Methods inherited from interface org.flowable.variable.api.delegate.VariableScope
getTransientVariable, getTransientVariableLocal, getTransientVariables, getTransientVariablesLocal, getVariable, getVariable, getVariable, getVariableInstance, getVariableInstance, getVariableInstanceLocal, getVariableInstanceLocal, getVariableInstances, getVariableInstances, getVariableInstances, getVariableInstancesLocal, getVariableInstancesLocal, getVariableInstancesLocal, getVariableLocal, getVariableLocal, getVariableLocal, getVariableNames, getVariableNamesLocal, getVariables, getVariables, getVariables, getVariablesLocal, getVariablesLocal, getVariablesLocal, hasVariable, hasVariableLocal, hasVariables, hasVariablesLocal, removeTransientVariable, removeTransientVariableLocal, removeTransientVariables, removeTransientVariablesLocal, removeVariable, removeVariableLocal, removeVariables, removeVariables, removeVariablesLocal, removeVariablesLocal, setTransientVariable, setTransientVariableLocal, setTransientVariables, setTransientVariablesLocal, setVariable, setVariable, setVariableLocal, setVariableLocal, setVariables, setVariablesLocal
-
-
-
-
Field Detail
-
businessKey
protected String businessKey
-
businessStatus
protected String businessStatus
-
name
protected String name
-
parentId
protected String parentId
-
caseDefinitionId
protected String caseDefinitionId
-
state
protected String state
-
startTime
protected Date startTime
-
startUserId
protected String startUserId
-
lastReactivationTime
protected Date lastReactivationTime
-
lastReactivationUserId
protected String lastReactivationUserId
-
callbackId
protected String callbackId
-
callbackType
protected String callbackType
-
referenceId
protected String referenceId
-
referenceType
protected String referenceType
-
completable
protected boolean completable
-
tenantId
protected String tenantId
-
lockTime
protected Date lockTime
-
lockOwner
protected String lockOwner
-
childPlanItemInstances
protected List<PlanItemInstanceEntity> childPlanItemInstances
-
satisfiedSentryPartInstances
protected List<SentryPartInstanceEntity> satisfiedSentryPartInstances
-
localizedName
protected String localizedName
-
queryVariables
protected List<VariableInstanceEntity> queryVariables
-
caseDefinitionKey
protected String caseDefinitionKey
-
caseDefinitionName
protected String caseDefinitionName
-
caseDefinitionVersion
protected Integer caseDefinitionVersion
-
caseDefinitionDeploymentId
protected String caseDefinitionDeploymentId
-
-
Constructor Detail
-
CaseInstanceEntityImpl
public CaseInstanceEntityImpl()
-
CaseInstanceEntityImpl
public CaseInstanceEntityImpl(HistoricCaseInstance historicCaseInstance, Map<String,VariableInstanceEntity> variables)
-
-
Method Detail
-
getPersistentState
public Object getPersistentState()
- Specified by:
getPersistentStatein interfaceEntity
-
getBusinessKey
public String getBusinessKey()
- Specified by:
getBusinessKeyin interfaceCaseInstance
-
setBusinessKey
public void setBusinessKey(String businessKey)
- Specified by:
setBusinessKeyin interfaceCaseInstanceEntity
-
getBusinessStatus
public String getBusinessStatus()
- Specified by:
getBusinessStatusin interfaceCaseInstance
-
setBusinessStatus
public void setBusinessStatus(String businessStatus)
- Specified by:
setBusinessStatusin interfaceCaseInstanceEntity
-
getName
public String getName()
- Specified by:
getNamein interfaceCaseInstance
-
setName
public void setName(String name)
- Specified by:
setNamein interfaceCaseInstanceEntity
-
getParentId
public String getParentId()
- Specified by:
getParentIdin interfaceCaseInstance
-
setParentId
public void setParentId(String parentId)
- Specified by:
setParentIdin interfaceCaseInstanceEntity
-
getCaseDefinitionId
public String getCaseDefinitionId()
- Specified by:
getCaseDefinitionIdin interfaceCaseInstance
-
setCaseDefinitionId
public void setCaseDefinitionId(String caseDefinitionId)
- Specified by:
setCaseDefinitionIdin interfaceCaseInstanceEntity
-
getState
public String getState()
- Specified by:
getStatein interfaceCaseInstance
-
setState
public void setState(String state)
- Specified by:
setStatein interfaceCaseInstanceEntity
-
getStartTime
public Date getStartTime()
- Specified by:
getStartTimein interfaceCaseInstance
-
setStartTime
public void setStartTime(Date startTime)
- Specified by:
setStartTimein interfaceCaseInstanceEntity
-
getStartUserId
public String getStartUserId()
- Specified by:
getStartUserIdin interfaceCaseInstance
-
setStartUserId
public void setStartUserId(String startUserId)
- Specified by:
setStartUserIdin interfaceCaseInstanceEntity
-
getLastReactivationTime
public Date getLastReactivationTime()
- Specified by:
getLastReactivationTimein interfaceCaseInstance
-
setLastReactivationTime
public void setLastReactivationTime(Date lastReactivationTime)
- Specified by:
setLastReactivationTimein interfaceCaseInstanceEntity
-
getLastReactivationUserId
public String getLastReactivationUserId()
- Specified by:
getLastReactivationUserIdin interfaceCaseInstance
-
setLastReactivationUserId
public void setLastReactivationUserId(String lastReactivationUserId)
- Specified by:
setLastReactivationUserIdin interfaceCaseInstanceEntity
-
isCompletable
public boolean isCompletable()
- Specified by:
isCompletablein interfaceCaseInstance
-
setCompletable
public void setCompletable(boolean completable)
- Specified by:
setCompletablein interfaceCaseInstanceEntity
-
isCompleteable
public boolean isCompleteable()
Only here due to MyBatis and the old typo can be removed, if we would do a DB update
-
setCompleteable
public void setCompleteable(boolean completable)
Only here due to MyBatis and the old typo can be removed, if we would do a DB update
-
getCallbackId
public String getCallbackId()
- Specified by:
getCallbackIdin interfaceCaseInstance
-
setCallbackId
public void setCallbackId(String callbackId)
- Specified by:
setCallbackIdin interfaceCaseInstanceEntity
-
getCallbackType
public String getCallbackType()
- Specified by:
getCallbackTypein interfaceCaseInstance
-
setCallbackType
public void setCallbackType(String callbackType)
- Specified by:
setCallbackTypein interfaceCaseInstanceEntity
-
getReferenceId
public String getReferenceId()
- Specified by:
getReferenceIdin interfaceCaseInstance
-
setReferenceId
public void setReferenceId(String referenceId)
- Specified by:
setReferenceIdin interfaceCaseInstanceEntity
-
getReferenceType
public String getReferenceType()
- Specified by:
getReferenceTypein interfaceCaseInstance
-
setReferenceType
public void setReferenceType(String referenceType)
- Specified by:
setReferenceTypein interfaceCaseInstanceEntity
-
getTenantId
public String getTenantId()
- Specified by:
getTenantIdin interfaceCaseInstance- Specified by:
getTenantIdin interfaceVariableContainer
-
setTenantId
public void setTenantId(String tenantId)
- Specified by:
setTenantIdin interfaceCaseInstanceEntity
-
getLockTime
public Date getLockTime()
- Specified by:
getLockTimein interfaceCaseInstanceEntity
-
setLockTime
public void setLockTime(Date lockTime)
- Specified by:
setLockTimein interfaceCaseInstanceEntity
-
getLockOwner
public String getLockOwner()
- Specified by:
getLockOwnerin interfaceCaseInstanceEntity
-
setLockOwner
public void setLockOwner(String lockOwner)
- Specified by:
setLockOwnerin interfaceCaseInstanceEntity
-
getPlanItems
public List<org.flowable.cmmn.model.PlanItem> getPlanItems()
- Specified by:
getPlanItemsin interfacePlanItemInstanceContainer- Returns:
- All the
PlanItem's definition in theCmmnModel.
-
getChildPlanItemInstances
public List<PlanItemInstanceEntity> getChildPlanItemInstances()
- Specified by:
getChildPlanItemInstancesin interfacePlanItemInstanceContainer- Returns:
- All child plan item instances that are not in a terminal state.
-
setChildPlanItemInstances
public void setChildPlanItemInstances(List<PlanItemInstanceEntity> childPlanItemInstances)
- Specified by:
setChildPlanItemInstancesin interfacePlanItemInstanceContainer- Parameters:
childPlanItemInstances- Sets the child plan item instances of this container.
-
getSatisfiedSentryPartInstances
public List<SentryPartInstanceEntity> getSatisfiedSentryPartInstances()
- Specified by:
getSatisfiedSentryPartInstancesin interfaceEntityWithSentryPartInstances
-
setSatisfiedSentryPartInstances
public void setSatisfiedSentryPartInstances(List<SentryPartInstanceEntity> sentryPartInstanceEntities)
- Specified by:
setSatisfiedSentryPartInstancesin interfaceEntityWithSentryPartInstances
-
loadVariableInstances
protected Collection<VariableInstanceEntity> loadVariableInstances()
- Specified by:
loadVariableInstancesin classVariableScopeImpl
-
getParentVariableScope
protected VariableScopeImpl getParentVariableScope()
- Specified by:
getParentVariableScopein classVariableScopeImpl
-
initializeVariableInstanceBackPointer
protected void initializeVariableInstanceBackPointer(org.flowable.variable.api.persistence.entity.VariableInstance variableInstance)
- Specified by:
initializeVariableInstanceBackPointerin classVariableScopeImpl
-
addLoggingSessionInfo
protected void addLoggingSessionInfo(com.fasterxml.jackson.databind.node.ObjectNode loggingNode)
- Specified by:
addLoggingSessionInfoin classVariableScopeImpl
-
getSpecificVariable
protected VariableInstanceEntity getSpecificVariable(String variableName)
- Specified by:
getSpecificVariablein classVariableScopeImpl
-
getSpecificVariables
protected List<VariableInstanceEntity> getSpecificVariables(Collection<String> variableNames)
- Specified by:
getSpecificVariablesin classVariableScopeImpl
-
createVariableInstance
protected VariableInstanceEntity createVariableInstance(String variableName, Object value)
- Overrides:
createVariableInstancein classVariableScopeImpl
-
updateVariableInstance
protected void updateVariableInstance(VariableInstanceEntity variableInstance, Object value)
- Overrides:
updateVariableInstancein classVariableScopeImpl
-
isPropagateToHistoricVariable
protected boolean isPropagateToHistoricVariable()
- Specified by:
isPropagateToHistoricVariablein classVariableScopeImpl
-
getVariableServiceConfiguration
protected VariableServiceConfiguration getVariableServiceConfiguration()
- Specified by:
getVariableServiceConfigurationin classVariableScopeImpl
-
getCaseVariables
public Map<String,Object> getCaseVariables()
- Specified by:
getCaseVariablesin interfaceCaseInstance
-
getLocalizedName
public String getLocalizedName()
-
setLocalizedName
public void setLocalizedName(String localizedName)
- Specified by:
setLocalizedNamein interfaceCaseInstance
-
getQueryVariables
public List<VariableInstanceEntity> getQueryVariables()
- Specified by:
getQueryVariablesin interfaceCaseInstanceEntity
-
setQueryVariables
public void setQueryVariables(List<VariableInstanceEntity> queryVariables)
-
getCaseDefinitionKey
public String getCaseDefinitionKey()
- Specified by:
getCaseDefinitionKeyin interfaceCaseInstance
-
setCaseDefinitionKey
public void setCaseDefinitionKey(String caseDefinitionKey)
- Specified by:
setCaseDefinitionKeyin interfaceCaseInstanceEntity
-
getCaseDefinitionName
public String getCaseDefinitionName()
- Specified by:
getCaseDefinitionNamein interfaceCaseInstance
-
setCaseDefinitionName
public void setCaseDefinitionName(String caseDefinitionName)
- Specified by:
setCaseDefinitionNamein interfaceCaseInstanceEntity
-
getCaseDefinitionVersion
public Integer getCaseDefinitionVersion()
- Specified by:
getCaseDefinitionVersionin interfaceCaseInstance
-
setCaseDefinitionVersion
public void setCaseDefinitionVersion(Integer caseDefinitionVersion)
- Specified by:
setCaseDefinitionVersionin interfaceCaseInstanceEntity
-
getCaseDefinitionDeploymentId
public String getCaseDefinitionDeploymentId()
- Specified by:
getCaseDefinitionDeploymentIdin interfaceCaseInstance
-
setCaseDefinitionDeploymentId
public void setCaseDefinitionDeploymentId(String caseDefinitionDeploymentId)
- Specified by:
setCaseDefinitionDeploymentIdin interfaceCaseInstanceEntity
-
-