Class PeopleFlowDelegate.Builder
java.lang.Object
org.kuali.rice.kew.api.peopleflow.PeopleFlowDelegate.Builder
- All Implemented Interfaces:
Serializable,org.kuali.rice.core.api.mo.ModelBuilder,PeopleFlowDelegateContract
- Enclosing class:
PeopleFlowDelegate
public static final class PeopleFlowDelegate.Builder
extends Object
implements Serializable, org.kuali.rice.core.api.mo.ModelBuilder, PeopleFlowDelegateContract
A builder which can be used to construct
PeopleFlowDelegate instances. Enforces the constraints of the
PeopleFlowDelegateContract.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbuild()static PeopleFlowDelegate.Builderstatic PeopleFlowDelegate.Buildercreate(PeopleFlowDelegateContract contract) Returns the action request policy to use for this people flow member.org.kuali.rice.core.api.delegation.DelegationTypeorg.kuali.rice.core.api.membership.MemberTypeReturns the responsibility id of this people flow delegate member.voidsetActionRequestPolicy(ActionRequestPolicy actionRequestPolicy) voidsetDelegationType(org.kuali.rice.core.api.delegation.DelegationType delegationType) voidsetMemberId(String memberId) voidsetMemberType(org.kuali.rice.core.api.membership.MemberType memberType) voidsetResponsibilityId(String responsibilityId)
-
Method Details
-
create
public static PeopleFlowDelegate.Builder create(String memberId, org.kuali.rice.core.api.membership.MemberType memberType) -
create
-
build
- Specified by:
buildin interfaceorg.kuali.rice.core.api.mo.ModelBuilder
-
getMemberId
- Specified by:
getMemberIdin interfacePeopleFlowDelegateContract
-
getMemberType
public org.kuali.rice.core.api.membership.MemberType getMemberType()- Specified by:
getMemberTypein interfacePeopleFlowDelegateContract
-
getActionRequestPolicy
Description copied from interface:PeopleFlowDelegateContractReturns the action request policy to use for this people flow member. This value is only applicable in the case where theMemberTypeisROLE. If the member type is anything else, this value will not be considered and should ideally be set to null- Specified by:
getActionRequestPolicyin interfacePeopleFlowDelegateContract- Returns:
- the action request policy to use for this people flow member if it is a role member, null if this member has no request policy
-
getDelegationType
public org.kuali.rice.core.api.delegation.DelegationType getDelegationType()- Specified by:
getDelegationTypein interfacePeopleFlowDelegateContract
-
getResponsibilityId
Description copied from interface:PeopleFlowDelegateContractReturns the responsibility id of this people flow delegate member. This is a unique id which KEW can use to help identify and track the responsibility represented by this delegation. It will be associated with any action requests that are generated from this people flow delegation.- Specified by:
getResponsibilityIdin interfacePeopleFlowDelegateContract- Returns:
- the responsibility id for this people flow membership delegate
-
setMemberId
-
setMemberType
public void setMemberType(org.kuali.rice.core.api.membership.MemberType memberType) -
setActionRequestPolicy
-
setDelegationType
public void setDelegationType(org.kuali.rice.core.api.delegation.DelegationType delegationType) -
setResponsibilityId
-