Interface PeopleFlowService
public interface PeopleFlowService
-
Method Summary
Modifier and TypeMethodDescriptioncreatePeopleFlow(PeopleFlowDefinition peopleFlow) TODO...getPeopleFlow(String peopleFlowId) getPeopleFlowByName(String namespaceCode, String name) updatePeopleFlow(PeopleFlowDefinition peopleFlow)
-
Method Details
-
getPeopleFlow
- Throws:
RiceIllegalArgumentException
-
getPeopleFlowByName
PeopleFlowDefinition getPeopleFlowByName(String namespaceCode, String name) throws RiceIllegalArgumentException - Throws:
RiceIllegalArgumentException
-
createPeopleFlow
PeopleFlowDefinition createPeopleFlow(PeopleFlowDefinition peopleFlow) throws RiceIllegalArgumentException, RiceIllegalStateException TODO...- Parameters:
peopleFlow-- Returns:
- Throws:
RiceIllegalArgumentException- if the given PeopleFlow definition is nullRiceIllegalArgumentException- if the given PeopleFlow definition has a non-null id. When creating a new PeopleFlow definition, the ID will be generated.RiceIllegalStateException- if a PeopleFlow with the given namespace code and name already exists
-
updatePeopleFlow
PeopleFlowDefinition updatePeopleFlow(PeopleFlowDefinition peopleFlow) throws RiceIllegalArgumentException, RiceIllegalStateException - Parameters:
peopleFlow-- Returns:
- Throws:
RiceIllegalArgumentExceptionRiceIllegalStateException- if the PeopleFlow does not exist in the system under the given peopleFlowId
-