Interface ProcessFlowSetupService
public interface ProcessFlowSetupService
The service that contains methods to manage setup elements that are in a process flow.
-
Method Summary
Modifier and TypeMethodDescriptionGets the process flow setup elements for the process flow.updateElementSetup(ElementSetup elementSetup) Updates the element setup for the process flow.
-
Method Details
-
getElementSetups
Set<ElementSetup> getElementSetups(String id) throws ProcessFlowNotFoundException, ProcessFlowException, ProcessDefinitionNotFoundException Gets the process flow setup elements for the process flow.- Parameters:
id- The identifier of the process flow.- Returns:
- The set of element setups.
- Throws:
ProcessFlowNotFoundException- Thrown when the process flow does not exist.ProcessFlowException- Thrown when there is an issue when getting the element setups.ProcessDefinitionNotFoundException- Thrown when the process flow definition that is associated with the process flow does not exist.
-
updateElementSetup
ElementSetup updateElementSetup(ElementSetup elementSetup) throws InvalidProcessFlowStateException, ProcessFlowNotFoundException, ProcessDefinitionNotFoundException, InvalidTaskAssigneeException, InvalidRecipientException, ProcessFlowException, ProcessFlowElementSetupNotFoundException, ProcessFlowElementSetupException Updates the element setup for the process flow.- Parameters:
elementSetup- The element setup.- Returns:
- The updated element setup.
-