nl.gx.webmanager.cms.workflow
Interface WorkflowActivityInstance

All Superinterfaces:
Wrapper

public interface WorkflowActivityInstance
extends Wrapper

This interface represents a Workflow activity instance. A Workflow activity instance represents an instance of a Worklow activity. The instance will have an activity state, indicating the current state of the activity instance within the Workflow model instance.

Author:
ivol

Method Summary
 WorkflowActivity getActivity()
          Returns the activity of which this activity instance is an instance
 java.lang.String getState()
          Return the current Workflow activity state of this activity instance
 void setActivity(WorkflowActivity activity)
          Sets the activity of which this activity instance is an instance
 void setState(java.lang.String state)
          Sets the state of this Workflow activity instance.
 
Methods inherited from interface nl.gx.webmanager.wrapper.Wrapper
getId, getUUID, setId, setUUID
 

Method Detail

getActivity

WorkflowActivity getActivity()
Returns the activity of which this activity instance is an instance

Returns:
activity of which this activity instance is an instance

setActivity

void setActivity(WorkflowActivity activity)
Sets the activity of which this activity instance is an instance

Parameters:
activity - activity of which this activity instance is an instance

getState

java.lang.String getState()
Return the current Workflow activity state of this activity instance

Returns:
current Workflow activity state of this activity instance. Will be one of "completed", "active" or "inactive"

setState

void setState(java.lang.String state)
Sets the state of this Workflow activity instance. Must be one of "completed", "active" or "inactive"

Parameters:
state - new state of this Workflow activity instance


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