|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
| 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 objectWorkflowException - If an exception occurs and will need to be persisted from the calling method
void 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
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2010, Oracle. All rights reserved.