@Entity public class PeopleFlowMemberBo extends Object implements Serializable, PeopleFlowMemberContract, BusinessObject
Constructor and Description |
---|
PeopleFlowMemberBo() |
Modifier and Type | Method and Description |
---|---|
static PeopleFlowMemberBo |
from(PeopleFlowMember member,
PeopleFlowBo peopleFlow) |
ActionRequestPolicy |
getActionRequestPolicy()
Returns the action request policy to use for this people flow member.
|
String |
getActionRequestPolicyCode() |
List<PeopleFlowDelegateBo> |
getDelegates() |
Boolean |
getForceAction()
Force Action specifies that the requests for this member must be acted on even if the member has already taken
that action in the workflow.
|
GroupEbo |
getGroup() |
String |
getId() |
String |
getMemberId() |
String |
getMemberName() |
MemberType |
getMemberType() |
String |
getMemberTypeCode() |
PeopleFlowBo |
getPeopleFlow() |
Person |
getPerson() |
int |
getPriority() |
String |
getResponsibilityId()
Returns the responsibility id of this member.
|
RoleEbo |
getRole() |
Long |
getVersionNumber() |
void |
refresh()
Invoked to refresh business objects related to the parent based on their key field values
|
void |
setActionRequestPolicyCode(String actionRequestPolicyCode) |
void |
setDelegates(List<PeopleFlowDelegateBo> delegates) |
void |
setForceAction(Boolean forceAction) |
void |
setId(String id) |
void |
setMemberId(String memberId) |
void |
setMemberName(String memberName) |
void |
setMemberType(MemberType type) |
void |
setMemberTypeCode(String memberTypeCode) |
void |
setPeopleFlow(PeopleFlowBo peopleFlow) |
void |
setPerson(Person person) |
void |
setPriority(int priority) |
void |
setResponsibilityId(String responsibilityId) |
void |
setVersionNumber(Long versionNumber) |
static PeopleFlowMember |
to(PeopleFlowMemberBo memberBo) |
void |
updateRelatedObject() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toString
public PeopleFlowMemberBo()
public PeopleFlowBo getPeopleFlow()
public void setPeopleFlow(PeopleFlowBo peopleFlow)
public String getMemberId()
getMemberId
in interface PeopleFlowMemberContract
MemberType
of the
instance.public String getMemberTypeCode()
public void setMemberTypeCode(String memberTypeCode)
public String getActionRequestPolicyCode()
public void setActionRequestPolicyCode(String actionRequestPolicyCode)
public String getResponsibilityId()
PeopleFlowMemberContract
getResponsibilityId
in interface PeopleFlowMemberContract
public void setResponsibilityId(String responsibilityId)
public int getPriority()
getPriority
in interface PeopleFlowMemberContract
public void setPriority(int priority)
public Long getVersionNumber()
public void setVersionNumber(Long versionNumber)
public String getMemberName()
public List<PeopleFlowDelegateBo> getDelegates()
getDelegates
in interface PeopleFlowMemberContract
public void setDelegates(List<PeopleFlowDelegateBo> delegates)
public Boolean getForceAction()
PeopleFlowMemberContract
getForceAction
in interface PeopleFlowMemberContract
public void setForceAction(Boolean forceAction)
public void setMemberName(String memberName) throws InstantiationException, IllegalAccessException
public void setMemberId(String memberId)
public void updateRelatedObject()
public MemberType getMemberType()
getMemberType
in interface PeopleFlowMemberContract
MemberType
of this member. Never null.public void setMemberType(MemberType type)
public ActionRequestPolicy getActionRequestPolicy()
PeopleFlowMemberContract
MemberType
is ROLE
. If the member type is anything else, this value will not
be considered and should ideally be set to nullgetActionRequestPolicy
in interface PeopleFlowMemberContract
public static PeopleFlowMember to(PeopleFlowMemberBo memberBo)
public static PeopleFlowMemberBo from(PeopleFlowMember member, PeopleFlowBo peopleFlow)
public void refresh()
BusinessObject
During processing (for example accepting user input) the field values that participate in relationships can become out of sync with the related business objects (for example: suppose our business object has a property name bookId with a related object of type Book that contains the id property. If the user changes the value for the bookId property, our id property on the related book and the associated information is still pointing to the previous book id). This method is invoked to indicate the related objects should be refreshed based on their related keys. For @{link PersistableBusinessObject} implementations, most refreshes can be handled by the ORM tool
refresh
in interface BusinessObject
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.