Interface WorkflowStepsServiceLocal
public interface WorkflowStepsServiceLocal
Local interface for the WorkflowSteps service from the Planner API
-
Method Summary
Modifier and TypeMethodDescriptionaddWorkflowSteps(List<WorkflowStep> workflowSteps) Adds new wokflow stepsaddWorkflowStepsForWorkflow(String processID, List<WorkflowStep> workflowSteps) Adds workflow steps to the specified workflowbooleanDeletes the workflow steps at the specified IDgetNextWorkflowSteps(String workflowStepID) Returns the next possible workflow steps after the specified oneReturns the workflow step at the specified IDgetWorkflowSteps(String processID) Returns workflow steps for the specified processsetNextWorkflowSteps(String parentworkflowStepID, List<WorkflowStep> children) Sets the next possible workflow steps for the specified onesetWorkflowStep(WorkflowStep workflowStep) Modifies the workflow step (by its inner ID)setWorkflowSteps(List<WorkflowStep> workflowSteps) Modifies workflow stepssetWorkflowStepsForWorkflow(String processID, List<WorkflowStep> workflowSteps) Sets workflow steps for the specified workflow
-
Method Details
-
getWorkflowStep
Returns the workflow step at the specified ID- Parameters:
id- workflow step ID- Returns:
- the workflow step
- Throws:
PubServerExceptionNumberFormatException- See Also:
-
getWorkflowSteps
List<WorkflowStep> getWorkflowSteps(String processID) throws PubServerException, NumberFormatException Returns workflow steps for the specified process- Parameters:
processID- process ID- Returns:
- the list of workflow steps
- Throws:
PubServerExceptionNumberFormatException- See Also:
-
setWorkflowStep
Modifies the workflow step (by its inner ID)- Parameters:
workflowStep- the workflow step to modify- Returns:
- modified workflow step
- Throws:
PubServerException- See Also:
-
setWorkflowSteps
Modifies workflow steps- Parameters:
workflowSteps- the list of workflow steps to modify- Returns:
- the list od processed workflow steps
- Throws:
PubServerException- See Also:
-
addWorkflowSteps
Adds new wokflow steps- Parameters:
workflowSteps- the list of workflow steps to add- Returns:
- the list of processed workflow steps
- Throws:
PubServerException- See Also:
-
deleteWorkflowStep
Deletes the workflow steps at the specified ID- Parameters:
id- workflow step ID- Returns:
- true if success
- Throws:
PubServerExceptionNumberFormatException
-
getNextWorkflowSteps
List<WorkflowStep> getNextWorkflowSteps(String workflowStepID) throws PubServerException, NumberFormatException Returns the next possible workflow steps after the specified one- Parameters:
workflowStepID- workflow step ID- Returns:
- the list of workflow steps
- Throws:
PubServerExceptionNumberFormatException- See Also:
-
setNextWorkflowSteps
List<WorkflowStep> setNextWorkflowSteps(String parentworkflowStepID, List<WorkflowStep> children) throws PubServerException, NumberFormatException Sets the next possible workflow steps for the specified one- Parameters:
parentworkflowStepID- parent workflow step IDchildren- the list of next workflow steps- Returns:
- the list of processed workflow steps
- Throws:
PubServerExceptionNumberFormatException- See Also:
-
setWorkflowStepsForWorkflow
List<WorkflowStep> setWorkflowStepsForWorkflow(String processID, List<WorkflowStep> workflowSteps) throws PubServerException Sets workflow steps for the specified workflow- Parameters:
processID- process ID - to identity the workflowworkflowSteps- the list of workflow steps to set- Returns:
- the list of processed workflow steps with statuses of operation
- Throws:
PubServerException
-
addWorkflowStepsForWorkflow
List<WorkflowStep> addWorkflowStepsForWorkflow(String processID, List<WorkflowStep> workflowSteps) throws PubServerException Adds workflow steps to the specified workflow- Parameters:
processID- process ID - to identity the workflowworkflowSteps- the list of workflow steps to add- Returns:
- the list of processed workflow steps with statuses of operation
- Throws:
PubServerException
-