|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WorkflowAction
Interface that represents an action that may be called from within a workflow.
Method Summary | |
---|---|
void |
execute(WorkflowActionContext context)
Execute the given action |
void |
revertAction(WorkflowActionContext context,
WorkflowException cause)
This method is provided as a helper method to allow users to revert their data which they might have changed in the execute() method. |
Method Detail |
---|
void execute(WorkflowActionContext context) throws WorkflowException
context
- The WorkflowActionContext object
WorkflowException
- If an exception occurs
and will need to be persisted from the calling methodvoid revertAction(WorkflowActionContext context, WorkflowException cause) throws WorkflowException
context
- The WorkflowActionContext objectcause
- The WorkflowException that caused the execute() method to fail.
WorkflowException
- If an exception occurs
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |