org.kuali.rice.kew.api.peopleflow
Interface PeopleFlowService

All Known Implementing Classes:
PeopleFlowServiceImpl

public interface PeopleFlowService


Method Summary
 PeopleFlowDefinition createPeopleFlow(PeopleFlowDefinition peopleFlow)
          TODO...
 PeopleFlowDefinition getPeopleFlow(String peopleFlowId)
           
 PeopleFlowDefinition getPeopleFlowByName(String namespaceCode, String name)
           
 PeopleFlowDefinition updatePeopleFlow(PeopleFlowDefinition peopleFlow)
           
 

Method Detail

getPeopleFlow

PeopleFlowDefinition getPeopleFlow(String peopleFlowId)
                                   throws RiceIllegalArgumentException
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 null
RiceIllegalArgumentException - 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:
RiceIllegalArgumentException
RiceIllegalStateException - if the PeopleFlow does not exist in the system under the given peopleFlowId


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.