|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.bo.BusinessObjectBase org.kuali.rice.krad.bo.PersistableBusinessObjectBase org.kuali.rice.kew.rule.RuleResponsibilityBo
@Entity public class RuleResponsibilityBo
A model bean representing the responsibility of a user, workgroup, or role
to perform some action on a document. Used by the rule system to
identify the appropriate responsibile parties to generate
ActionRequestValue
s to.
Field Summary |
---|
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase |
---|
extension, versionNumber |
Constructor Summary | |
---|---|
RuleResponsibilityBo()
|
Method Summary | |
---|---|
Object |
copy(boolean preserveKeys)
|
boolean |
equals(Object o)
|
String |
getActionRequestedCd()
code for the Action Requested |
String |
getActionRequestedDisplayValue()
|
String |
getApprovePolicy()
approval policy for the RuleResponsibility |
RuleDelegationBo |
getDelegationRule(int index)
|
List<RuleDelegationBo> |
getDelegationRules()
list of RuleDelegations for the RuleResponsibility |
Group |
getGroup()
|
String |
getGroupId()
unique id of the Group for the RuleResponsibility |
String |
getId()
The unique identifier for an object. |
Principal |
getPrincipal()
|
String |
getPrincipalId()
unique id of the Principal for the RuleResponsibility |
Integer |
getPriority()
integer representation of the priority of the RuleResponsibility |
Recipient |
getRecipient()
Convenience method to return the Recipient for this RuleResponsibility |
String |
getResolvedRoleName()
|
String |
getResponsibilityId()
Unique Id for Responsibility. |
String |
getRole()
|
String |
getRoleAttributeName()
|
String |
getRoleName()
unique name of the Role for the RuleResponsibility |
RuleBaseValues |
getRuleBaseValues()
|
String |
getRuleBaseValuesId()
|
String |
getRuleResponsibilityName()
|
String |
getRuleResponsibilityType()
|
String |
getRuleResponsibilityTypeDisplayValue()
|
int |
hashCode()
|
boolean |
isUsingGroup()
determines if the RuleResponsibiltity is using a kim Group |
boolean |
isUsingPrincipal()
determines if the RuleResponsibiltity is using a kim Principal |
boolean |
isUsingRole()
determines if the RuleResponsibiltity is using a kim Role |
RoleAttribute |
resolveRoleAttribute()
|
void |
setActionRequestedCd(String actionRequestedCd)
|
void |
setApprovePolicy(String approvePolicy)
|
void |
setId(String ruleResponsibilityId)
|
void |
setPriority(Integer priority)
|
void |
setResponsibilityId(String responsibilityId)
|
void |
setRuleBaseValues(RuleBaseValues ruleBaseValues)
|
void |
setRuleBaseValuesId(String ruleBaseValuesId)
|
void |
setRuleResponsibilityName(String ruleResponsibilityName)
|
void |
setRuleResponsibilityType(String ruleResponsibilityType)
|
static RuleResponsibility |
to(RuleResponsibilityBo bo)
|
Methods inherited from class org.kuali.rice.krad.bo.BusinessObjectBase |
---|
toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.kuali.rice.core.api.mo.common.GloballyUnique |
---|
getObjectId |
Methods inherited from interface org.kuali.rice.core.api.mo.common.Versioned |
---|
getVersionNumber |
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic |
---|
toString |
Constructor Detail |
---|
public RuleResponsibilityBo()
Method Detail |
---|
public Principal getPrincipal()
public Group getGroup()
public String getRole()
public String getResolvedRoleName()
public String getRoleAttributeName()
public RoleAttribute resolveRoleAttribute()
public boolean isUsingRole()
RuleResponsibilityContract
isUsingRole
in interface RuleResponsibilityContract
public boolean isUsingPrincipal()
RuleResponsibilityContract
isUsingPrincipal
in interface RuleResponsibilityContract
public boolean isUsingGroup()
RuleResponsibilityContract
isUsingGroup
in interface RuleResponsibilityContract
public String getRuleBaseValuesId()
public void setRuleBaseValuesId(String ruleBaseValuesId)
public RuleBaseValues getRuleBaseValues()
public void setRuleBaseValues(RuleBaseValues ruleBaseValues)
public String getActionRequestedCd()
RuleResponsibilityContract
This code matches the unique code for an ActionRequest
getActionRequestedCd
in interface RuleResponsibilityContract
public void setActionRequestedCd(String actionRequestedCd)
public String getId()
Identifiable
getId
in interface Identifiable
public void setId(String ruleResponsibilityId)
public Integer getPriority()
RuleResponsibilityContract
getPriority
in interface RuleResponsibilityContract
public void setPriority(Integer priority)
public String getApprovePolicy()
RuleResponsibilityContract
getApprovePolicy
in interface RuleResponsibilityContract
public void setApprovePolicy(String approvePolicy)
public Object copy(boolean preserveKeys)
public String getRuleResponsibilityName()
public void setRuleResponsibilityName(String ruleResponsibilityName)
public String getRuleResponsibilityType()
public void setRuleResponsibilityType(String ruleResponsibilityType)
public String getResponsibilityId()
RuleResponsibilityContract
This is the unique Id of the Responsibility
getResponsibilityId
in interface RuleResponsibilityContract
public void setResponsibilityId(String responsibilityId)
public List<RuleDelegationBo> getDelegationRules()
RuleResponsibilityContract
getDelegationRules
in interface RuleResponsibilityContract
public RuleDelegationBo getDelegationRule(int index)
public String getActionRequestedDisplayValue()
public String getRuleResponsibilityTypeDisplayValue()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
Object.hashCode()
public String getGroupId()
RuleResponsibilityContract
getGroupId
in interface RuleResponsibilityContract
public String getPrincipalId()
RuleResponsibilityContract
getPrincipalId
in interface RuleResponsibilityContract
public String getRoleName()
RuleResponsibilityContract
getRoleName
in interface RuleResponsibilityContract
public Recipient getRecipient()
public static RuleResponsibility to(RuleResponsibilityBo bo)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |