public interface ProcessFlowSetupService
Modifier and Type | Method and Description |
---|---|
Set<ElementSetup> |
getElementSetups(String id)
Get the process flow setup elements for the process flow at the specified context with the specified name.
|
ElementSetup |
updateElementSetup(ElementSetup elementSetup)
Update the element setup for the process flow.
|
Set<ElementSetup> getElementSetups(String id) throws ProcessFlowNotFoundException, ProcessFlowException, ProcessDefinitionNotFoundException
id
- the id of the process flowProcessFlowNotFoundException
- thrown if the process flow does not exist at the specified context with the
specified nameProcessFlowException
- thrown if there was an issue getting the element setups from the systemProcessDefinitionNotFoundException
- thrown if the process definition associated with this process flow
does not existElementSetup updateElementSetup(ElementSetup elementSetup) throws InvalidProcessFlowStateException, ProcessFlowNotFoundException, ProcessDefinitionNotFoundException, InvalidTaskAssigneeException, InvalidRecipientException, ProcessFlowException, ProcessFlowElementSetupNotFoundException, ProcessFlowElementSetupException
elementSetup
- the element setup to updateInvalidProcessFlowStateException
- thrown if the process flow is in an invalid state for updating a element
setup.ProcessFlowNotFoundException
- thrown if the process flow does not exist by the given identifierProcessDefinitionNotFoundException
- thrown if the process setup associated with the process flow with
the given identifier does not existInvalidTaskAssigneeException
- thrown if the assignee specified for a user task setup is not validInvalidRecipientException
- thrown if the recipient specified for a notification task setup is not
validProcessFlowException
- thrown if there was an issue updating the element setup in the systemProcessFlowElementDefinitionNotFoundException
- thrown if the element setup for the process flow can
not be found.ProcessFlowElementDefinitionException
- thrown if the element setup for the process flow could not be
updated.ProcessFlowElementSetupNotFoundException
ProcessFlowElementSetupException
Copyright (c) 2019, SAS Institute Inc., Cary, NC, USA