com.bea.content.virtual.workflow
Class ReadyAction

java.lang.Object
  extended by com.bea.content.virtual.workflow.StandardAction
      extended by com.bea.content.virtual.workflow.ReadyAction
All Implemented Interfaces
WorkflowAction, Serializable

public class ReadyAction
extends StandardAction

Interface that represents an action that may be called from within a workflow. This action sets the current version of the node to READY status.

See Also
Serialized Form

Field Summary
 
Fields inherited from class com.bea.content.virtual.workflow.StandardAction
DATA_SOURCE
 
Constructor Summary
ReadyAction()
           
 
Method Summary
 void execute(WorkflowActionContext context)
          Sets the workflow status for the current version of the node to the value that's set in the WorkflowActionContext.
 
Methods inherited from class com.bea.content.virtual.workflow.StandardAction
assignNodeToRoles, assignNodeToUser, revertAction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReadyAction

public ReadyAction()
Method Detail

execute

public void execute(WorkflowActionContext context)
             throws WorkflowException
Sets the workflow status for the current version of the node to the value that's set in the WorkflowActionContext. [getVersionableContent()]

This action sets the assigned roles for the virtual node to all the publish roles and updates the virtual node's workflow status to Workflow.READY and assigned user to null.

Specified by:
execute in interface WorkflowAction
Overrides:
execute in class StandardAction
Parameters
context - The WorkflowActionContext object
Throws
WorkflowException - If an exception occurs


Copyright © 2011, Oracle. All rights reserved.