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
Modifier and TypeMethodDescriptionvoidaddChildExecution(ExecutionEntity executionEntity) voidList<? extends ExecutionEntity>returns the list of execution of which this execution the parent of.getJobs()returns the parent of this execution, or null if there's no parent.Returns the start time of this process instance.Returns the user id of this process instance.intgetTasks()booleanbooleanbooleanReturns whather this execution is the root of a multi instance execution.voidsetBusinessKey(String businessKey) 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) 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) voidsetRootProcessInstance(ExecutionEntity rootProcessInstance) voidsetRootProcessInstanceId(String rootProcessInstanceId) voidsetStartTime(Date startTime) voidsetStartUserId(String startUserId) voidsetSubProcessInstance(ExecutionEntity subProcessInstance) voidsetSuperExecution(ExecutionEntity superExecution) voidsetSuspensionState(int suspensionState) voidsetTenantId(String tenantId) Methods inherited from interface org.activiti.engine.delegate.DelegateExecution
getCurrentActivitiListener, getCurrentActivityId, getCurrentFlowElement, getEngineServices, getEventName, getId, getParentId, getProcessDefinitionId, getProcessInstanceBusinessKey, getProcessInstanceId, getRootProcessInstanceId, getSuperExecutionId, getTenantId, inactivate, isActive, isConcurrent, isEnded, isProcessInstanceType, isRootExecution, isScope, setActive, setConcurrent, setCurrentActivitiListener, setCurrentFlowElement, setScopeMethods inherited from interface org.activiti.engine.impl.persistence.entity.Entity
getId, getPersistentState, isInserted, isUpdated, setId, setInserted, setUpdatedMethods inherited from interface org.activiti.engine.runtime.Execution
getActivityId, getId, getParentId, getParentProcessInstanceId, getProcessInstanceId, getRootProcessInstanceId, getSuperExecutionId, isEndedMethods inherited from interface org.activiti.engine.impl.db.HasRevision
getRevision, getRevisionNext, setRevisionMethods inherited from interface org.activiti.engine.runtime.ProcessInstance
getAppVersion, getBusinessKey, getDeploymentId, getDescription, getLocalizedDescription, getLocalizedName, getName, getProcessDefinitionId, getProcessDefinitionKey, getProcessDefinitionName, getProcessDefinitionVersion, getProcessVariables, getTenantId, isSuspended, setAppVersionMethods 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 Details
-
setBusinessKey
-
setProcessDefinitionId
-
setProcessDefinitionKey
-
setProcessDefinitionName
-
setProcessDefinitionVersion
-
setDeploymentId
-
getProcessInstance
ExecutionEntity getProcessInstance() -
setProcessInstance
-
getParent
ExecutionEntity getParent()Description copied from interface:DelegateExecutionreturns the parent of this execution, or null if there's no parent.- Specified by:
getParentin interfaceDelegateExecution
-
setParent
-
getSuperExecution
ExecutionEntity getSuperExecution() -
setSuperExecution
-
getSubProcessInstance
ExecutionEntity getSubProcessInstance() -
setSubProcessInstance
-
setRootProcessInstanceId
-
setParentProcessInstanceId
-
getRootProcessInstance
ExecutionEntity getRootProcessInstance() -
setRootProcessInstance
-
getExecutions
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
-
getTasks
List<TaskEntity> getTasks() -
getEventSubscriptions
List<EventSubscriptionEntity> getEventSubscriptions() -
getJobs
-
getTimerJobs
List<TimerJobEntity> getTimerJobs() -
getIdentityLinks
List<IdentityLinkEntity> getIdentityLinks() -
setProcessInstanceId
-
setParentId
-
setEnded
void setEnded(boolean isEnded) -
setEventName
Description copied from interface:DelegateExecutionSets the current event (typically when execution anExecutionListener).- Specified by:
setEventNamein interfaceDelegateExecution
-
getDeleteReason
String getDeleteReason() -
setDeleteReason
-
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
-
setDescription
-
setLocalizedName
-
setLocalizedDescription
-
setTenantId
-
getLockTime
Date getLockTime() -
setLockTime
-
isDeleted
boolean isDeleted() -
setDeleted
void setDeleted(boolean isDeleted) - Specified by:
setDeletedin interfaceEntity
-
forceUpdate
void forceUpdate() -
getStartUserId
String getStartUserId()Description copied from interface:ProcessInstanceReturns the user id of this process instance.- Specified by:
getStartUserIdin interfaceProcessInstance
-
setStartUserId
-
getStartTime
Date getStartTime()Description copied from interface:ProcessInstanceReturns the start time of this process instance.- Specified by:
getStartTimein interfaceProcessInstance
-
setStartTime
-