Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright © 2006 BEA Systems, Inc. All Rights Reserved
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.bea.content.virtual.workflow
Class WorkflowActionContext

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

    public class WorkflowActionContext

extends Object

Represents the Context for a WorkflowAction.

Field Summary
`protected RepositoryManager` | `repositoryManager`
`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.
`RepositoryManager` | `getRepositoryManager()`
`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

### repositoryManager

    protected RepositoryManager repositoryManager

### workflow

    protected Workflow workflow

Constructor Detail

### WorkflowActionContext

    public WorkflowActionContext(ContentContext context)

Method Detail

### getVirtualNode

    public VirtualNode getVirtualNode()

### getVersionableContent

    public VersionableContent getVersionableContent()

### getRepositoryManager

    public RepositoryManager getRepositoryManager()

### 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

### 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` -

### getProperty

    public Object getProperty(String property)

  Gets the property form the user properties.

  Parameters
    `property` -
  Returns

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006 BEA Systems, Inc. All Rights Reserved