nl.gx.webmanager.cms.workflow
Interface WorkflowActivity

All Superinterfaces:
Wrapper

public interface WorkflowActivity
extends Wrapper

This interface represents a Workflow activity. A Workflow activity represents an activity that an editor can perform

Author:
ivol

Method Summary
 WorkflowActivityInstance createInstance(java.lang.String name)
          Create an instance of this Workflow activity, to be assigned to a Worfklow model instance
 WorkflowAction[] getActions()
          Return the actions that can be performed on this activity.
 WorkflowActivityState getActivityState(java.lang.String state)
          Return the Workflow activity stated assigned to this Workflow activity and that matched the given state
 WorkflowActivityState[] getActivityStates()
          Return the possible Workflow activity stated assigned to this Workflow activity
 java.lang.String getName()
          The name of the activity
 
Methods inherited from interface nl.gx.webmanager.wrapper.Wrapper
getId, getUUID, setId, setUUID
 

Method Detail

getName

java.lang.String getName()
The name of the activity

Returns:
Name of the activity

getActions

WorkflowAction[] getActions()
Return the actions that can be performed on this activity. Only the initiator activity can have only one action.

Returns:
Array of all workflow actions that can be performed on this activity

getActivityStates

WorkflowActivityState[] getActivityStates()
Return the possible Workflow activity stated assigned to this Workflow activity

Returns:
the possible Workflow activity stated assigned to this Workflow activity

getActivityState

WorkflowActivityState getActivityState(java.lang.String state)
Return the Workflow activity stated assigned to this Workflow activity and that matched the given state

Parameters:
state - State of which the Workflow activity should be retrieved
Returns:
the Workflow activity stated assigned to this Workflow activity and that matched the given state

createInstance

WorkflowActivityInstance createInstance(java.lang.String name)
Create an instance of this Workflow activity, to be assigned to a Worfklow model instance

Parameters:
name - Name of the activity instance to create
Returns:
The created Workflow activity instance


Copyright © 2007-2011 GX Software BV. All Rights Reserved.