|
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 | ||||||||
java.lang.Object
com.bea.content.virtual.workflow.StandardAction
public class StandardAction
Sets the workflow status for the current version of the node to the value that's set in the WorkflowActionContext. [getVersionableContent()]
| Field Summary | |
|---|---|
static String |
DATA_SOURCE |
protected static Debug |
DEBUG |
| Constructor Summary | |
|---|---|
StandardAction() |
|
| Method Summary | |
|---|---|
protected void |
assignNodeToRoles(WorkflowActionContext context, Iterator<String> roles, ID nodeId)This method allows users to assign a set of roles to the node. |
protected void |
assignNodeToUser(WorkflowActionContext context, String username, ID nodeId)This method allows users to assign a user to the node. |
void |
execute(WorkflowActionContext actionContext)Empty base method. |
void |
revertAction(WorkflowActionContext context, WorkflowException cause)The default revertAction implementation simply rethrows back the original exception [cause] to the caller. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DATA_SOURCE
protected static Debug DEBUG
| Constructor Detail |
|---|
public StandardAction()
| Method Detail |
|---|
public void execute(WorkflowActionContext actionContext)
throws WorkflowException
execute in interface WorkflowActionactionContext - The WorkflowActionContext objectWorkflowException - If an exception occurs
protected void assignNodeToRoles(WorkflowActionContext context,
Iterator<String> roles,
ID nodeId)
context - The workflowActionContext object. This should be the same as passed in to the executeAction or the revertAction method.roles - The list of rolesnodeId - The nodeId of the node which will appear in the workList of users of specified roles.
protected void assignNodeToUser(WorkflowActionContext context,
String username,
ID nodeId)
context - The workflowActionContext object. This should be the same as passed in to the executeAction or the revertAction method.username - The usernamenodeId - The nodeId of the node which will appear in the workList of users of specified roles.
public void revertAction(WorkflowActionContext context,
WorkflowException cause)
throws WorkflowException
revertAction in interface WorkflowActioncontext - The WorkflowActionContextcause - The workflow exception that caused the execute() method to failWorkflowException - If an error happens in this method. This implementation always throws the cause
|
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.