Class ExecutionEntityImpl
java.lang.Object
org.activiti.engine.impl.persistence.entity.AbstractEntity
org.activiti.engine.impl.persistence.entity.VariableScopeImpl
org.activiti.engine.impl.persistence.entity.ExecutionEntityImpl
- All Implemented Interfaces:
Serializable,DelegateExecution,VariableScope,HasRevision,CountingExecutionEntity,Entity,ExecutionEntity,Execution,ProcessInstance
public class ExecutionEntityImpl
extends VariableScopeImpl
implements ExecutionEntity, CountingExecutionEntity
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringpersisted reference to the current position in the diagram within the.invalid reference
#processDefinitionprotected StringThe name of the current activity positionprotected Stringpersisted reference to the business key.protected org.activiti.bpmn.model.ActivitiListenerprotected org.activiti.bpmn.model.FlowElementprotected intprotected Stringprotected Stringpersisted reference to the deployment id.protected Stringprotected Stringprotected intprotected List<EventSubscriptionEntity> protected List<ExecutionEntityImpl> nested executions representing scopes or concurrent pathsprotected booleanprotected intprotected List<IdentityLinkEntity> protected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected intprotected Stringprotected Stringprotected Dateprotected Stringprotected ExecutionEntityImplthe parent executionprotected Stringpersisted reference to the parent of this execution.protected Stringprotected Stringpersisted reference to the processDefinition.protected Stringpersisted reference to the process definition key.protected Stringpersisted reference to the process definition name.protected Integerpersisted reference to the process definition version.protected ExecutionEntityImplthe process instance. this is the root of the execution tree. the processInstance of a process instance is a self reference.protected Stringpersisted reference to the process instance.protected List<VariableInstanceEntity> protected ExecutionEntityImplprotected Stringprotected Dateprotected Stringprotected ExecutionEntityImplreference to a subprocessinstance, not-null if currently subprocess is started from this executionprotected ExecutionEntityImplsuper execution, not-null if this execution is part of a subprocessprotected Stringpersisted reference to the super execution of this executionprotected intprotected intprotected intprotected List<TaskEntity> protected StringThe tenant identifier (if any)protected intprotected List<TimerJobEntity> protected intFields inherited from class org.activiti.engine.impl.persistence.entity.VariableScopeImpl
cachedElContext, transientVariabes, usedVariablesCache, variableInstancesFields inherited from class org.activiti.engine.impl.persistence.entity.AbstractEntity
id, isInserted, isUpdated, revision -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChildExecution(ExecutionEntity executionEntity) protected VariableInstanceEntitycreateVariableInstance(String variableName, Object value, ExecutionEntity sourceActivityExecution) static ExecutionEntityImplStatic factory method: to be used when a new execution is created for the very first time/ Calling this will make sure no extra db fetches are needed later on, as all collections will be populated with empty collections.protected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidvoidReturns the id of the activity where the execution currently is at.The business key of this process instance.org.activiti.bpmn.model.ActivitiListenerReturns theActivitiListenerinstance matching anExecutionListenerif currently an execution listener is being execution.Gets the id of the current activity.org.activiti.bpmn.model.FlowElementThe BPMN element where the execution currently is at.intThe deployment id of the process definition of the process instance.Returns the description of this execution.Will contain the event name in case this execution is passed in for anExecutionListener.intensures initialization and returns the non-null executions listintintgetJobs()Returns the localized description of this process instance.Returns the localized name of this process instance.getName()Returns the name of this execution.ensures initialization and returns the parentGets the id of the parent of this execution.Returns Id of the process instance related to the super execution of this execution.protected VariableScopeImplReturns a representation of the object, as would be stored in the database.The process definition key for the process instance this execution is associated with.The key of the process definition of the process instance.The name of the process definition of the process instance.The version of the process definition of the process instance.ensures initialization and returns the process instance.The business key for the process instance this execution is associated with.Reference to the overall process instanceReturns the process variables if requested in the process instance queryThe 'root' process instance.protected ExecutionEntityImplused to calculate the sourceActivityExecution for methodinvalid reference
#updateActivityInstanceIdInHistoricVariableUpdate(HistoricDetailVariableInstanceUpdateEntity, ExecutionEntityImpl)protected VariableInstanceEntitygetSpecificVariable(String variableName) protected List<VariableInstanceEntity> getSpecificVariables(Collection<String> variableNames) Returns the start time of this process instance.Returns the user id of this process instance.Gets the id of the calling execution.intintintgetTasks()Returns the tenant id, if any is set before on the process definition or process instance.intintvoidInactivates this execution.protected voidinitializeVariableInstanceBackPointer(VariableInstanceEntity variableInstance) booleanisActive()returns whether this execution is currently active.booleanreturns whether this execution is concurrent or not.booleanbooleanbooleanisEnded()returns whether this execution has ended or not.booleanbooleanReturns whather this execution is the root of a multi instance execution.booleanreturns whether this execution is a process instance or not.booleanDetermines if the current execution is the root onebooleanisScope()Returns whether this execution is a scope.booleanIndicates if the execution is suspended.protected Collection<VariableInstanceEntity> voidsetActive(boolean isActive) makes this execution active or inactive.voidsetAppVersion(Integer appVersion) voidsetBusinessKey(String businessKey) voidsetConcurrent(boolean isConcurrent) changes the concurrent indicator on this execution.voidsetCountEnabled(boolean isCountEnabled) voidsetCurrentActivitiListener(org.activiti.bpmn.model.ActivitiListener currentActivitiListener) Called when anExecutionListeneris being executed.voidsetCurrentFlowElement(org.activiti.bpmn.model.FlowElement currentFlowElement) Change the current BPMN element the execution is at.voidsetDeadLetterJobCount(int deadLetterJobCount) voidsetDeleted(boolean isDeleted) voidsetDeleteReason(String deleteReason) voidsetDeploymentId(String deploymentId) voidsetDescription(String description) voidsetEnded(boolean isEnded) voidsetEventName(String eventName) Sets the current event (typically when execution anExecutionListener).voidsetEventScope(boolean isEventScope) voidsetEventSubscriptionCount(int eventSubscriptionCount) voidsetIdentityLinkCount(int identityLinkCount) voidsetJobCount(int jobCount) voidsetLocalizedDescription(String localizedDescription) voidsetLocalizedName(String localizedName) voidsetLockTime(Date lockTime) voidsetMultiInstanceRoot(boolean isMultiInstanceRoot) Changes whether this execution is a multi instance root or not.voidvoidsetParent(ExecutionEntity parent) voidsetParentId(String parentId) voidsetParentProcessInstanceId(String parentProcessInstanceId) voidsetProcessDefinitionId(String processDefinitionId) voidsetProcessDefinitionKey(String processDefinitionKey) voidsetProcessDefinitionName(String processDefinitionName) voidsetProcessDefinitionVersion(Integer processDefinitionVersion) voidsetProcessInstance(ExecutionEntity processInstance) voidsetProcessInstanceId(String processInstanceId) voidsetQueryVariables(List<VariableInstanceEntity> queryVariables) voidsetRootProcessInstance(ExecutionEntity rootProcessInstance) voidsetRootProcessInstanceId(String rootProcessInstanceId) voidsetScope(boolean isScope) Changes whether this execution is a scope or not.voidsetStartTime(Date startTime) voidsetStartUserId(String startUserId) voidsetSubProcessInstance(ExecutionEntity subProcessInstance) voidsetSuperExecution(ExecutionEntity superExecution) voidsetSuspendedJobCount(int suspendedJobCount) voidsetSuspensionState(int suspensionState) voidsetTaskCount(int taskCount) voidsetTenantId(String tenantId) voidsetTimerJobCount(int timerJobCount) voidsetVariableCount(int variableCount) toString()protected voidupdateVariableInstance(VariableInstanceEntity variableInstance, Object value, ExecutionEntity sourceActivityExecution) Methods inherited from class org.activiti.engine.impl.persistence.entity.VariableScopeImpl
collectTransientVariables, collectVariableInstances, collectVariableNames, collectVariables, createVariableLocal, 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, isActivityIdUsedForDetails, removeTransientVariable, removeTransientVariableLocal, removeTransientVariables, removeTransientVariablesLocal, removeVariable, removeVariable, removeVariableLocal, removeVariableLocal, removeVariables, removeVariables, removeVariablesLocal, removeVariablesLocal, setCachedElContext, setTransientVariable, setTransientVariableLocal, setTransientVariables, setTransientVariablesLocal, setVariable, setVariable, setVariable, setVariableLocal, setVariableLocal, setVariableLocal, setVariables, setVariablesLocalMethods inherited from class org.activiti.engine.impl.persistence.entity.AbstractEntity
getId, getRevision, getRevisionNext, isInserted, isUpdated, setId, setInserted, setRevision, setUpdatedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.activiti.engine.delegate.DelegateExecution
getEngineServices, getIdMethods inherited from interface org.activiti.engine.impl.persistence.entity.Entity
getId, isInserted, isUpdated, setId, setInserted, setUpdatedMethods inherited from interface org.activiti.engine.impl.db.HasRevision
getRevision, getRevisionNext, setRevisionMethods inherited from interface org.activiti.engine.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 Details
-
currentFlowElement
protected org.activiti.bpmn.model.FlowElement currentFlowElement -
currentActivitiListener
protected org.activiti.bpmn.model.ActivitiListener currentActivitiListener -
processInstance
the process instance. this is the root of the execution tree. the processInstance of a process instance is a self reference. -
parent
the parent execution -
executions
nested executions representing scopes or concurrent paths -
superExecution
super execution, not-null if this execution is part of a subprocess -
subProcessInstance
reference to a subprocessinstance, not-null if currently subprocess is started from this execution -
tenantId
The tenant identifier (if any) -
name
-
description
-
localizedName
-
localizedDescription
-
lockTime
-
isActive
protected boolean isActive -
isScope
protected boolean isScope -
isConcurrent
protected boolean isConcurrent -
isEnded
protected boolean isEnded -
isEventScope
protected boolean isEventScope -
isMultiInstanceRoot
protected boolean isMultiInstanceRoot -
isCountEnabled
protected boolean isCountEnabled -
eventName
-
eventSubscriptions
-
jobs
-
timerJobs
-
tasks
-
identityLinks
-
deleteReason
-
suspensionState
protected int suspensionState -
startUserId
-
startTime
-
eventSubscriptionCount
protected int eventSubscriptionCount -
taskCount
protected int taskCount -
jobCount
protected int jobCount -
timerJobCount
protected int timerJobCount -
suspendedJobCount
protected int suspendedJobCount -
deadLetterJobCount
protected int deadLetterJobCount -
variableCount
protected int variableCount -
identityLinkCount
protected int identityLinkCount -
processDefinitionId
persisted reference to the processDefinition.- See Also:
-
processDefinitionKey
persisted reference to the process definition key. -
processDefinitionName
persisted reference to the process definition name. -
processDefinitionVersion
persisted reference to the process definition version. -
deploymentId
persisted reference to the deployment id. -
activityId
persisted reference to the current position in the diagram within the.invalid reference
#processDefinition- See Also:
-
activityName
The name of the current activity position -
processInstanceId
persisted reference to the process instance.- See Also:
-
businessKey
persisted reference to the business key. -
parentId
persisted reference to the parent of this execution.- See Also:
-
superExecutionId
persisted reference to the super execution of this execution- See Also:
-
rootProcessInstanceId
-
rootProcessInstance
-
forcedUpdate
protected boolean forcedUpdate -
queryVariables
-
isDeleted
protected boolean isDeleted -
parentProcessInstanceId
-
-
Constructor Details
-
ExecutionEntityImpl
public ExecutionEntityImpl()
-
-
Method Details
-
createWithEmptyRelationshipCollections
Static factory method: to be used when a new execution is created for the very first time/ Calling this will make sure no extra db fetches are needed later on, as all collections will be populated with empty collections. If they would be null, it would trigger a database fetch for those relationship entities. -
getPersistentState
Description copied from interface:EntityReturns a representation of the object, as would be stored in the database. Used when deciding if updates have occurred to the object or not since it was last loaded.- Specified by:
getPersistentStatein interfaceEntity
-
getCurrentFlowElement
public org.activiti.bpmn.model.FlowElement getCurrentFlowElement()Description copied from interface:DelegateExecutionThe BPMN element where the execution currently is at.- Specified by:
getCurrentFlowElementin interfaceDelegateExecution
-
setCurrentFlowElement
public void setCurrentFlowElement(org.activiti.bpmn.model.FlowElement currentFlowElement) Description copied from interface:DelegateExecutionChange the current BPMN element the execution is at.- Specified by:
setCurrentFlowElementin interfaceDelegateExecution
-
getCurrentActivitiListener
public org.activiti.bpmn.model.ActivitiListener getCurrentActivitiListener()Description copied from interface:DelegateExecutionReturns theActivitiListenerinstance matching anExecutionListenerif currently an execution listener is being execution. Returns null otherwise.- Specified by:
getCurrentActivitiListenerin interfaceDelegateExecution
-
setCurrentActivitiListener
public void setCurrentActivitiListener(org.activiti.bpmn.model.ActivitiListener currentActivitiListener) Description copied from interface:DelegateExecutionCalled when anExecutionListeneris being executed.- Specified by:
setCurrentActivitiListenerin interfaceDelegateExecution
-
getExecutions
ensures initialization and returns the non-null executions list- Specified by:
getExecutionsin interfaceDelegateExecution- Specified by:
getExecutionsin interfaceExecutionEntity
-
addChildExecution
- Specified by:
addChildExecutionin interfaceExecutionEntity
-
ensureExecutionsInitialized
protected void ensureExecutionsInitialized() -
getBusinessKey
Description copied from interface:ProcessInstanceThe business key of this process instance.- Specified by:
getBusinessKeyin interfaceProcessInstance
-
setBusinessKey
- Specified by:
setBusinessKeyin interfaceExecutionEntity
-
getProcessInstanceBusinessKey
Description copied from interface:DelegateExecutionThe business key for the process instance this execution is associated with.- Specified by:
getProcessInstanceBusinessKeyin interfaceDelegateExecution
-
setProcessDefinitionId
- Specified by:
setProcessDefinitionIdin interfaceExecutionEntity
-
getProcessDefinitionId
Description copied from interface:DelegateExecutionThe process definition key for the process instance this execution is associated with.- Specified by:
getProcessDefinitionIdin interfaceDelegateExecution- Specified by:
getProcessDefinitionIdin interfaceProcessInstance
-
getProcessDefinitionKey
Description copied from interface:ProcessInstanceThe key of the process definition of the process instance.- Specified by:
getProcessDefinitionKeyin interfaceProcessInstance
-
setProcessDefinitionKey
- Specified by:
setProcessDefinitionKeyin interfaceExecutionEntity
-
getProcessDefinitionName
Description copied from interface:ProcessInstanceThe name of the process definition of the process instance.- Specified by:
getProcessDefinitionNamein interfaceProcessInstance
-
setProcessDefinitionName
- Specified by:
setProcessDefinitionNamein interfaceExecutionEntity
-
getProcessDefinitionVersion
Description copied from interface:ProcessInstanceThe version of the process definition of the process instance.- Specified by:
getProcessDefinitionVersionin interfaceProcessInstance
-
setProcessDefinitionVersion
- Specified by:
setProcessDefinitionVersionin interfaceExecutionEntity
-
getDeploymentId
Description copied from interface:ProcessInstanceThe deployment id of the process definition of the process instance.- Specified by:
getDeploymentIdin interfaceProcessInstance
-
setDeploymentId
- Specified by:
setDeploymentIdin interfaceExecutionEntity
-
getProcessInstance
ensures initialization and returns the process instance.- Specified by:
getProcessInstancein interfaceExecutionEntity
-
ensureProcessInstanceInitialized
protected void ensureProcessInstanceInitialized() -
setProcessInstance
- Specified by:
setProcessInstancein interfaceExecutionEntity
-
isProcessInstanceType
public boolean isProcessInstanceType()Description copied from interface:DelegateExecutionreturns whether this execution is a process instance or not.- Specified by:
isProcessInstanceTypein interfaceDelegateExecution
-
getParent
ensures initialization and returns the parent- Specified by:
getParentin interfaceDelegateExecution- Specified by:
getParentin interfaceExecutionEntity
-
ensureParentInitialized
protected void ensureParentInitialized() -
setParent
- Specified by:
setParentin interfaceExecutionEntity
-
getParentProcessInstanceId
Description copied from interface:ExecutionReturns Id of the process instance related to the super execution of this execution.- Specified by:
getParentProcessInstanceIdin interfaceExecution
-
setParentProcessInstanceId
- Specified by:
setParentProcessInstanceIdin interfaceExecutionEntity
-
getSuperExecutionId
Description copied from interface:DelegateExecutionGets the id of the calling execution. If not null, the execution is part of a subprocess.- Specified by:
getSuperExecutionIdin interfaceDelegateExecution- Specified by:
getSuperExecutionIdin interfaceExecution
-
getSuperExecution
- Specified by:
getSuperExecutionin interfaceExecutionEntity
-
setSuperExecution
- Specified by:
setSuperExecutionin interfaceExecutionEntity
-
ensureSuperExecutionInitialized
protected void ensureSuperExecutionInitialized() -
getSubProcessInstance
- Specified by:
getSubProcessInstancein interfaceExecutionEntity
-
setSubProcessInstance
- Specified by:
setSubProcessInstancein interfaceExecutionEntity
-
ensureSubProcessInstanceInitialized
protected void ensureSubProcessInstanceInitialized() -
getRootProcessInstance
- Specified by:
getRootProcessInstancein interfaceExecutionEntity
-
ensureRootProcessInstanceInitialized
protected void ensureRootProcessInstanceInitialized() -
setRootProcessInstance
- Specified by:
setRootProcessInstancein interfaceExecutionEntity
-
getRootProcessInstanceId
Description copied from interface:DelegateExecutionThe 'root' process instance. When using call activity for example, the processInstance set will not always be the root. This method returns the topmost process instance.- Specified by:
getRootProcessInstanceIdin interfaceDelegateExecution- Specified by:
getRootProcessInstanceIdin interfaceExecution
-
setRootProcessInstanceId
- Specified by:
setRootProcessInstanceIdin interfaceExecutionEntity
-
isRootExecution
public boolean isRootExecution()Description copied from interface:DelegateExecutionDetermines if the current execution is the root one- Specified by:
isRootExecutionin interfaceDelegateExecution- Returns:
- true if the current execution is the root one; false otherwise
-
isScope
public boolean isScope()Description copied from interface:DelegateExecutionReturns whether this execution is a scope.- Specified by:
isScopein interfaceDelegateExecution
-
setScope
public void setScope(boolean isScope) Description copied from interface:DelegateExecutionChanges whether this execution is a scope or not.- Specified by:
setScopein interfaceDelegateExecution
-
forceUpdate
public void forceUpdate()- Specified by:
forceUpdatein interfaceExecutionEntity
-
initializeVariableInstanceBackPointer
- Specified by:
initializeVariableInstanceBackPointerin classVariableScopeImpl
-
loadVariableInstances
- Specified by:
loadVariableInstancesin classVariableScopeImpl
-
getParentVariableScope
- Specified by:
getParentVariableScopein classVariableScopeImpl
-
getSourceActivityExecution
used to calculate the sourceActivityExecution for methodinvalid reference
#updateActivityInstanceIdInHistoricVariableUpdate(HistoricDetailVariableInstanceUpdateEntity, ExecutionEntityImpl)- Overrides:
getSourceActivityExecutionin classVariableScopeImpl
-
createVariableInstance
protected VariableInstanceEntity createVariableInstance(String variableName, Object value, ExecutionEntity sourceActivityExecution) - Overrides:
createVariableInstancein classVariableScopeImpl
-
updateVariableInstance
protected void updateVariableInstance(VariableInstanceEntity variableInstance, Object value, ExecutionEntity sourceActivityExecution) - Overrides:
updateVariableInstancein classVariableScopeImpl
-
getSpecificVariable
- Specified by:
getSpecificVariablein classVariableScopeImpl
-
getSpecificVariables
- Specified by:
getSpecificVariablesin classVariableScopeImpl
-
getEventSubscriptions
- Specified by:
getEventSubscriptionsin interfaceExecutionEntity
-
ensureEventSubscriptionsInitialized
protected void ensureEventSubscriptionsInitialized() -
getJobs
- Specified by:
getJobsin interfaceExecutionEntity
-
ensureJobsInitialized
protected void ensureJobsInitialized() -
getTimerJobs
- Specified by:
getTimerJobsin interfaceExecutionEntity
-
ensureTimerJobsInitialized
protected void ensureTimerJobsInitialized() -
ensureTasksInitialized
protected void ensureTasksInitialized() -
getTasks
- Specified by:
getTasksin interfaceExecutionEntity
-
getIdentityLinks
- Specified by:
getIdentityLinksin interfaceExecutionEntity
-
ensureIdentityLinksInitialized
protected void ensureIdentityLinksInitialized() -
getProcessInstanceId
Description copied from interface:DelegateExecutionReference to the overall process instance- Specified by:
getProcessInstanceIdin interfaceDelegateExecution- Specified by:
getProcessInstanceIdin interfaceExecution
-
setProcessInstanceId
- Specified by:
setProcessInstanceIdin interfaceExecutionEntity
-
getParentId
Description copied from interface:DelegateExecutionGets the id of the parent of this execution. If null, the execution represents a process-instance.- Specified by:
getParentIdin interfaceDelegateExecution- Specified by:
getParentIdin interfaceExecution
-
setParentId
- Specified by:
setParentIdin interfaceExecutionEntity
-
getActivityId
Description copied from interface:ExecutionReturns the id of the activity where the execution currently is at. Returns null if the execution is not a 'leaf' execution (eg concurrent parent).- Specified by:
getActivityIdin interfaceExecution
-
isConcurrent
public boolean isConcurrent()Description copied from interface:DelegateExecutionreturns whether this execution is concurrent or not.- Specified by:
isConcurrentin interfaceDelegateExecution
-
setConcurrent
public void setConcurrent(boolean isConcurrent) Description copied from interface:DelegateExecutionchanges the concurrent indicator on this execution.- Specified by:
setConcurrentin interfaceDelegateExecution
-
isActive
public boolean isActive()Description copied from interface:DelegateExecutionreturns whether this execution is currently active.- Specified by:
isActivein interfaceDelegateExecution
-
setActive
public void setActive(boolean isActive) Description copied from interface:DelegateExecutionmakes this execution active or inactive.- Specified by:
setActivein interfaceDelegateExecution
-
inactivate
public void inactivate()Description copied from interface:DelegateExecutionInactivates this execution. This is useful for example in a join: the execution still exists, but it is not longer active.- Specified by:
inactivatein interfaceDelegateExecution
-
isEnded
public boolean isEnded()Description copied from interface:DelegateExecutionreturns whether this execution has ended or not.- Specified by:
isEndedin interfaceDelegateExecution- Specified by:
isEndedin interfaceExecution
-
setEnded
public void setEnded(boolean isEnded) - Specified by:
setEndedin interfaceExecutionEntity
-
getEventName
Description copied from interface:DelegateExecutionWill contain the event name in case this execution is passed in for anExecutionListener.- Specified by:
getEventNamein interfaceDelegateExecution
-
setEventName
Description copied from interface:DelegateExecutionSets the current event (typically when execution anExecutionListener).- Specified by:
setEventNamein interfaceDelegateExecution- Specified by:
setEventNamein interfaceExecutionEntity
-
getDeleteReason
- Specified by:
getDeleteReasonin interfaceExecutionEntity
-
setDeleteReason
- Specified by:
setDeleteReasonin interfaceExecutionEntity
-
getSuspensionState
public int getSuspensionState()- Specified by:
getSuspensionStatein interfaceExecutionEntity
-
setSuspensionState
public void setSuspensionState(int suspensionState) - Specified by:
setSuspensionStatein interfaceExecutionEntity
-
isSuspended
public boolean isSuspended()Description copied from interface:ExecutionIndicates if the execution is suspended.- Specified by:
isSuspendedin interfaceExecution- Specified by:
isSuspendedin interfaceProcessInstance
-
isEventScope
public boolean isEventScope()- Specified by:
isEventScopein interfaceExecutionEntity
-
setEventScope
public void setEventScope(boolean isEventScope) - Specified by:
setEventScopein interfaceExecutionEntity
-
isMultiInstanceRoot
public boolean isMultiInstanceRoot()Description copied from interface:DelegateExecutionReturns whather this execution is the root of a multi instance execution.- Specified by:
isMultiInstanceRootin interfaceDelegateExecution- Specified by:
isMultiInstanceRootin interfaceExecutionEntity
-
setMultiInstanceRoot
public void setMultiInstanceRoot(boolean isMultiInstanceRoot) Description copied from interface:DelegateExecutionChanges whether this execution is a multi instance root or not.- Specified by:
setMultiInstanceRootin interfaceDelegateExecution- Specified by:
setMultiInstanceRootin interfaceExecutionEntity- Parameters:
isMultiInstanceRoot-
-
isCountEnabled
public boolean isCountEnabled()- Specified by:
isCountEnabledin interfaceCountingExecutionEntity
-
setCountEnabled
public void setCountEnabled(boolean isCountEnabled) - Specified by:
setCountEnabledin interfaceCountingExecutionEntity
-
getCurrentActivityId
Description copied from interface:DelegateExecutionGets the id of the current activity.- Specified by:
getCurrentActivityIdin interfaceDelegateExecution
-
getName
Description copied from interface:ExecutionReturns the name of this execution.- Specified by:
getNamein interfaceExecution- Specified by:
getNamein interfaceProcessInstance
-
setName
- Specified by:
setNamein interfaceExecutionEntity
-
getDescription
Description copied from interface:ExecutionReturns the description of this execution.- Specified by:
getDescriptionin interfaceExecution- Specified by:
getDescriptionin interfaceProcessInstance
-
setDescription
- Specified by:
setDescriptionin interfaceExecutionEntity
-
getLocalizedName
Description copied from interface:ProcessInstanceReturns the localized name of this process instance.- Specified by:
getLocalizedNamein interfaceProcessInstance
-
setLocalizedName
- Specified by:
setLocalizedNamein interfaceExecutionEntity
-
getLocalizedDescription
Description copied from interface:ProcessInstanceReturns the localized description of this process instance.- Specified by:
getLocalizedDescriptionin interfaceProcessInstance
-
setLocalizedDescription
- Specified by:
setLocalizedDescriptionin interfaceExecutionEntity
-
getTenantId
Description copied from interface:DelegateExecutionReturns the tenant id, if any is set before on the process definition or process instance.- Specified by:
getTenantIdin interfaceDelegateExecution- Specified by:
getTenantIdin interfaceExecution- Specified by:
getTenantIdin interfaceProcessInstance
-
setTenantId
- Specified by:
setTenantIdin interfaceExecutionEntity
-
getLockTime
- Specified by:
getLockTimein interfaceExecutionEntity
-
setLockTime
- Specified by:
setLockTimein interfaceExecutionEntity
-
getProcessVariables
Description copied from interface:ProcessInstanceReturns the process variables if requested in the process instance query- Specified by:
getProcessVariablesin interfaceProcessInstance
-
getQueryVariables
-
setQueryVariables
-
isDeleted
public boolean isDeleted()- Specified by:
isDeletedin interfaceEntity- Specified by:
isDeletedin interfaceExecutionEntity- Overrides:
isDeletedin classAbstractEntity
-
setDeleted
public void setDeleted(boolean isDeleted) - Specified by:
setDeletedin interfaceEntity- Specified by:
setDeletedin interfaceExecutionEntity- Overrides:
setDeletedin classAbstractEntity
-
getActivityName
-
getStartUserId
Description copied from interface:ProcessInstanceReturns the user id of this process instance.- Specified by:
getStartUserIdin interfaceExecutionEntity- Specified by:
getStartUserIdin interfaceProcessInstance
-
setStartUserId
- Specified by:
setStartUserIdin interfaceExecutionEntity
-
getStartTime
Description copied from interface:ProcessInstanceReturns the start time of this process instance.- Specified by:
getStartTimein interfaceExecutionEntity- Specified by:
getStartTimein interfaceProcessInstance
-
setStartTime
- Specified by:
setStartTimein interfaceExecutionEntity
-
getEventSubscriptionCount
public int getEventSubscriptionCount()- Specified by:
getEventSubscriptionCountin interfaceCountingExecutionEntity
-
setEventSubscriptionCount
public void setEventSubscriptionCount(int eventSubscriptionCount) - Specified by:
setEventSubscriptionCountin interfaceCountingExecutionEntity
-
getTaskCount
public int getTaskCount()- Specified by:
getTaskCountin interfaceCountingExecutionEntity
-
setTaskCount
public void setTaskCount(int taskCount) - Specified by:
setTaskCountin interfaceCountingExecutionEntity
-
getJobCount
public int getJobCount()- Specified by:
getJobCountin interfaceCountingExecutionEntity
-
setJobCount
public void setJobCount(int jobCount) - Specified by:
setJobCountin interfaceCountingExecutionEntity
-
getTimerJobCount
public int getTimerJobCount()- Specified by:
getTimerJobCountin interfaceCountingExecutionEntity
-
setTimerJobCount
public void setTimerJobCount(int timerJobCount) - Specified by:
setTimerJobCountin interfaceCountingExecutionEntity
-
getSuspendedJobCount
public int getSuspendedJobCount()- Specified by:
getSuspendedJobCountin interfaceCountingExecutionEntity
-
setSuspendedJobCount
public void setSuspendedJobCount(int suspendedJobCount) - Specified by:
setSuspendedJobCountin interfaceCountingExecutionEntity
-
getDeadLetterJobCount
public int getDeadLetterJobCount()- Specified by:
getDeadLetterJobCountin interfaceCountingExecutionEntity
-
setDeadLetterJobCount
public void setDeadLetterJobCount(int deadLetterJobCount) - Specified by:
setDeadLetterJobCountin interfaceCountingExecutionEntity
-
getVariableCount
public int getVariableCount()- Specified by:
getVariableCountin interfaceCountingExecutionEntity
-
setVariableCount
public void setVariableCount(int variableCount) - Specified by:
setVariableCountin interfaceCountingExecutionEntity
-
getIdentityLinkCount
public int getIdentityLinkCount()- Specified by:
getIdentityLinkCountin interfaceCountingExecutionEntity
-
setIdentityLinkCount
public void setIdentityLinkCount(int identityLinkCount) - Specified by:
setIdentityLinkCountin interfaceCountingExecutionEntity
-
setAppVersion
- Specified by:
setAppVersionin interfaceProcessInstance
-
getAppVersion
- Specified by:
getAppVersionin interfaceProcessInstance
-
toString
-