|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides run-time context and services to plugin actions. The framework
passes an instance of this interface to the PluginAction.execute(com.bea.wlpi.server.plugin.ActionContext, com.bea.wlpi.server.common.ExecutionContext)
method.
PluginAction
,
ActionInfo
Method Summary | |
int |
executeSubActionList(int index,
ExecutionContext context)
Iterate through a list of sub-actions, executing each in turn. |
java.lang.String |
getActionId()
Return the ID that uniquely identifies this action. |
java.lang.String |
instantiateWorkflow(ExecutionContext context,
java.lang.String orgID,
java.lang.String templateID,
VariableInfo[] initialValues,
java.util.Map pluginData)
Create a new workflow instance. |
java.lang.String |
instantiateWorkflow(ExecutionContext context,
java.lang.String orgID,
java.lang.String templateID,
VariableInfo[] initialValues,
java.util.Map pluginData,
boolean start)
Create a new workflow instance. |
java.lang.String |
startWorkflow(ExecutionContext context,
java.lang.String instanceID,
EventData eventData)
Start a previously instantiated workflow. |
Method Detail |
public int executeSubActionList(int index, ExecutionContext context) throws WorkflowException
index
- The index of the sub-action list to execute. It
equates to the index in the classNames
member of the
corresponding ActionInfo
.context
- The execution context passed by the caller.ExecutionContext.CONTINUE
or ExecutionContext.STOP
.
If the return value is other than
ExecutionContext.CONTINUE
, the caller must
return immediately, passing on this return value.public java.lang.String getActionId()
Worklist.response(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
method.
public java.lang.String instantiateWorkflow(ExecutionContext context, java.lang.String orgID, java.lang.String templateID, VariableInfo[] initialValues, java.util.Map pluginData) throws WorkflowException
context
- The execution context passed by the caller.orgID
- The ID of the organization in which to instantiate the
workflow.templateID
- The ID of the workflow template to instantiate.initialValues
- Initial values for workflow variables.pluginData
- A collection of plugin-defined instance data. The
map is keyed on plugin name, and each element is a plugin-defined
instance datum.Worklist.taskExecute(java.lang.String, java.lang.String, java.lang.String)
. The
caller can perform a SAX parse of this XML document to obtain the
instanceID
and templateDefinitionID
of the new
instance.public java.lang.String instantiateWorkflow(ExecutionContext context, java.lang.String orgID, java.lang.String templateID, VariableInfo[] initialValues, java.util.Map pluginData, boolean start) throws WorkflowException
context
- The execution context passed by the caller.orgID
- The ID of the organization in which to instantiate the
workflow.templateID
- The ID of the workflow template to instantiate.initialValues
- Initial values for workflow variables.pluginData
- A collection of plugin-defined instance data. The
map is keyed on plugin name, and each element is a plugin-defined
instance datum.start
- true
to start the new workflow instance
immediately, false
to leave it suspended.Worklist.taskExecute(java.lang.String, java.lang.String, java.lang.String)
. The
caller can perform a SAX parse of this XML document to obtain the
instanceID
and templateDefinitionID
of the new
instance, or the instance ID if the start == false
.startWorkflow(ExecutionContext, String, EventData)
public java.lang.String startWorkflow(ExecutionContext context, java.lang.String instanceID, EventData eventData) throws WorkflowException
context
- The execution context passed by the caller.instanceID
- The ID of the workflow instance to start.eventData
- The event data to present to the called start nodes.Worklist.taskExecute(java.lang.String, java.lang.String, java.lang.String)
.instantiateWorkflow(ExecutionContext, String, String,
VariableInfo[], Map, boolean)
|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |