org.kuali.rice.kew.rule
Class RuleDelegationBo
java.lang.Object
org.kuali.rice.krad.bo.BusinessObjectBase
org.kuali.rice.krad.bo.PersistableBusinessObjectBase
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
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 |
RuleDelegationBo
public RuleDelegationBo()
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–2014 The Kuali Foundation. All rights reserved.