org.kuali.rice.kew.rule
Class RuleResponsibility

java.lang.Object
  extended by org.kuali.rice.kns.bo.BusinessObjectBase
      extended by org.kuali.rice.kns.bo.PersistableBusinessObjectBase
          extended by 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 ActionRequestValues to.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
RuleResponsibility()
           
 
Method Summary
 Object copy(boolean preserveKeys)
           
 boolean equals(Object o)
           
 String getActionRequestedCd()
           
 String getActionRequestedDisplayValue()
           
 String getApprovePolicy()
           
 RuleDelegation getDelegationRule(int index)
           
 List<RuleDelegation> getDelegationRules()
           
 org.kuali.rice.kim.bo.Group getGroup()
           
 org.kuali.rice.kim.bo.entity.KimPrincipal getPrincipal()
           
 Integer getPriority()
           
 String getResolvedRoleName()
           
 Long getResponsibilityId()
           
 String getRole()
           
 String getRoleAttributeName()
           
 RuleBaseValues getRuleBaseValues()
           
 Long getRuleBaseValuesId()
           
 Long getRuleResponsibilityKey()
           
 String getRuleResponsibilityName()
           
 String getRuleResponsibilityType()
           
 String getRuleResponsibilityTypeDisplayValue()
           
 int hashCode()
           
 boolean isUsingGroup()
           
 boolean isUsingRole()
           
 boolean isUsingWorkflowUser()
           
 RoleAttribute resolveRoleAttribute()
           
 void setActionRequestedCd(String actionRequestedCd)
           
 void setApprovePolicy(String approvePolicy)
           
 void setPriority(Integer priority)
           
 void setResponsibilityId(Long responsibilityId)
           
 void setRuleBaseValues(RuleBaseValues ruleBaseValues)
           
 void setRuleBaseValuesId(Long ruleBaseValuesId)
           
 void setRuleResponsibilityKey(Long ruleResponsibilityId)
           
 void setRuleResponsibilityName(String ruleResponsibilityName)
           
 void setRuleResponsibilityType(String ruleResponsibilityType)
           
 
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 class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic
toString
 

Constructor Detail

RuleResponsibility

public RuleResponsibility()
Method Detail

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.