public interface ProcessFlowSetupService
Modifier and Type | Method and Description |
---|---|
Set<ElementSetup> |
getElementSetups(String id)
Gets the process flow setup elements for the process flow.
|
ElementSetup |
updateElementSetup(ElementSetup elementSetup)
Updates the element setup for the process flow.
|
Set<ElementSetup> getElementSetups(String id) throws ProcessFlowNotFoundException, ProcessFlowException, ProcessDefinitionNotFoundException
id
- The identifier of the process flow.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.ElementSetup updateElementSetup(ElementSetup elementSetup) throws InvalidProcessFlowStateException, ProcessFlowNotFoundException, ProcessDefinitionNotFoundException, InvalidTaskAssigneeException, InvalidRecipientException, ProcessFlowException, ProcessFlowElementSetupNotFoundException, ProcessFlowElementSetupException
elementSetup
- The element setup.InvalidProcessFlowStateException
- Thrown when the process flow is in an invalid state to update an element
setup.ProcessFlowNotFoundException
- Thrown when the process flow does not exist.ProcessDefinitionNotFoundException
- Thrown when the process flow definition that is associated with the
process flow does not exist.InvalidTaskAssigneeException
- Thrown when the assignee who is specified for a user task setup is not
valid.InvalidRecipientException
- Thrown when the recipient who is specified for a notification task setup is not
valid.ProcessFlowException
- Thrown when there is an issue when updating the element setup.ProcessFlowElementDefinitionNotFoundException
- Thrown when the element setup for the process flow is not
found.ProcessFlowElementDefinitionException
- Thrown when the element setup for the process flow is not updated.ProcessFlowElementSetupNotFoundException
ProcessFlowElementSetupException
<i>Copyright (c) 2021, SAS Institute Inc., Cary, NC, USA</i>