Class PlanItemInstanceEntityImpl
- 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.PlanItemInstanceEntityImpl
-
- All Implemented Interfaces:
Serializable,DelegatePlanItemInstance,PlanItemInstance,CountingPlanItemInstanceEntity,EntityWithSentryPartInstances,PlanItemInstanceContainer,PlanItemInstanceEntity,VariableContainer,HasRevision,Entity,org.flowable.variable.api.delegate.VariableScope
public class PlanItemInstanceEntityImpl extends AbstractCmmnEngineVariableScopeEntity implements PlanItemInstanceEntity, CountingPlanItemInstanceEntity
- Author:
- Joram Barrez
- See Also:
- Serialized Form
-
-
Field Summary
-
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 PlanItemInstanceEntityImpl()PlanItemInstanceEntityImpl(HistoricPlanItemInstance historicPlanItemInstance)
-
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, createVariableInstance, 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, updateVariableInstance
-
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, wait, wait, wait
-
Methods inherited from interface org.flowable.cmmn.api.delegate.DelegatePlanItemInstance
getPlanItemDefinition
-
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.cmmn.api.runtime.PlanItemInstance
getId
-
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
-
caseDefinitionId
protected String caseDefinitionId
-
derivedCaseDefinitionId
protected String derivedCaseDefinitionId
-
caseInstanceId
protected String caseInstanceId
-
stageInstanceId
protected String stageInstanceId
-
isStage
protected boolean isStage
-
elementId
protected String elementId
-
planItemDefinitionId
protected String planItemDefinitionId
-
planItemDefinitionType
protected String planItemDefinitionType
-
name
protected String name
-
state
protected String state
-
createTime
protected Date createTime
-
lastAvailableTime
protected Date lastAvailableTime
-
lastUnavailableTime
protected Date lastUnavailableTime
-
lastEnabledTime
protected Date lastEnabledTime
-
lastDisabledTime
protected Date lastDisabledTime
-
lastStartedTime
protected Date lastStartedTime
-
lastSuspendedTime
protected Date lastSuspendedTime
-
completedTime
protected Date completedTime
-
occurredTime
protected Date occurredTime
-
terminatedTime
protected Date terminatedTime
-
exitTime
protected Date exitTime
-
endedTime
protected Date endedTime
-
startUserId
protected String startUserId
-
referenceId
protected String referenceId
-
referenceType
protected String referenceType
-
completable
protected boolean completable
-
entryCriterionId
protected String entryCriterionId
-
exitCriterionId
protected String exitCriterionId
-
extraValue
protected String extraValue
-
tenantId
protected String tenantId
-
countEnabled
protected boolean countEnabled
-
variableCount
protected int variableCount
-
sentryPartInstanceCount
protected int sentryPartInstanceCount
-
planItem
protected org.flowable.cmmn.model.PlanItem planItem
-
childPlanItemInstances
protected List<PlanItemInstanceEntity> childPlanItemInstances
-
stagePlanItemInstance
protected PlanItemInstanceEntity stagePlanItemInstance
-
satisfiedSentryPartInstances
protected List<SentryPartInstanceEntity> satisfiedSentryPartInstances
-
localizedName
protected String localizedName
-
currentLifecycleListener
protected PlanItemInstanceLifecycleListener currentLifecycleListener
-
currentFlowableListener
protected org.flowable.cmmn.model.FlowableListener currentFlowableListener
-
-
Constructor Detail
-
PlanItemInstanceEntityImpl
public PlanItemInstanceEntityImpl()
-
PlanItemInstanceEntityImpl
public PlanItemInstanceEntityImpl(HistoricPlanItemInstance historicPlanItemInstance)
-
-
Method Detail
-
getPersistentState
public Object getPersistentState()
- Specified by:
getPersistentStatein interfaceEntity
-
snapshotReadOnly
public ReadOnlyDelegatePlanItemInstance snapshotReadOnly()
- Specified by:
snapshotReadOnlyin interfaceDelegatePlanItemInstance
-
getPlanItem
public org.flowable.cmmn.model.PlanItem getPlanItem()
- Specified by:
getPlanItemin interfaceDelegatePlanItemInstance
-
getCaseDefinitionId
public String getCaseDefinitionId()
- Specified by:
getCaseDefinitionIdin interfacePlanItemInstance
-
setCaseDefinitionId
public void setCaseDefinitionId(String caseDefinitionId)
- Specified by:
setCaseDefinitionIdin interfaceDelegatePlanItemInstance
-
getDerivedCaseDefinitionId
public String getDerivedCaseDefinitionId()
- Specified by:
getDerivedCaseDefinitionIdin interfacePlanItemInstance
-
setDerivedCaseDefinitionId
public void setDerivedCaseDefinitionId(String derivedCaseDefinitionId)
- Specified by:
setDerivedCaseDefinitionIdin interfaceDelegatePlanItemInstance
-
getCaseInstanceId
public String getCaseInstanceId()
- Specified by:
getCaseInstanceIdin interfacePlanItemInstance
-
setCaseInstanceId
public void setCaseInstanceId(String caseInstanceId)
- Specified by:
setCaseInstanceIdin interfaceDelegatePlanItemInstance
-
getStageInstanceId
public String getStageInstanceId()
- Specified by:
getStageInstanceIdin interfacePlanItemInstance
-
setStageInstanceId
public void setStageInstanceId(String stageInstanceId)
- Specified by:
setStageInstanceIdin interfaceDelegatePlanItemInstance
-
isStage
public boolean isStage()
- Specified by:
isStagein interfacePlanItemInstance
-
setStage
public void setStage(boolean isStage)
- Specified by:
setStagein interfaceDelegatePlanItemInstance
-
getElementId
public String getElementId()
- Specified by:
getElementIdin interfacePlanItemInstance
-
setElementId
public void setElementId(String elementId)
- Specified by:
setElementIdin interfaceDelegatePlanItemInstance
-
getPlanItemDefinitionId
public String getPlanItemDefinitionId()
- Specified by:
getPlanItemDefinitionIdin interfacePlanItemInstance
-
setPlanItemDefinitionId
public void setPlanItemDefinitionId(String planItemDefinitionId)
- Specified by:
setPlanItemDefinitionIdin interfaceDelegatePlanItemInstance
-
getPlanItemDefinitionType
public String getPlanItemDefinitionType()
- Specified by:
getPlanItemDefinitionTypein interfacePlanItemInstance
-
setPlanItemDefinitionType
public void setPlanItemDefinitionType(String planItemDefinitionType)
- Specified by:
setPlanItemDefinitionTypein interfaceDelegatePlanItemInstance
-
getName
public String getName()
- Specified by:
getNamein interfacePlanItemInstance
-
setName
public void setName(String name)
- Specified by:
setNamein interfaceDelegatePlanItemInstance
-
getState
public String getState()
- Specified by:
getStatein interfacePlanItemInstance
-
setState
public void setState(String state)
- Specified by:
setStatein interfaceDelegatePlanItemInstance
-
getCreateTime
public Date getCreateTime()
- Specified by:
getCreateTimein interfacePlanItemInstance
-
getStartTime
public Date getStartTime()
- Specified by:
getStartTimein interfacePlanItemInstance
-
setStartTime
public void setStartTime(Date startTime)
- Specified by:
setStartTimein interfaceDelegatePlanItemInstance
-
setCreateTime
public void setCreateTime(Date createTime)
- Specified by:
setCreateTimein interfaceDelegatePlanItemInstance
-
getLastAvailableTime
public Date getLastAvailableTime()
- Specified by:
getLastAvailableTimein interfacePlanItemInstance
-
setLastAvailableTime
public void setLastAvailableTime(Date lastAvailableTime)
- Specified by:
setLastAvailableTimein interfaceDelegatePlanItemInstance
-
getLastUnavailableTime
public Date getLastUnavailableTime()
- Specified by:
getLastUnavailableTimein interfacePlanItemInstance
-
setLastUnavailableTime
public void setLastUnavailableTime(Date lastUnavailableTime)
- Specified by:
setLastUnavailableTimein interfaceDelegatePlanItemInstance
-
getLastEnabledTime
public Date getLastEnabledTime()
- Specified by:
getLastEnabledTimein interfacePlanItemInstance
-
setLastEnabledTime
public void setLastEnabledTime(Date lastEnabledTime)
- Specified by:
setLastEnabledTimein interfaceDelegatePlanItemInstance
-
getLastDisabledTime
public Date getLastDisabledTime()
- Specified by:
getLastDisabledTimein interfacePlanItemInstance
-
setLastDisabledTime
public void setLastDisabledTime(Date lastDisabledTime)
- Specified by:
setLastDisabledTimein interfaceDelegatePlanItemInstance
-
getLastStartedTime
public Date getLastStartedTime()
- Specified by:
getLastStartedTimein interfacePlanItemInstance
-
setLastStartedTime
public void setLastStartedTime(Date lastStartedTime)
- Specified by:
setLastStartedTimein interfaceDelegatePlanItemInstance
-
getLastSuspendedTime
public Date getLastSuspendedTime()
- Specified by:
getLastSuspendedTimein interfacePlanItemInstance
-
setLastSuspendedTime
public void setLastSuspendedTime(Date lastSuspendedTime)
- Specified by:
setLastSuspendedTimein interfaceDelegatePlanItemInstance
-
getCompletedTime
public Date getCompletedTime()
- Specified by:
getCompletedTimein interfacePlanItemInstance
-
setCompletedTime
public void setCompletedTime(Date completedTime)
- Specified by:
setCompletedTimein interfaceDelegatePlanItemInstance
-
getOccurredTime
public Date getOccurredTime()
- Specified by:
getOccurredTimein interfacePlanItemInstance
-
setOccurredTime
public void setOccurredTime(Date occurredTime)
- Specified by:
setOccurredTimein interfaceDelegatePlanItemInstance
-
getTerminatedTime
public Date getTerminatedTime()
- Specified by:
getTerminatedTimein interfacePlanItemInstance
-
setTerminatedTime
public void setTerminatedTime(Date terminatedTime)
- Specified by:
setTerminatedTimein interfaceDelegatePlanItemInstance
-
getExitTime
public Date getExitTime()
- Specified by:
getExitTimein interfacePlanItemInstance
-
setExitTime
public void setExitTime(Date exitTime)
- Specified by:
setExitTimein interfaceDelegatePlanItemInstance
-
getEndedTime
public Date getEndedTime()
- Specified by:
getEndedTimein interfacePlanItemInstance
-
setEndedTime
public void setEndedTime(Date endedTime)
- Specified by:
setEndedTimein interfaceDelegatePlanItemInstance
-
setPlanItem
public void setPlanItem(org.flowable.cmmn.model.PlanItem planItem)
-
getStagePlanItemInstance
public PlanItemInstanceEntity getStagePlanItemInstance()
-
setStagePlanItemInstance
public void setStagePlanItemInstance(PlanItemInstanceEntity stagePlanItemInstance)
-
getStartUserId
public String getStartUserId()
- Specified by:
getStartUserIdin interfacePlanItemInstance
-
setStartUserId
public void setStartUserId(String startUserId)
- Specified by:
setStartUserIdin interfaceDelegatePlanItemInstance
-
getReferenceId
public String getReferenceId()
- Specified by:
getReferenceIdin interfacePlanItemInstance
-
setReferenceId
public void setReferenceId(String referenceId)
- Specified by:
setReferenceIdin interfaceDelegatePlanItemInstance
-
getReferenceType
public String getReferenceType()
- Specified by:
getReferenceTypein interfacePlanItemInstance
-
setReferenceType
public void setReferenceType(String referenceType)
- Specified by:
setReferenceTypein interfaceDelegatePlanItemInstance
-
isCompletable
public boolean isCompletable()
- Specified by:
isCompletablein interfacePlanItemInstance
-
setCompletable
public void setCompletable(boolean completable)
- Specified by:
setCompletablein interfaceDelegatePlanItemInstance
-
getEntryCriterionId
public String getEntryCriterionId()
- Specified by:
getEntryCriterionIdin interfacePlanItemInstance
-
setEntryCriterionId
public void setEntryCriterionId(String entryCriterionId)
- Specified by:
setEntryCriterionIdin interfaceDelegatePlanItemInstance
-
getExitCriterionId
public String getExitCriterionId()
- Specified by:
getExitCriterionIdin interfacePlanItemInstance
-
setExitCriterionId
public void setExitCriterionId(String exitCriterionId)
- Specified by:
setExitCriterionIdin interfaceDelegatePlanItemInstance
-
getFormKey
public String getFormKey()
- Specified by:
getFormKeyin interfacePlanItemInstance
-
setFormKey
public void setFormKey(String formKey)
- Specified by:
setFormKeyin interfaceDelegatePlanItemInstance
-
getExtraValue
public String getExtraValue()
- Specified by:
getExtraValuein interfacePlanItemInstance
-
setExtraValue
public void setExtraValue(String extraValue)
- Specified by:
setExtraValuein interfaceDelegatePlanItemInstance
-
getTenantId
public String getTenantId()
- Specified by:
getTenantIdin interfacePlanItemInstance- Specified by:
getTenantIdin interfaceVariableContainer
-
setTenantId
public void setTenantId(String tenantId)
- Specified by:
setTenantIdin interfaceDelegatePlanItemInstance
-
setChildPlanItemInstances
public void setChildPlanItemInstances(List<PlanItemInstanceEntity> childPlanItemInstances)
- Specified by:
setChildPlanItemInstancesin interfacePlanItemInstanceContainer- Parameters:
childPlanItemInstances- Sets the child plan item instances of this container.
-
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.
-
getStagePlanItemInstanceEntity
public PlanItemInstanceEntity getStagePlanItemInstanceEntity()
- Specified by:
getStagePlanItemInstanceEntityin interfacePlanItemInstanceEntity
-
getSatisfiedSentryPartInstances
public List<SentryPartInstanceEntity> getSatisfiedSentryPartInstances()
- Specified by:
getSatisfiedSentryPartInstancesin interfaceEntityWithSentryPartInstances
-
setSatisfiedSentryPartInstances
public void setSatisfiedSentryPartInstances(List<SentryPartInstanceEntity> satisfiedSentryPartInstances)
- Specified by:
setSatisfiedSentryPartInstancesin interfaceEntityWithSentryPartInstances
-
loadVariableInstances
protected Collection<VariableInstanceEntity> loadVariableInstances()
- Specified by:
loadVariableInstancesin classVariableScopeImpl
-
getParentVariableScope
public VariableScopeImpl getParentVariableScope()
- Specified by:
getParentVariableScopein interfacePlanItemInstanceEntity- Specified by:
getParentVariableScopein classVariableScopeImpl
-
initializeVariableInstanceBackPointer
protected void initializeVariableInstanceBackPointer(org.flowable.variable.api.persistence.entity.VariableInstance variableInstance)
- Specified by:
initializeVariableInstanceBackPointerin classVariableScopeImpl
-
storeVariableLocal
protected boolean storeVariableLocal(String variableName)
- Overrides:
storeVariableLocalin classVariableScopeImpl
-
addLoggingSessionInfo
protected void addLoggingSessionInfo(com.fasterxml.jackson.databind.node.ObjectNode loggingNode)
- Specified by:
addLoggingSessionInfoin classVariableScopeImpl
-
createVariableLocal
protected void createVariableLocal(String variableName, Object value)
- Overrides:
createVariableLocalin classVariableScopeImpl
-
getSpecificVariable
protected VariableInstanceEntity getSpecificVariable(String variableName)
- Specified by:
getSpecificVariablein classVariableScopeImpl
-
getSpecificVariables
protected List<VariableInstanceEntity> getSpecificVariables(Collection<String> variableNames)
- Specified by:
getSpecificVariablesin classVariableScopeImpl
-
isPropagateToHistoricVariable
protected boolean isPropagateToHistoricVariable()
- Specified by:
isPropagateToHistoricVariablein classVariableScopeImpl
-
getVariableServiceConfiguration
protected VariableServiceConfiguration getVariableServiceConfiguration()
- Specified by:
getVariableServiceConfigurationin classVariableScopeImpl
-
isCountEnabled
public boolean isCountEnabled()
- Specified by:
isCountEnabledin interfaceCountingPlanItemInstanceEntity
-
setCountEnabled
public void setCountEnabled(boolean countEnabled)
- Specified by:
setCountEnabledin interfaceCountingPlanItemInstanceEntity
-
getVariableCount
public int getVariableCount()
- Specified by:
getVariableCountin interfaceCountingPlanItemInstanceEntity
-
setVariableCount
public void setVariableCount(int variableCount)
- Specified by:
setVariableCountin interfaceCountingPlanItemInstanceEntity
-
getSentryPartInstanceCount
public int getSentryPartInstanceCount()
- Specified by:
getSentryPartInstanceCountin interfaceCountingPlanItemInstanceEntity
-
setSentryPartInstanceCount
public void setSentryPartInstanceCount(int sentryPartInstanceCount)
- Specified by:
setSentryPartInstanceCountin interfaceCountingPlanItemInstanceEntity
-
getCurrentFlowableListener
public org.flowable.cmmn.model.FlowableListener getCurrentFlowableListener()
- Specified by:
getCurrentFlowableListenerin interfaceDelegatePlanItemInstance
-
getCurrentLifecycleListener
public PlanItemInstanceLifecycleListener getCurrentLifecycleListener()
- Specified by:
getCurrentLifecycleListenerin interfaceDelegatePlanItemInstance
-
setCurrentLifecycleListener
public void setCurrentLifecycleListener(PlanItemInstanceLifecycleListener lifecycleListener, org.flowable.cmmn.model.FlowableListener flowableListener)
- Specified by:
setCurrentLifecycleListenerin interfaceDelegatePlanItemInstance
-
getLocalizedName
public String getLocalizedName()
-
setLocalizedName
public void setLocalizedName(String localizedName)
- Specified by:
setLocalizedNamein interfacePlanItemInstance
-
-