org.dspace.xmlworkflow.state
Class Workflow
java.lang.Object
org.dspace.xmlworkflow.state.Workflow
public class Workflow
- extends Object
Class that contains all the steps & roles involved in a certain
configured workflow
- Author:
- Bram De Schouwer (bram.deschouwer at dot com), Kevin Van de Velde (kevin at atmire dot com), Ben Bosman (ben at atmire dot com), Mark Diggory (markd at atmire dot com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Workflow
public Workflow(String workflowID,
LinkedHashMap<String,Role> roles)
getFirstStep
public Step getFirstStep()
getID
public String getID()
getStep
public Step getStep(String stepID)
throws WorkflowConfigurationException,
IOException
- Throws:
WorkflowConfigurationException
IOException
getNextStep
public Step getNextStep(Context context,
XmlWorkflowItem wfi,
Step currentStep,
int outcome)
throws IOException,
WorkflowConfigurationException,
WorkflowException,
SQLException
- Throws:
IOException
WorkflowConfigurationException
WorkflowException
SQLException
setFirstStep
public void setFirstStep(Step firstStep)
getRoles
public HashMap<String,Role> getRoles()
Copyright © 2011 DuraSpace. All Rights Reserved.