org.activiti.engine.delegate
接口 DelegateExecution

所有超级接口:
VariableScope
所有已知子接口:
ActivityExecution, ExecutionListenerExecution, InterpretableExecution
所有已知实现类:
ExecutionEntity, ExecutionImpl

public interface DelegateExecution
extends VariableScope

Execution used in JavaDelegates and ExecutionListeners.

作者:
Tom Baeyens

方法摘要
 String getBusinessKey()
          已过时。 use getProcessBusinessKey() to get the business key for the process associated with this execution, regardless whether or not this execution is a process-instance.
 String getCurrentActivityId()
          Gets the id of the current activity.
 String getCurrentActivityName()
          Gets the name of the current activity.
 EngineServices getEngineServices()
          All Activiti services can be accessed through this interface.
 String getEventName()
          The event name in case this execution is passed in for an ExecutionListener
 String getId()
          Unique id of this path of execution that can be used as a handle to provide external signals back into the engine after wait states.
 String getParentId()
          Gets the id of the parent of this execution.
 String getProcessBusinessKey()
          The business key for the process instance this execution is associated with.
 String getProcessDefinitionId()
          The process definition key for the process instance this execution is associated with.
 String getProcessInstanceId()
          Reference to the overall process instance
 String updateProcessBusinessKey(String bzKey)
          Update process business key if not null.
 
从接口 org.activiti.engine.delegate.VariableScope 继承的方法
createVariableLocal, getVariable, getVariableLocal, getVariableNames, getVariableNamesLocal, getVariables, getVariablesLocal, hasVariable, hasVariableLocal, hasVariables, hasVariablesLocal, removeVariable, removeVariableLocal, removeVariables, removeVariables, removeVariablesLocal, removeVariablesLocal, setVariable, setVariableLocal, setVariables, setVariablesLocal
 

方法详细信息

getId

String getId()
Unique id of this path of execution that can be used as a handle to provide external signals back into the engine after wait states.


getProcessInstanceId

String getProcessInstanceId()
Reference to the overall process instance


getEventName

String getEventName()
The event name in case this execution is passed in for an ExecutionListener


getBusinessKey

String getBusinessKey()
已过时。 use getProcessBusinessKey() to get the business key for the process associated with this execution, regardless whether or not this execution is a process-instance.

The business key for this execution. Only returns a value if the delegate execution is a process instance.


getProcessBusinessKey

String getProcessBusinessKey()
The business key for the process instance this execution is associated with.


getProcessDefinitionId

String getProcessDefinitionId()
The process definition key for the process instance this execution is associated with.


getParentId

String getParentId()
Gets the id of the parent of this execution. If null, the execution represents a process-instance.


getCurrentActivityId

String getCurrentActivityId()
Gets the id of the current activity.


getCurrentActivityName

String getCurrentActivityName()
Gets the name of the current activity.


getEngineServices

EngineServices getEngineServices()
All Activiti services can be accessed through this interface.


updateProcessBusinessKey

String updateProcessBusinessKey(String bzKey)
Update process business key if not null. Returns null if not updated



Copyright © 2013 Alfresco. All rights reserved.