org.kuali.rice.kew.rule
Class RuleResponsibility
java.lang.Object
org.kuali.rice.kns.bo.BusinessObjectBase
org.kuali.rice.kns.bo.PersistableBusinessObjectBase
org.kuali.rice.kew.rule.RuleResponsibility
- All Implemented Interfaces:
- Serializable, org.apache.ojb.broker.PersistenceBrokerAware, org.kuali.rice.core.api.mo.ModelObjectBasic, org.kuali.rice.kns.bo.BusinessObject, org.kuali.rice.kns.bo.PersistableBusinessObject
- Direct Known Subclasses:
- GroupRuleResponsibility, PersonRuleResponsibility, RoleRuleResponsibility, WebRuleResponsibility
@Entity
public class RuleResponsibility
- extends org.kuali.rice.kns.bo.PersistableBusinessObjectBase
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.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
- Serialized Form
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase |
extension, versionNumber |
Methods inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase |
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber |
Methods inherited from class org.kuali.rice.kns.bo.BusinessObjectBase |
prepareForWorkflow, toString, toStringBuilder, toStringMapper |
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic |
toString |
RuleResponsibility
public RuleResponsibility()
getPrincipal
public org.kuali.rice.kim.bo.entity.KimPrincipal getPrincipal()
getGroup
public org.kuali.rice.kim.bo.Group getGroup()
getRole
public String getRole()
getResolvedRoleName
public String getResolvedRoleName()
getRoleAttributeName
public String getRoleAttributeName()
resolveRoleAttribute
public RoleAttribute resolveRoleAttribute()
throws org.kuali.rice.kew.exception.WorkflowException
- Throws:
org.kuali.rice.kew.exception.WorkflowException
isUsingRole
public boolean isUsingRole()
isUsingWorkflowUser
public boolean isUsingWorkflowUser()
isUsingGroup
public boolean isUsingGroup()
getRuleBaseValuesId
public Long getRuleBaseValuesId()
setRuleBaseValuesId
public void setRuleBaseValuesId(Long ruleBaseValuesId)
getRuleBaseValues
public RuleBaseValues getRuleBaseValues()
setRuleBaseValues
public void setRuleBaseValues(RuleBaseValues ruleBaseValues)
getActionRequestedCd
public String getActionRequestedCd()
setActionRequestedCd
public void setActionRequestedCd(String actionRequestedCd)
getRuleResponsibilityKey
public Long getRuleResponsibilityKey()
setRuleResponsibilityKey
public void setRuleResponsibilityKey(Long ruleResponsibilityId)
getPriority
public Integer getPriority()
setPriority
public void setPriority(Integer priority)
getApprovePolicy
public String getApprovePolicy()
setApprovePolicy
public void setApprovePolicy(String approvePolicy)
copy
public Object copy(boolean preserveKeys)
getRuleResponsibilityName
public String getRuleResponsibilityName()
setRuleResponsibilityName
public void setRuleResponsibilityName(String ruleResponsibilityName)
getRuleResponsibilityType
public String getRuleResponsibilityType()
setRuleResponsibilityType
public void setRuleResponsibilityType(String ruleResponsibilityType)
getResponsibilityId
public Long getResponsibilityId()
setResponsibilityId
public void setResponsibilityId(Long responsibilityId)
getDelegationRules
public List<RuleDelegation> getDelegationRules()
getDelegationRule
public RuleDelegation getDelegationRule(int index)
getActionRequestedDisplayValue
public String getActionRequestedDisplayValue()
getRuleResponsibilityTypeDisplayValue
public String getRuleResponsibilityTypeDisplayValue()
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
- See Also:
Object.hashCode()
Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.