org.kuali.rice.kew.api.peopleflow
Interface PeopleFlowContract
- All Superinterfaces:
- Identifiable, Inactivatable, Versioned
- All Known Implementing Classes:
- PeopleFlowBo, PeopleFlowDefinition, PeopleFlowDefinition.Builder
public interface PeopleFlowContract
- extends Identifiable, Inactivatable, Versioned
Contract interface for a PeopleFlowDefinition. A PeopleFlowDefinition is simply a collections of members and their (optional) delegates.
Each member of a PeopleFlowDefinition has a priority number assigned to it, which indicates the order in which members should
be processed during execution of the flow.
Priority is ordered by the lowest priority number being the "beginning" of the flow. It is possible for one or
more members to have the same priority number, in which case they should be processed in parallel.
Members of a flow can be one of either a principal, group, or role which is defined by the
PeopleFlowMemberContract
.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Methods inherited from interface org.kuali.rice.core.api.mo.common.Identifiable |
getId |
getName
String getName()
- Returns:
- the name for this
PeopleFlowContract
. Will never be null.
getNamespaceCode
String getNamespaceCode()
- Returns:
- the namespace for this
PeopleFlowContract
. Will never be null.
getTypeId
String getTypeId()
- Returns:
- the type id for this
PeopleFlowContract
. Will never be null.
getDescription
String getDescription()
- Returns:
- the name for this
PeopleFlowContract
. May be null, but not empty.
getMembers
List<? extends PeopleFlowMemberContract> getMembers()
- Returns the list of members for this flow, sorted from lowest to highest priority number.
- Returns:
- the
PeopleFlowMemberContract
s for this PeopleFlowContract
. Will never return null.
getAttributes
Map<String,String> getAttributes()
- Returns:
- the attributes for this
PeopleFlowContract
. Will never return null.
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.