|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kew.api.peopleflow.PeopleFlowDelegate.Builder
public static final class PeopleFlowDelegate.Builder
A builder which can be used to construct PeopleFlowDelegate instances. Enforces the constraints of the
PeopleFlowDelegateContract.
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static PeopleFlowDelegate.Builder create(String memberId,
MemberType memberType)
public static PeopleFlowDelegate.Builder create(PeopleFlowDelegateContract contract)
public PeopleFlowDelegate build()
ModelBuilder
build 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 null
getActionRequestPolicy in interface PeopleFlowDelegateContractpublic DelegationType getDelegationType()
getDelegationType in interface PeopleFlowDelegateContractpublic String getResponsibilityId()
PeopleFlowDelegateContract
getResponsibilityId 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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||