|
||||||||||
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
@Entity public class RuleBaseValues
A model bean for a Rule within the KEW rules engine.
Field Summary |
---|
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase |
---|
extension, versionNumber |
Constructor Summary | |
---|---|
RuleBaseValues()
|
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 RuleBaseValues()
Method Detail |
---|
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 Map getRuleExtensionValueLabels()
public 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 void setId(String id)
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 isActive(Date date)
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 void setName(String name)
name
- the rule namepublic 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 PersonImpl getPersonImpl()
public String getPersonReviewerType()
public void setPersonReviewerType(String personReviewerType)
public static Rule to(RuleBaseValues bo)
bo
- the mutable business object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |