| org.tigris.scarab.workflow.Workflow
All known Subclasses: org.tigris.scarab.workflow.DefaultWorkflow,
Workflow | public interface Workflow (Code) | | This is the primary interface for workflow within Scarab.
Implementations of this interface are loaded through the
WorkflowFactory interface. It gets which class to load
from the Scarab.properties file.
author: Elicia David version: $Id: Workflow.java 10144 2006-06-05 18:36:19Z dabbous $ |
Method Summary | |
void | addIssueTypeWorkflowToModule(Module module, IssueType issueType) | boolean | canMakeTransition(ScarabUser user, AttributeOption fromOption, AttributeOption toOption, Issue issue) | public boolean | canMakeTransitionsFrom(ScarabUser user, IssueType issueType, Attribute attribute, AttributeOption fromOption) | String | checkInitialTransition(AttributeOption toOption, Issue issue, Map newAttVals, ScarabUser user) | String | checkTransition(AttributeOption fromOption, AttributeOption toOption, Issue issue, Map newAttVals, ScarabUser user) | void | copyIssueTypeWorkflows(IssueType issueType, IssueType newIssueType) | void | deleteWorkflowsForAttribute(Attribute attr, Module module, IssueType issueType) | 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. | OptionWorkflow | getWorkflowForRole(AttributeOption fromOption, AttributeOption toOption, String roleName, Module module, IssueType issueType) | List | getWorkflowsForIssueType(IssueType issueType) | List | getWorkflowsForRoleList(AttributeOption fromOption, AttributeOption toOption, List roleNames, Module module, IssueType issueType) | OptionWorkflow | inherit(AttributeOption fromOption, AttributeOption toOption, String roleName, Module module, IssueType issueType) | void | resetAllWorkflowsForIssueType(Module module, IssueType issueType) | void | resetWorkflow(AttributeOption fromOption, AttributeOption toOption, String roleName, Module module, IssueType issueType) | void | resetWorkflows(String roleName, Module module, IssueType issueType, boolean initial) | 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 - |
|
|