Interface ExecutionEntity
-
- All Superinterfaces:
AlwaysUpdatedPersistentObject,DelegateExecution,Entity,Execution,HasRevision,ProcessInstance,VariableContainer,org.flowable.variable.api.delegate.VariableScope
- All Known Implementing Classes:
ExecutionEntityImpl
public interface ExecutionEntity extends DelegateExecution, Execution, ProcessInstance, Entity, AlwaysUpdatedPersistentObject, HasRevision
- Author:
- Tom Baeyens, Daniel Meyer, Falko Menge, Saeid Mirzaei, Joram Barrez
-
-
Field Summary
Fields Modifier and Type Field Description static Comparator<ExecutionEntity>EXECUTION_ENTITY_START_TIME_ASC_COMPARATOR
-
Method Summary
-
Methods inherited from interface org.flowable.engine.delegate.DelegateExecution
getCurrentActivityId, getCurrentFlowableListener, getCurrentFlowElement, getEventName, getId, getParentId, getProcessDefinitionId, getProcessInstanceBusinessKey, getProcessInstanceBusinessStatus, getProcessInstanceId, getPropagatedStageInstanceId, getRootProcessInstanceId, getSuperExecutionId, getTenantId, inactivate, isActive, isConcurrent, isEnded, isMultiInstanceRoot, isProcessInstanceType, isScope, setActive, setConcurrent, setCurrentFlowableListener, setCurrentFlowElement, setEventName, setMultiInstanceRoot, setScope, snapshotReadOnly
-
Methods inherited from interface org.flowable.common.engine.impl.persistence.entity.Entity
getId, getIdPrefix, getOriginalPersistentState, getPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdated
-
Methods inherited from interface org.flowable.engine.runtime.Execution
getActivityId, getId, getParentId, getProcessInstanceId, getPropagatedStageInstanceId, getReferenceId, getReferenceType, getRootProcessInstanceId, getSuperExecutionId, isEnded
-
Methods inherited from interface org.flowable.common.engine.impl.db.HasRevision
getRevision, getRevisionNext, setRevision
-
Methods inherited from interface org.flowable.engine.runtime.ProcessInstance
getBusinessKey, getBusinessStatus, getCallbackId, getCallbackType, getDeploymentId, getDescription, getLocalizedDescription, getLocalizedName, getName, getProcessDefinitionId, getProcessDefinitionKey, getProcessDefinitionName, getProcessDefinitionVersion, getProcessVariables, getStartTime, getStartUserId, getTenantId, isSuspended
-
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
-
EXECUTION_ENTITY_START_TIME_ASC_COMPARATOR
static final Comparator<ExecutionEntity> EXECUTION_ENTITY_START_TIME_ASC_COMPARATOR
-
-
Method Detail
-
setBusinessKey
void setBusinessKey(String businessKey)
-
setBusinessStatus
void setBusinessStatus(String businessStatus)
-
setProcessDefinitionId
void setProcessDefinitionId(String processDefinitionId)
-
setProcessDefinitionKey
void setProcessDefinitionKey(String processDefinitionKey)
-
setProcessDefinitionName
void setProcessDefinitionName(String processDefinitionName)
-
setProcessDefinitionVersion
void setProcessDefinitionVersion(Integer processDefinitionVersion)
-
setDeploymentId
void setDeploymentId(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(String rootProcessInstanceId)
-
getRootProcessInstance
ExecutionEntity getRootProcessInstance()
-
setRootProcessInstance
void setRootProcessInstance(ExecutionEntity rootProcessInstance)
-
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
void addChildExecution(ExecutionEntity executionEntity)
-
getEventSubscriptions
List<EventSubscriptionEntity> getEventSubscriptions()
-
getIdentityLinks
List<IdentityLinkEntity> getIdentityLinks()
-
setProcessInstanceId
void setProcessInstanceId(String processInstanceId)
-
setParentId
void setParentId(String parentId)
-
setEnded
void setEnded(boolean isEnded)
-
getDeleteReason
String getDeleteReason()
-
setDeleteReason
void setDeleteReason(String deleteReason)
-
getSuspensionState
int getSuspensionState()
-
setSuspensionState
void setSuspensionState(int suspensionState)
-
isEventScope
boolean isEventScope()
-
setEventScope
void setEventScope(boolean isEventScope)
-
setName
void setName(String name)
-
setDescription
void setDescription(String description)
-
setLocalizedName
void setLocalizedName(String localizedName)
-
setLocalizedDescription
void setLocalizedDescription(String localizedDescription)
-
setTenantId
void setTenantId(String tenantId)
-
getLockTime
Date getLockTime()
-
setLockTime
void setLockTime(Date lockTime)
-
getLockOwner
String getLockOwner()
-
setLockOwner
void setLockOwner(String lockOwner)
-
forceUpdate
void forceUpdate()
-
getStartActivityId
String getStartActivityId()
-
setStartActivityId
void setStartActivityId(String startActivityId)
-
setStartUserId
void setStartUserId(String startUserId)
-
setStartTime
void setStartTime(Date startTime)
-
setCallbackId
void setCallbackId(String callbackId)
-
setCallbackType
void setCallbackType(String callbackType)
-
setVariable
void setVariable(String variableName, Object value, ExecutionEntity sourceExecution, boolean fetchAllVariables)
-
setReferenceId
void setReferenceId(String referenceId)
-
setReferenceType
void setReferenceType(String referenceType)
-
setPropagatedStageInstanceId
void setPropagatedStageInstanceId(String propagatedStageInstanceId)
-
setVariableLocal
Object setVariableLocal(String variableName, Object value, ExecutionEntity sourceExecution, boolean fetchAllVariables)
-
getOriginatingCurrentFlowElement
org.flowable.bpmn.model.FlowElement getOriginatingCurrentFlowElement()
-
setOriginatingCurrentFlowElement
void setOriginatingCurrentFlowElement(org.flowable.bpmn.model.FlowElement flowElement)
-
getQueryVariables
List<VariableInstanceEntity> getQueryVariables()
-
-