public class WebRuleBaseValues extends RuleBaseValues
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.extension, newCollectionRecord, objectId, versionNumber
Constructor and Description |
---|
WebRuleBaseValues() |
WebRuleBaseValues(RuleBaseValues rule) |
Modifier and Type | Method and Description |
---|---|
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 |
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) |
addRuleResponsibility, addRuleResponsibility, findResponsibility, getActivationDate, getActiveIndDisplay, getCurrentInd, getDeactivationDate, getDelegateRule, getDescription, getDestinationUrl, getDocTypeName, getDocumentId, getDocumentType, getFieldValues, getFromDate, getFromDateValue, getGroupBo, getGroupResponsibilities, getGroupReviewerName, getGroupReviewerNamespace, getId, getMyColumns, getName, getPersonImpl, getPersonResponsibilities, getPersonReviewer, getPersonReviewerType, getPreviousRuleId, getPreviousVersion, getResponsibility, getReturnUrl, getRoleResponsibilities, getRuleExpressionDef, getRuleExtension, getRuleExtensionMap, getRuleExtensions, getRuleExtensionValue, getRuleExtensionValue, getRuleResponsibilities, getRuleTemplate, getRuleTemplateId, getTemplateRuleInd, getToDate, getToDateValue, getVersionNbr, isActive, isActive, isForceAction, isMatch, refresh, removeResponsibility, setActivationDate, setActive, setCurrentInd, setDeactivationDate, setDelegateRule, setDescription, setDestinationUrl, setDocTypeName, setDocumentId, setFieldValues, setForceAction, setFromDateValue, setGroupResponsibilities, setGroupReviewerName, setGroupReviewerNamespace, setId, setMyColumns, setName, setPersonResponsibilities, setPersonReviewer, setPersonReviewerType, setPreviousRuleId, setPreviousVersion, setReturnUrl, setRoleResponsibilities, setRuleExpressionDef, setRuleExtensions, setRuleResponsibilities, setRuleTemplate, setRuleTemplateId, setTemplateRuleInd, setToDateValue, setVersionNbr, to
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getLegacyDataAdapter, getObjectId, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
toString
public WebRuleBaseValues()
public WebRuleBaseValues(RuleBaseValues rule) throws Exception
Exception
public KeyValueId getField(int index)
public String getFromDateString()
getFromDateString
in class RuleBaseValues
public void setFromDateString(String fromDateString)
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 Map getActionRequestCodes()
public RuleDelegationBo getRuleDelegation()
public String getParentRuleId()
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.