org.kuali.rice.kew.rule
Class RuleDelegationBo

java.lang.Object
  extended by org.kuali.rice.krad.bo.BusinessObjectBase
      extended by org.kuali.rice.krad.bo.PersistableBusinessObjectBase
          extended by org.kuali.rice.kew.rule.RuleDelegationBo
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, GloballyUnique, Versioned, ModelObjectBasic, RuleDelegationContract, BusinessObject, PersistableBusinessObject

@Entity
public class RuleDelegationBo
extends PersistableBusinessObjectBase
implements RuleDelegationContract

A model bean representing the delegation of a rule from a responsibility to another rule. Specifies the delegation type which can be either {@link DelegationType#PRIMARY} or {@link DelegationType#SECONDARY}.

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

Field Summary
 
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
extension, newCollectionRecord, objectId, versionNumber
 
Constructor Summary
RuleDelegationBo()
           
 
Method Summary
 Object copy(boolean preserveKeys)
           
 String getDelegateRuleId()
           
 RuleBaseValues getDelegationRule()
          rule associated with the RuleDelegation
 RuleBaseValues getDelegationRuleBaseValues()
           
 DelegationType getDelegationType()
          type of delegation for the RuleDelegation
 String getDelegationTypeCode()
          Getter for type code preserved for DD
 DocumentType getDocumentType()
           
 GroupBo getGroupBo()
           
 String getGroupReviewerName()
           
 String getGroupReviewerNamespace()
           
 PersonImpl getPersonImpl()
           
 String getPersonReviewer()
           
 String getPersonReviewerType()
           
 String getResponsibilityId()
           
 String getRuleDelegationId()
           
 RuleResponsibilityBo getRuleResponsibility()
          Returns the most recent RuleResponsibility for the responsibility id on this RuleDelegation.
 void setDelegateRuleId(String delegateRuleId)
           
 void setDelegationRule(RuleBaseValues delegationRule)
           
 void setDelegationRuleBaseValues(RuleBaseValues delegationRuleBaseValues)
           
 void setDelegationType(DelegationType delegationType)
           
 void setDelegationTypeCode(String delegationTypeCode)
          Setter for type code preserved for DD
 void setGroupReviewerName(String groupReviewerName)
           
 void setGroupReviewerNamespace(String groupReviewerNamespace)
           
 void setPersonReviewer(String personReviewer)
           
 void setPersonReviewerType(String personReviewerType)
           
 void setResponsibilityId(String ruleResponsibilityId)
           
 void setRuleDelegationId(String ruleDelegationId)
           
static RuleDelegation to(RuleDelegationBo bo)
           
 
Methods inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getLegacyDataAdapter, getObjectId, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
 
Methods inherited from class org.kuali.rice.krad.bo.BusinessObjectBase
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic
toString
 

Constructor Detail

RuleDelegationBo

public RuleDelegationBo()
Method Detail

copy

public Object copy(boolean preserveKeys)

getDelegateRuleId

public String getDelegateRuleId()

setDelegateRuleId

public void setDelegateRuleId(String delegateRuleId)

getDelegationRule

public RuleBaseValues getDelegationRule()
Description copied from interface: RuleDelegationContract
rule associated with the RuleDelegation

This rule is run for the original rule as the delegate

Specified by:
getDelegationRule in interface RuleDelegationContract
Returns:
delegationRule

getDelegationRuleBaseValues

public RuleBaseValues getDelegationRuleBaseValues()

setDelegationRuleBaseValues

public void setDelegationRuleBaseValues(RuleBaseValues delegationRuleBaseValues)

setDelegationRule

public void setDelegationRule(RuleBaseValues delegationRule)

setDelegationTypeCode

public void setDelegationTypeCode(String delegationTypeCode)
Setter for type code preserved for DD

Parameters:
delegationTypeCode - the DelegationType code

getDelegationTypeCode

public String getDelegationTypeCode()
Getter for type code preserved for DD

Returns:
the DelegationType code

getDelegationType

public DelegationType getDelegationType()
Description copied from interface: RuleDelegationContract
type of delegation for the RuleDelegation

Determines what kind of delegation the RuleDelegation is

Specified by:
getDelegationType in interface RuleDelegationContract
Returns:
delegationType

setDelegationType

public void setDelegationType(DelegationType delegationType)

getRuleDelegationId

public String getRuleDelegationId()

setRuleDelegationId

public void setRuleDelegationId(String ruleDelegationId)

getRuleResponsibility

public RuleResponsibilityBo getRuleResponsibility()
Returns the most recent RuleResponsibility for the responsibility id on this RuleDelegation.


getDocumentType

public DocumentType getDocumentType()

getResponsibilityId

public String getResponsibilityId()

setResponsibilityId

public void setResponsibilityId(String ruleResponsibilityId)

getGroupReviewerName

public String getGroupReviewerName()

getGroupReviewerNamespace

public String getGroupReviewerNamespace()

getPersonReviewer

public String getPersonReviewer()

setGroupReviewerName

public void setGroupReviewerName(String groupReviewerName)

setGroupReviewerNamespace

public void setGroupReviewerNamespace(String groupReviewerNamespace)

setPersonReviewer

public void setPersonReviewer(String personReviewer)

getPersonReviewerType

public String getPersonReviewerType()

setPersonReviewerType

public void setPersonReviewerType(String personReviewerType)

getGroupBo

public GroupBo getGroupBo()

getPersonImpl

public PersonImpl getPersonImpl()

to

public static RuleDelegation to(RuleDelegationBo bo)


Copyright © 2005–2015 The Kuali Foundation. All rights reserved.