Interface ExecutionEntity
-
- All Superinterfaces:
DelegateExecution,Entity,Execution,HasRevision,ProcessInstance,VariableScope
- All Known Implementing Classes:
ExecutionEntityImpl
@Internal public interface ExecutionEntity extends DelegateExecution, Execution, ProcessInstance, Entity, HasRevision
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddChildExecution(ExecutionEntity executionEntity)voidforceUpdate()java.lang.StringgetDeleteReason()java.util.List<EventSubscriptionEntity>getEventSubscriptions()java.util.List<? extends ExecutionEntity>getExecutions()returns the list of execution of which this execution the parent of.java.util.List<IdentityLinkEntity>getIdentityLinks()java.util.List<JobEntity>getJobs()java.util.DategetLockTime()ExecutionEntitygetParent()returns the parent of this execution, or null if there no parent.ExecutionEntitygetProcessInstance()ExecutionEntitygetRootProcessInstance()java.util.DategetStartTime()Returns the start time of this process instance.java.lang.StringgetStartUserId()Returns the user id of this process instance.ExecutionEntitygetSubProcessInstance()ExecutionEntitygetSuperExecution()intgetSuspensionState()java.util.List<TaskEntity>getTasks()java.util.List<TimerJobEntity>getTimerJobs()booleanisDeleted()booleanisEventScope()booleanisMultiInstanceRoot()Returns whather this execution is the root of a multi instance execution.voidsetBusinessKey(java.lang.String businessKey)voidsetDeleted(boolean isDeleted)voidsetDeleteReason(java.lang.String deleteReason)voidsetDeploymentId(java.lang.String deploymentId)voidsetDescription(java.lang.String description)voidsetEnded(boolean isEnded)voidsetEventName(java.lang.String eventName)Sets the current event (typically when execution anExecutionListener).voidsetEventScope(boolean isEventScope)voidsetLocalizedDescription(java.lang.String localizedDescription)voidsetLocalizedName(java.lang.String localizedName)voidsetLockTime(java.util.Date lockTime)voidsetMultiInstanceRoot(boolean isMultiInstanceRoot)Changes whether this execution is a multi instance root or not.voidsetName(java.lang.String name)voidsetParent(ExecutionEntity parent)voidsetParentId(java.lang.String parentId)voidsetParentProcessInstanceId(java.lang.String parentProcessInstanceId)voidsetProcessDefinitionId(java.lang.String processDefinitionId)voidsetProcessDefinitionKey(java.lang.String processDefinitionKey)voidsetProcessDefinitionName(java.lang.String processDefinitionName)voidsetProcessDefinitionVersion(java.lang.Integer processDefinitionVersion)voidsetProcessInstance(ExecutionEntity processInstance)voidsetProcessInstanceId(java.lang.String processInstanceId)voidsetRootProcessInstance(ExecutionEntity rootProcessInstance)voidsetRootProcessInstanceId(java.lang.String rootProcessInstanceId)voidsetStartTime(java.util.Date startTime)voidsetStartUserId(java.lang.String startUserId)voidsetSubProcessInstance(ExecutionEntity subProcessInstance)voidsetSuperExecution(ExecutionEntity superExecution)voidsetSuspensionState(int suspensionState)voidsetTenantId(java.lang.String tenantId)-
Methods inherited from interface org.activiti.engine.delegate.DelegateExecution
getCurrentActivitiListener, getCurrentActivityId, getCurrentFlowElement, getEventName, getId, getParentId, getProcessDefinitionId, getProcessInstanceBusinessKey, getProcessInstanceId, getRootProcessInstanceId, getSuperExecutionId, getTenantId, inactivate, isActive, isConcurrent, isEnded, isProcessInstanceType, isScope, setActive, setConcurrent, setCurrentActivitiListener, setCurrentFlowElement, setScope
-
Methods inherited from interface org.activiti.engine.impl.persistence.entity.Entity
getId, getPersistentState, isInserted, isUpdated, setId, setInserted, setUpdated
-
Methods inherited from interface org.activiti.engine.runtime.Execution
getActivityId, getId, getParentId, getParentProcessInstanceId, getProcessInstanceId, getRootProcessInstanceId, getSuperExecutionId, isEnded
-
Methods inherited from interface org.activiti.engine.impl.db.HasRevision
getRevision, getRevisionNext, setRevision
-
Methods inherited from interface org.activiti.engine.runtime.ProcessInstance
getAppVersion, getBusinessKey, getDeploymentId, getDescription, getLocalizedDescription, getLocalizedName, getName, getProcessDefinitionId, getProcessDefinitionKey, getProcessDefinitionName, getProcessDefinitionVersion, getProcessVariables, getTenantId, isSuspended, setAppVersion
-
Methods 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
-
-
-
-
Method Detail
-
setBusinessKey
void setBusinessKey(java.lang.String businessKey)
-
setProcessDefinitionId
void setProcessDefinitionId(java.lang.String processDefinitionId)
-
setProcessDefinitionKey
void setProcessDefinitionKey(java.lang.String processDefinitionKey)
-
setProcessDefinitionName
void setProcessDefinitionName(java.lang.String processDefinitionName)
-
setProcessDefinitionVersion
void setProcessDefinitionVersion(java.lang.Integer processDefinitionVersion)
-
setDeploymentId
void setDeploymentId(java.lang.String deploymentId)
-
getProcessInstance
ExecutionEntity getProcessInstance()
-
setProcessInstance
void setProcessInstance(ExecutionEntity processInstance)
-
getParent
ExecutionEntity getParent()
Description copied from interface:DelegateExecutionreturns the parent of this execution, or null if there no parent.- Specified by:
getParentin interfaceDelegateExecution
-
setParent
void setParent(ExecutionEntity parent)
-
getSuperExecution
ExecutionEntity getSuperExecution()
-
setSuperExecution
void setSuperExecution(ExecutionEntity superExecution)
-
getSubProcessInstance
ExecutionEntity getSubProcessInstance()
-
setSubProcessInstance
void setSubProcessInstance(ExecutionEntity subProcessInstance)
-
setRootProcessInstanceId
void setRootProcessInstanceId(java.lang.String rootProcessInstanceId)
-
setParentProcessInstanceId
void setParentProcessInstanceId(java.lang.String parentProcessInstanceId)
-
getRootProcessInstance
ExecutionEntity getRootProcessInstance()
-
setRootProcessInstance
void setRootProcessInstance(ExecutionEntity rootProcessInstance)
-
getExecutions
java.util.List<? extends ExecutionEntity> getExecutions()
Description copied from interface:DelegateExecutionreturns the list of execution of which this execution the parent of.- Specified by:
getExecutionsin interfaceDelegateExecution
-
addChildExecution
void addChildExecution(ExecutionEntity executionEntity)
-
getTasks
java.util.List<TaskEntity> getTasks()
-
getEventSubscriptions
java.util.List<EventSubscriptionEntity> getEventSubscriptions()
-
getJobs
java.util.List<JobEntity> getJobs()
-
getTimerJobs
java.util.List<TimerJobEntity> getTimerJobs()
-
getIdentityLinks
java.util.List<IdentityLinkEntity> getIdentityLinks()
-
setProcessInstanceId
void setProcessInstanceId(java.lang.String processInstanceId)
-
setParentId
void setParentId(java.lang.String parentId)
-
setEnded
void setEnded(boolean isEnded)
-
setEventName
void setEventName(java.lang.String eventName)
Description copied from interface:DelegateExecutionSets the current event (typically when execution anExecutionListener).- Specified by:
setEventNamein interfaceDelegateExecution
-
getDeleteReason
java.lang.String getDeleteReason()
-
setDeleteReason
void setDeleteReason(java.lang.String deleteReason)
-
getSuspensionState
int getSuspensionState()
-
setSuspensionState
void setSuspensionState(int suspensionState)
-
isEventScope
boolean isEventScope()
-
setEventScope
void setEventScope(boolean isEventScope)
-
isMultiInstanceRoot
boolean isMultiInstanceRoot()
Description copied from interface:DelegateExecutionReturns whather this execution is the root of a multi instance execution.- Specified by:
isMultiInstanceRootin interfaceDelegateExecution
-
setMultiInstanceRoot
void setMultiInstanceRoot(boolean isMultiInstanceRoot)
Description copied from interface:DelegateExecutionChanges whether this execution is a multi instance root or not.- Specified by:
setMultiInstanceRootin interfaceDelegateExecution
-
setName
void setName(java.lang.String name)
-
setDescription
void setDescription(java.lang.String description)
-
setLocalizedName
void setLocalizedName(java.lang.String localizedName)
-
setLocalizedDescription
void setLocalizedDescription(java.lang.String localizedDescription)
-
setTenantId
void setTenantId(java.lang.String tenantId)
-
getLockTime
java.util.Date getLockTime()
-
setLockTime
void setLockTime(java.util.Date lockTime)
-
setDeleted
void setDeleted(boolean isDeleted)
- Specified by:
setDeletedin interfaceEntity
-
forceUpdate
void forceUpdate()
-
getStartUserId
java.lang.String getStartUserId()
Description copied from interface:ProcessInstanceReturns the user id of this process instance.- Specified by:
getStartUserIdin interfaceProcessInstance
-
setStartUserId
void setStartUserId(java.lang.String startUserId)
-
getStartTime
java.util.Date getStartTime()
Description copied from interface:ProcessInstanceReturns the start time of this process instance.- Specified by:
getStartTimein interfaceProcessInstance
-
setStartTime
void setStartTime(java.util.Date startTime)
-
-