public static final class PeopleFlowDelegate.Builder extends Object implements Serializable, ModelBuilder, PeopleFlowDelegateContract
PeopleFlowDelegate instances. Enforces the constraints of the
PeopleFlowDelegateContract.| Modifier and Type | Method and Description |
|---|---|
PeopleFlowDelegate |
build()
Returns an instance of the object being built by this builder based
on the current state of the builder.
|
static PeopleFlowDelegate.Builder |
create(PeopleFlowDelegateContract contract) |
static PeopleFlowDelegate.Builder |
create(String memberId,
MemberType memberType) |
ActionRequestPolicy |
getActionRequestPolicy()
Returns the action request policy to use for this people flow member.
|
DelegationType |
getDelegationType() |
String |
getMemberId() |
MemberType |
getMemberType() |
String |
getResponsibilityId()
Returns the responsibility id of this people flow delegate member.
|
void |
setActionRequestPolicy(ActionRequestPolicy actionRequestPolicy) |
void |
setDelegationType(DelegationType delegationType) |
void |
setMemberId(String memberId) |
void |
setMemberType(MemberType memberType) |
void |
setResponsibilityId(String responsibilityId) |
public static PeopleFlowDelegate.Builder create(String memberId, MemberType memberType)
public static PeopleFlowDelegate.Builder create(PeopleFlowDelegateContract contract)
public PeopleFlowDelegate build()
ModelBuilderbuild in interface ModelBuilderpublic String getMemberId()
getMemberId in interface PeopleFlowDelegateContractpublic MemberType getMemberType()
getMemberType in interface PeopleFlowDelegateContractpublic ActionRequestPolicy getActionRequestPolicy()
PeopleFlowDelegateContractMemberType is ROLE. If the member type is anything else, this value will not
be considered and should ideally be set to nullgetActionRequestPolicy in interface PeopleFlowDelegateContractpublic DelegationType getDelegationType()
getDelegationType in interface PeopleFlowDelegateContractpublic String getResponsibilityId()
PeopleFlowDelegateContractgetResponsibilityId in interface PeopleFlowDelegateContractpublic void setMemberId(String memberId)
public void setMemberType(MemberType memberType)
public void setActionRequestPolicy(ActionRequestPolicy actionRequestPolicy)
public void setDelegationType(DelegationType delegationType)
public void setResponsibilityId(String responsibilityId)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.