org.kuali.rice.kew.rule.web
Class WebRuleResponsibility

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.RuleResponsibilityBo
              extended by org.kuali.rice.kew.rule.web.WebRuleResponsibility
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, GloballyUnique, Identifiable, Versioned, ModelObjectBasic, RuleResponsibilityContract, BusinessObject, PersistableBusinessObject

public class WebRuleResponsibility
extends RuleResponsibilityBo

A decorator around a RuleResponsibilityBo object which provides some convienance functions for interacting with the bean from the web-tier. This helps to alleviate some of the weaknesses of JSTL.

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, versionNumber
 
Constructor Summary
WebRuleResponsibility()
           
 
Method Summary
 RuleDelegationBo addNewDelegation()
           
 void edit(RuleResponsibilityBo ruleResponsibility)
           
 void establishRequiredState()
           
 RuleDelegationBo getDelegationRule(int index)
           
 int getIndex()
           
 int getNumberOfDelegations()
           
 String getPersonLookupStyle()
           
 String getReviewer()
           
 String getReviewerId()
           
 String getReviewerStyle()
           
 String getRoleAreaStyle()
           
 String getRoleReviewer()
           
 String getWorkgroupLookupStyle()
           
 void initialize()
           
 boolean isDelegationRulesMaterialized()
           
 boolean isHasDelegateRuleTemplate()
           
 boolean isShowDelegations()
           
 void load(RuleResponsibilityBo ruleResponsibility)
           
 void loadDelegations()
           
 void populatePreviousRuleIds()
           
 void prepareHiddenDelegationsForRoute()
           
 void setDelegationRulesMaterialized(boolean isDelegationRulesMaterialized)
           
 void setHasDelegateRuleTemplate(boolean hasDelegateRuleTemplate)
           
 void setIndex(int index)
           
 void setNumberOfDelegations(int numberOfDelegations)
           
 void setPersonLookupStyle(String personLookupStyle)
           
 void setReviewer(String reviewer)
           
 void setReviewerId(String reviewerId)
           
 void setReviewerStyle(String reviewerStyle)
           
 void setRoleAreaStyle(String roleAreaLookupStyle)
           
 void setRoleReviewer(String roleReviewer)
           
 void setShowDelegations(boolean showDelegations)
           
 void setWorkgroupId(String workgroupId)
           
 void setWorkgroupLookupStyle(String workgroupLookupStyle)
           
 void validateResponsibility(String keyPrefix, org.apache.struts.action.ActionErrors errors)
           
 
Methods inherited from class org.kuali.rice.kew.rule.RuleResponsibilityBo
copy, equals, getActionRequestedCd, getActionRequestedDisplayValue, getApprovePolicy, getDelegationRules, getGroup, getGroupId, getId, getPrincipal, getPrincipalId, getPriority, getRecipient, getResolvedRoleName, getResponsibilityId, getRole, getRoleAttributeName, getRoleName, getRuleBaseValues, getRuleBaseValuesId, getRuleResponsibilityName, getRuleResponsibilityType, getRuleResponsibilityTypeDisplayValue, hashCode, isUsingGroup, isUsingPrincipal, isUsingRole, resolveRoleAttribute, setActionRequestedCd, setApprovePolicy, setId, setPriority, setResponsibilityId, setRuleBaseValues, setRuleBaseValuesId, setRuleResponsibilityName, setRuleResponsibilityType, to
 
Methods inherited from class org.kuali.rice.krad.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.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

WebRuleResponsibility

public WebRuleResponsibility()
Method Detail

getReviewerId

public String getReviewerId()

setReviewerId

public void setReviewerId(String reviewerId)

initialize

public void initialize()
                throws Exception
Throws:
Exception

addNewDelegation

public RuleDelegationBo addNewDelegation()

getReviewer

public String getReviewer()

setReviewer

public void setReviewer(String reviewer)

setWorkgroupId

public void setWorkgroupId(String workgroupId)

getPersonLookupStyle

public String getPersonLookupStyle()

setPersonLookupStyle

public void setPersonLookupStyle(String personLookupStyle)

getReviewerStyle

public String getReviewerStyle()

setReviewerStyle

public void setReviewerStyle(String reviewerStyle)

getRoleAreaStyle

public String getRoleAreaStyle()

setRoleAreaStyle

public void setRoleAreaStyle(String roleAreaLookupStyle)

getWorkgroupLookupStyle

public String getWorkgroupLookupStyle()

setWorkgroupLookupStyle

public void setWorkgroupLookupStyle(String workgroupLookupStyle)

getDelegationRule

public RuleDelegationBo getDelegationRule(int index)
Overrides:
getDelegationRule in class RuleResponsibilityBo

getNumberOfDelegations

public int getNumberOfDelegations()

setNumberOfDelegations

public void setNumberOfDelegations(int numberOfDelegations)

isDelegationRulesMaterialized

public boolean isDelegationRulesMaterialized()

setDelegationRulesMaterialized

public void setDelegationRulesMaterialized(boolean isDelegationRulesMaterialized)

getRoleReviewer

public String getRoleReviewer()

setRoleReviewer

public void setRoleReviewer(String roleReviewer)

getIndex

public int getIndex()

setIndex

public void setIndex(int index)

isShowDelegations

public boolean isShowDelegations()

setShowDelegations

public void setShowDelegations(boolean showDelegations)

establishRequiredState

public void establishRequiredState()
                            throws Exception
Throws:
Exception

validateResponsibility

public void validateResponsibility(String keyPrefix,
                                   org.apache.struts.action.ActionErrors errors)

edit

public void edit(RuleResponsibilityBo ruleResponsibility)
          throws Exception
Throws:
Exception

load

public void load(RuleResponsibilityBo ruleResponsibility)
          throws Exception
Throws:
Exception

loadDelegations

public void loadDelegations()
                     throws Exception
Throws:
Exception

populatePreviousRuleIds

public void populatePreviousRuleIds()

prepareHiddenDelegationsForRoute

public void prepareHiddenDelegationsForRoute()

isHasDelegateRuleTemplate

public boolean isHasDelegateRuleTemplate()

setHasDelegateRuleTemplate

public void setHasDelegateRuleTemplate(boolean hasDelegateRuleTemplate)


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.