org.openharmonise.rm.resources.metadata.values .Value org.openharmonise.rm.resources.workflow.values .WorkflowStageValue WorkflowStageValue public class WorkflowStageValue extends Value (Code) A definition of the workflow stage.
This class extends Property
with utility methods for workflow
specific operations.
author: Michael Bellversion: $Revision: 1.2 $
Method Summary public Editable changeStatus (Status status) public List getDependencies () Returns the list of workflow stages this stage is dependent on.public String getParentObjectClassName () public List getRoles () Returns the list of role Value
s that can assign this work flow
stage as complete.public String getTagName () public booleanisInheritable () Returns true
if instances of this workflow stage are to be
inherited by successive versions.public booleanisMandatory () Returns true
if this stage is mandatory.public voidremoveAllInstances () Remove all instances of WorkflowStage
which refer to
this stage as their definition.public voidsetDependencies (List depends) Sets the list of workflow stages this work flow stage is dependent on
being complete before this stage can be complete .public voidsetRoles (List roles) Sets the list of role Value
s that can assign this work flow
stage as complete.
PROPNAME_ALLOWED_ROLES final public static String PROPNAME_ALLOWED_ROLES (Code)
PROPNAME_DEFINITION final public static String PROPNAME_DEFINITION (Code)
PROPNAME_DEPENDENCY final public static String PROPNAME_DEPENDENCY (Code)
PROPNAME_IS_INHERITABLE final public static String PROPNAME_IS_INHERITABLE (Code)
PROPNAME_IS_MANDATORY final public static String PROPNAME_IS_MANDATORY (Code)
TAG_WORKFLOW_STAGE final public static String TAG_WORKFLOW_STAGE (Code)
WorkflowStageValue public WorkflowStageValue()(Code) Basic constructor.
WorkflowStageValue public WorkflowStageValue(AbstractDataStoreInterface dbintrf)(Code) Constructs object with an interface to the datastore.
Parameters: dbintrf -
WorkflowStageValue public WorkflowStageValue(AbstractDataStoreInterface dbintrf, int nId)(Code) Constructs particular object with interface to datastore.
Parameters: dbintrf - Parameters: nId -
WorkflowStageValue public WorkflowStageValue(AbstractDataStoreInterface dbintrf, boolean bIsHist) throws Exception (Code) Constructs object with an interface to the datastore and a flag to specify
whether object is to be historical.
Parameters: dbintrf - Parameters: bIsHist - throws: Exception -
WorkflowStageValue public WorkflowStageValue(AbstractDataStoreInterface dbintrf, int nId, int nKey, boolean bIsHist)(Code) Constructs a particular object which may be historical.
Parameters: dbintrf - Parameters: nId - Parameters: bIsHist -
getParentObjectClassName public String getParentObjectClassName()(Code)
removeAllInstances public void removeAllInstances() throws EditException (Code) Remove all instances of WorkflowStage
which refer to
this stage as their definition.
setDependencies public void setDependencies(List depends) throws PopulateException (Code) Sets the list of workflow stages this work flow stage is dependent on
being complete before this stage can be complete .
Parameters: depends - throws: PopulateException -