Skip navigation links


com.bea.content.virtual.workflow
Class DraftAction

java.lang.Object
  extended by com.bea.content.virtual.workflow.StandardAction
      extended by com.bea.content.virtual.workflow.DraftAction

All Implemented Interfaces
WorkflowAction, Serializable

public class DraftAction
extends StandardAction

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 workflow status of the virtual node to Workflow.DRAFT. This action sets the current version of the node to DRAFT status.

See Also
Serialized Form

Field Summary

 

Fields inherited from class com.bea.content.virtual.workflow.StandardAction
DATA_SOURCE

 

Constructor Summary
DraftAction()
           

 

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

DraftAction

public DraftAction()

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()]
Specified by:
execute in interface WorkflowAction
Overrides:
execute in class StandardAction
Parameters
context - The WorkflowActionContext object
Throws
WorkflowException - If an exception occurs

Skip navigation links


Copyright © 2010, Oracle. All rights reserved.