Skip navigation links


com.bea.content.virtual.workflow
Class WorkflowActionContext

java.lang.Object
  extended by com.bea.content.virtual.workflow.WorkflowActionContext


public class WorkflowActionContext
extends Object

Represents the Context for a WorkflowAction.


Field Summary
protected  VersionableContent versionableContent
           
protected  VirtualNode virtualNode
           
protected  Workflow workflow
           

 

Constructor Summary
WorkflowActionContext(ContentContext context)
           

 

Method Summary
 void addProperty(String property, Object value)
          Allow users to add a custom property to the workflow context.
 ContentContext getContentContext()
          Return the context associated with the workflow
 Object getProperty(String property)
          Gets the property form the user properties.
 VersionableContent getVersionableContent()
           
 VirtualNode getVirtualNode()
           
 Workflow getWorkflow()
           
 void removeProperty(String property)
          Removes the property from the user properties.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

virtualNode

protected VirtualNode virtualNode

versionableContent

protected VersionableContent versionableContent

workflow

protected Workflow workflow

Constructor Detail

WorkflowActionContext

public WorkflowActionContext(ContentContext context)

Method Detail

getVirtualNode

public VirtualNode getVirtualNode()

getVersionableContent

public VersionableContent getVersionableContent()

getWorkflow

public Workflow getWorkflow()
Returns
Returns the workflow associated with the action context.

getContentContext

public ContentContext getContentContext()
Return the context associated with the workflow
Returns
The content context.

addProperty

public void addProperty(String property,
                        Object value)
Allow users to add a custom property to the workflow context.
Parameters
property - The property name
value - The value of the property. If value is not serializable, the method will throw an IllegalArgumentException

removeProperty

public void removeProperty(String property)
Removes the property from the user properties.
Parameters
property - The property to remove.

getProperty

public Object getProperty(String property)
Gets the property form the user properties.
Parameters
property - The property key
Returns
The object keyed by the property.

Skip navigation links


Copyright © 2010, Oracle. All rights reserved.