| java.lang.Object org.tigris.scarab.workflow.DefaultWorkflow
All known Subclasses: org.tigris.scarab.workflow.CheapWorkflow,
DefaultWorkflow | public class DefaultWorkflow implements Workflow(Code) | | Default implementation of workflow is a noop. It doesn't do
anything.
author: Elicia David version: $Id: DefaultWorkflow.java 10144 2006-06-05 18:36:19Z dabbous $ |
Method Summary | |
public void | addIssueTypeWorkflowToModule(Module module, IssueType issueType) | public boolean | canMakeTransition(ScarabUser user, AttributeOption fromOption, AttributeOption toOption, Issue issue) | public boolean | canMakeTransitionsFrom(ScarabUser user, IssueType issueType, Attribute attribute, AttributeOption fromOption) | public String | checkInitialTransition(AttributeOption toOption, Issue issue, Map newAttVals, ScarabUser user) | public String | checkTransition(AttributeOption fromOption, AttributeOption toOption, Issue issue, Map newAttVals, ScarabUser user) | public void | copyIssueTypeWorkflows(IssueType issueType, IssueType newIssueType) | public void | deleteWorkflowsForAttribute(Attribute attr, Module module, IssueType issueType) | public void | deleteWorkflowsForOption(AttributeOption option, Module module, IssueType issueType) | public TransitionNode | getTransitionTree(ScarabUser user, IssueType issueType, Attribute attribute) Returns the tree of transitions
in the current module/issueType/attribute combination. | public List | getTransitions(ScarabUser user, IssueType issueType, Attribute attribute) | public List | getTransitionsFrom(ScarabUser user, IssueType issueType, Attribute attribute, AttributeOption fromOption) Returns the list of transitions allowed for the current user
in the current module/issueType/attribute combination
starting from fromOption. | public OptionWorkflow | getWorkflowForRole(AttributeOption fromOption, AttributeOption toOption, String roleName, Module module, IssueType issueType) | public List | getWorkflowsForIssueType(IssueType issueType) | public List | getWorkflowsForRoleList(AttributeOption fromOption, AttributeOption toOption, List roleNames, Module module, IssueType issueType) | public OptionWorkflow | inherit(AttributeOption fromOption, AttributeOption toOption, String roleName, Module module, IssueType issueType) | public void | resetAllWorkflowsForIssueType(Module module, IssueType issueType) | public void | resetWorkflow(AttributeOption fromOption, AttributeOption toOption, String roleName, Module module, IssueType issueType) | public void | resetWorkflows(String roleName, Module module, IssueType issueType, boolean initial) | public void | saveWorkflow(AttributeOption fromOption, AttributeOption toOption, String roleName, Module module, IssueType issueType, WorkflowRules workflowRule) |
getTransitions | public List getTransitions(ScarabUser user, IssueType issueType, Attribute attribute) throws ScarabException(Code) | | Returns the list of transitions allowed for the current user
in the current module/issueType/attribute combination
throws: TorqueException - |
|
|