|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.bo.BusinessObjectBase org.kuali.rice.krad.bo.PersistableBusinessObjectBase org.kuali.rice.kew.rule.RuleBaseValues org.kuali.rice.kew.rule.web.WebRuleBaseValues
public class WebRuleBaseValues
A decorator around a RuleBaseValues
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.
Field Summary |
---|
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase |
---|
extension, versionNumber |
Constructor Summary | |
---|---|
WebRuleBaseValues()
|
|
WebRuleBaseValues(RuleBaseValues rule)
|
Method Summary | |
---|---|
WebRuleResponsibility |
createNewRuleResponsibility()
|
void |
edit(RuleBaseValues rule)
Populates this WebRuleBaseValues object for editing the given rule. |
void |
establishRequiredState()
Establishes any missing and required state in the WebRuleBaseValues. |
Map |
getActionRequestCodes()
|
KeyValueId |
getField(int index)
|
Map |
getFieldMap(String ruleTemplateAttributeId)
|
List |
getFields()
|
String |
getFromDateString()
|
String |
getParentRuleId()
|
int |
getResponsibilitiesSize()
|
RuleResponsibilityBo |
getResponsibility(int index)
|
List<RoleName> |
getRoles()
|
List<RoleName> |
getRows()
|
RuleDelegationBo |
getRuleDelegation()
|
String |
getRuleTemplateName()
Template Name of the Rule. |
String |
getToDateString()
|
void |
initialize()
|
boolean |
isHasExtensionValueErrors()
|
void |
load(RuleBaseValues rule)
Loads the given rule into this WebRuleBaseValues. |
void |
loadFieldsWithDefaultValues()
|
void |
materialize()
This method is used to "materialize" the web rule before it gets saved, if we don't do this then certain fields will be saved as NULL. |
void |
populatePreviousRuleIds()
|
void |
setFields(List fields)
|
void |
setFromDateString(String fromDateString)
|
void |
setHasExtensionValueErrors(boolean hasRuleExtensionValueErrors)
|
void |
setRoles(List<RoleName> roles)
|
void |
setRows(List ruleTemplateAttributes)
|
void |
setRuleTemplateName(String ruleTemplateName)
|
void |
setToDateString(String toDateString)
|
void |
validateRule(String keyPrefix,
org.apache.struts.action.ActionErrors errors)
|
Methods inherited from class org.kuali.rice.krad.bo.BusinessObjectBase |
---|
prepareForWorkflow, toString, toStringBuilder, toStringMapper |
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 |
---|
public WebRuleBaseValues()
public WebRuleBaseValues(RuleBaseValues rule) throws Exception
Exception
Method Detail |
---|
public void loadFieldsWithDefaultValues()
public List getFields()
public void setFields(List fields)
public KeyValueId getField(int index)
public String getFromDateString()
getFromDateString
in class RuleBaseValues
public void setFromDateString(String fromDateString)
public List<RoleName> getRoles()
public void setRoles(List<RoleName> roles)
public List<RoleName> getRows()
public void setRows(List ruleTemplateAttributes)
public String getToDateString()
getToDateString
in class RuleBaseValues
public void setToDateString(String toDateString)
public String getRuleTemplateName()
RuleContract
This is the name of the rule template for the rule
getRuleTemplateName
in interface RuleContract
getRuleTemplateName
in class RuleBaseValues
public void setRuleTemplateName(String ruleTemplateName)
public boolean isHasExtensionValueErrors()
public void setHasExtensionValueErrors(boolean hasRuleExtensionValueErrors)
public void edit(RuleBaseValues rule) throws Exception
Exception
public void load(RuleBaseValues rule) throws Exception
Exception
public void initialize() throws Exception
Exception
public void establishRequiredState() throws Exception
Exception
public RuleResponsibilityBo getResponsibility(int index)
getResponsibility
in class RuleBaseValues
public int getResponsibilitiesSize()
public WebRuleResponsibility createNewRuleResponsibility()
public Map getFieldMap(String ruleTemplateAttributeId)
public void populatePreviousRuleIds()
public void materialize()
public void validateRule(String keyPrefix, org.apache.struts.action.ActionErrors errors)
public Map getActionRequestCodes()
public RuleDelegationBo getRuleDelegation()
public String getParentRuleId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |