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, 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, 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, toafterDelete, 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, setVersionNumbertoStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waittoStringpublic WebRuleBaseValues()
public WebRuleBaseValues(RuleBaseValues rule) throws Exception
Exceptionpublic KeyValueId getField(int index)
public String getFromDateString()
getFromDateString in class RuleBaseValuespublic void setFromDateString(String fromDateString)
public String getToDateString()
getToDateString in class RuleBaseValuespublic void setToDateString(String toDateString)
public String getRuleTemplateName()
RuleContractThis is the name of the rule template for the rule
getRuleTemplateName in interface RuleContractgetRuleTemplateName in class RuleBaseValuespublic void setRuleTemplateName(String ruleTemplateName)
public boolean isHasExtensionValueErrors()
public void setHasExtensionValueErrors(boolean hasRuleExtensionValueErrors)
public void edit(RuleBaseValues rule) throws Exception
Exceptionpublic void load(RuleBaseValues rule) throws Exception
Exceptionpublic void initialize() throws Exception
Exceptionpublic void establishRequiredState() throws Exception
Exceptionpublic RuleResponsibilityBo getResponsibility(int index)
getResponsibility in class RuleBaseValuespublic 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-2015 The Kuali Foundation. All Rights Reserved.