Class PeopleFlowDelegate.Builder
java.lang.Object
org.kuali.rice.kew.api.peopleflow.PeopleFlowDelegate.Builder
- All Implemented Interfaces:
Serializable,ModelBuilder,PeopleFlowDelegateContract
- Enclosing class:
PeopleFlowDelegate
public static final class PeopleFlowDelegate.Builder
extends Object
implements Serializable, 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.Buildercreate(String memberId, MemberType memberType) static PeopleFlowDelegate.Buildercreate(PeopleFlowDelegateContract contract) Returns the action request policy to use for this people flow member.Returns the responsibility id of this people flow delegate member.voidsetActionRequestPolicy(ActionRequestPolicy actionRequestPolicy) voidsetDelegationType(DelegationType delegationType) voidsetMemberId(String memberId) voidsetMemberType(MemberType memberType) voidsetResponsibilityId(String responsibilityId)
-
Method Details
-
create
-
create
-
build
- Specified by:
buildin interfaceModelBuilder
-
getMemberId
- Specified by:
getMemberIdin interfacePeopleFlowDelegateContract
-
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
- 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
-
setActionRequestPolicy
-
setDelegationType
-
setResponsibilityId
-