@Entity public class RuleBaseValues extends PersistableBusinessObjectBase implements RuleContract
extension, newCollectionRecord, objectId, versionNumber
Constructor and Description |
---|
RuleBaseValues() |
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 RuleBaseValues()
public RuleExpressionDef getRuleExpressionDef()
RuleContract
This is expression definition of the rule
getRuleExpressionDef
in interface RuleContract
public void setRuleExpressionDef(RuleExpressionDef ruleExpressionDef)
ruleExpressionDef
- the rule expression definition to set for this rulepublic String getRuleTemplateName()
RuleContract
This is the name of the rule template for the rule
getRuleTemplateName
in interface RuleContract
public RuleBaseValues getPreviousVersion()
public void setPreviousVersion(RuleBaseValues previousVersion)
public RuleResponsibilityBo getResponsibility(int index)
public RuleExtensionBo getRuleExtension(int index)
public RuleExtensionValue getRuleExtensionValue(String key)
public RuleExtensionValue getRuleExtensionValue(String ruleTemplateAttributeId, String key)
public String getPreviousRuleId()
RuleContract
This is the unique id value of the previous version of this Rule.
getPreviousRuleId
in interface RuleContract
public void setPreviousRuleId(String previousVersion)
public void addRuleResponsibility(RuleResponsibilityBo ruleResponsibility)
public void addRuleResponsibility(RuleResponsibilityBo ruleResponsibility, Integer counter)
public RuleTemplateBo getRuleTemplate()
RuleContract
This is the unique Id of the rule template of the rule
getRuleTemplate
in interface RuleContract
public void setRuleTemplate(RuleTemplateBo ruleTemplate)
public String getRuleTemplateId()
public void setRuleTemplateId(String ruleTemplateId)
public DocumentType getDocumentType()
public String getDocTypeName()
RuleContract
getDocTypeName
in interface RuleContract
public void setDocTypeName(String docTypeName)
public List<RuleExtensionBo> getRuleExtensions()
RuleContract
getRuleExtensions
in interface RuleContract
public Map<String,String> getRuleExtensionMap()
public void setRuleExtensions(List<RuleExtensionBo> ruleExtensions)
public List<RuleResponsibilityBo> getRuleResponsibilities()
RuleContract
getRuleResponsibilities
in interface RuleContract
public void setRuleResponsibilities(List<RuleResponsibilityBo> ruleResponsibilities)
public RuleResponsibilityBo getResponsibility(Long ruleResponsibilityKey)
public void removeResponsibility(int index)
public boolean isActive()
RuleContract
isActive
in interface RuleContract
public void setActive(boolean active)
public String getActiveIndDisplay()
public Boolean getCurrentInd()
public void setCurrentInd(Boolean currentInd)
public Timestamp getFromDateValue()
public org.joda.time.DateTime getFromDate()
RuleContract
This is the date from which the rule stops being be used
getFromDate
in interface RuleContract
public void setFromDateValue(Timestamp fromDateValue)
public String getDescription()
RuleContract
getDescription
in interface RuleContract
public void setDescription(String description)
public String getId()
Identifiable
getId
in interface Identifiable
public Timestamp getToDateValue()
public org.joda.time.DateTime getToDate()
RuleContract
This is the date from which the rule starts to be used
getToDate
in interface RuleContract
public void setToDateValue(Timestamp toDateValue)
public Integer getVersionNbr()
public void setVersionNbr(Integer versionNbr)
public String getReturnUrl()
public void setReturnUrl(String returnUrl)
public String getFromDateString()
public String getToDateString()
public boolean isForceAction()
RuleContract
isForceAction
in interface RuleContract
public void setForceAction(boolean forceAction)
public boolean isMatch(DocumentContent docContent)
public RuleResponsibilityBo findResponsibility(String roleName)
public String getDocumentId()
public void setDocumentId(String documentId)
public Boolean getDelegateRule()
public void setDelegateRule(Boolean isDelegateRule)
public Timestamp getActivationDate()
public void setActivationDate(Timestamp activationDate)
public MyColumns getMyColumns()
public void setMyColumns(MyColumns additionalColumns)
public String getDestinationUrl()
public void setDestinationUrl(String destinationUrl)
public Timestamp getDeactivationDate()
public void setDeactivationDate(Timestamp deactivationDate)
public Boolean getTemplateRuleInd()
public void setTemplateRuleInd(Boolean templateRuleInd)
templateRuleInd
- whether this is a defaults/template rulepublic String getName()
getName
in interface RuleContract
public List<PersonRuleResponsibility> getPersonResponsibilities()
public void setPersonResponsibilities(List<PersonRuleResponsibility> personResponsibilities)
public List<GroupRuleResponsibility> getGroupResponsibilities()
public void setGroupResponsibilities(List<GroupRuleResponsibility> groupResponsibilities)
public List<RoleRuleResponsibility> getRoleResponsibilities()
public void setRoleResponsibilities(List<RoleRuleResponsibility> roleResponsibilities)
public Map<String,String> getFieldValues()
public void setFieldValues(Map<String,String> fieldValues)
fieldValues
- the fieldValues to setpublic String getGroupReviewerName()
public String getGroupReviewerNamespace()
public String getPersonReviewer()
public void setGroupReviewerName(String groupReviewerName)
public void setGroupReviewerNamespace(String groupReviewerNamespace)
public void setPersonReviewer(String personReviewer)
public GroupBo getGroupBo()
public PersonImpl getPersonImpl()
public String getPersonReviewerType()
public void setPersonReviewerType(String personReviewerType)
public static Rule to(RuleBaseValues bo)
bo
- the mutable business objectpublic void refresh()
PersistableBusinessObjectBase
refresh
in interface BusinessObject
refresh
in class PersistableBusinessObjectBase
BusinessObject.refresh()
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.