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 void
addChildExecution(ExecutionEntity executionEntity)
void
forceUpdate()
java.lang.String
getDeleteReason()
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.Date
getLockTime()
ExecutionEntity
getParent()
returns the parent of this execution, or null if there no parent.ExecutionEntity
getProcessInstance()
ExecutionEntity
getRootProcessInstance()
java.util.Date
getStartTime()
Returns the start time of this process instance.java.lang.String
getStartUserId()
Returns the user id of this process instance.ExecutionEntity
getSubProcessInstance()
ExecutionEntity
getSuperExecution()
int
getSuspensionState()
java.util.List<TaskEntity>
getTasks()
java.util.List<TimerJobEntity>
getTimerJobs()
boolean
isDeleted()
boolean
isEventScope()
boolean
isMultiInstanceRoot()
Returns whather this execution is the root of a multi instance execution.void
setBusinessKey(java.lang.String businessKey)
void
setDeleted(boolean isDeleted)
void
setDeleteReason(java.lang.String deleteReason)
void
setDeploymentId(java.lang.String deploymentId)
void
setDescription(java.lang.String description)
void
setEnded(boolean isEnded)
void
setEventName(java.lang.String eventName)
Sets the current event (typically when execution anExecutionListener
).void
setEventScope(boolean isEventScope)
void
setLocalizedDescription(java.lang.String localizedDescription)
void
setLocalizedName(java.lang.String localizedName)
void
setLockTime(java.util.Date lockTime)
void
setMultiInstanceRoot(boolean isMultiInstanceRoot)
Changes whether this execution is a multi instance root or not.void
setName(java.lang.String name)
void
setParent(ExecutionEntity parent)
void
setParentId(java.lang.String parentId)
void
setParentProcessInstanceId(java.lang.String parentProcessInstanceId)
void
setProcessDefinitionId(java.lang.String processDefinitionId)
void
setProcessDefinitionKey(java.lang.String processDefinitionKey)
void
setProcessDefinitionName(java.lang.String processDefinitionName)
void
setProcessDefinitionVersion(java.lang.Integer processDefinitionVersion)
void
setProcessInstance(ExecutionEntity processInstance)
void
setProcessInstanceId(java.lang.String processInstanceId)
void
setRootProcessInstance(ExecutionEntity rootProcessInstance)
void
setRootProcessInstanceId(java.lang.String rootProcessInstanceId)
void
setStartTime(java.util.Date startTime)
void
setStartUserId(java.lang.String startUserId)
void
setSubProcessInstance(ExecutionEntity subProcessInstance)
void
setSuperExecution(ExecutionEntity superExecution)
void
setSuspensionState(int suspensionState)
void
setTenantId(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
getBusinessKey, getDeploymentId, getDescription, getLocalizedDescription, getLocalizedName, getName, getProcessDefinitionId, getProcessDefinitionKey, getProcessDefinitionName, getProcessDefinitionVersion, getProcessVariables, getTenantId, isSuspended
-
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:DelegateExecution
returns the parent of this execution, or null if there no parent.- Specified by:
getParent
in 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:DelegateExecution
returns the list of execution of which this execution the parent of.- Specified by:
getExecutions
in 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:DelegateExecution
Sets the current event (typically when execution anExecutionListener
).- Specified by:
setEventName
in 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:DelegateExecution
Returns whather this execution is the root of a multi instance execution.- Specified by:
isMultiInstanceRoot
in interfaceDelegateExecution
-
setMultiInstanceRoot
void setMultiInstanceRoot(boolean isMultiInstanceRoot)
Description copied from interface:DelegateExecution
Changes whether this execution is a multi instance root or not.- Specified by:
setMultiInstanceRoot
in 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:
setDeleted
in interfaceEntity
-
forceUpdate
void forceUpdate()
-
getStartUserId
java.lang.String getStartUserId()
Description copied from interface:ProcessInstance
Returns the user id of this process instance.- Specified by:
getStartUserId
in interfaceProcessInstance
-
setStartUserId
void setStartUserId(java.lang.String startUserId)
-
getStartTime
java.util.Date getStartTime()
Description copied from interface:ProcessInstance
Returns the start time of this process instance.- Specified by:
getStartTime
in interfaceProcessInstance
-
setStartTime
void setStartTime(java.util.Date startTime)
-
-