org.kuali.rice.kew.rule
Class RuleBaseValues
java.lang.Object
org.kuali.rice.krad.bo.BusinessObjectBase
org.kuali.rice.krad.bo.PersistableBusinessObjectBase
org.kuali.rice.kew.rule.RuleBaseValues
- All Implemented Interfaces:
- Serializable, org.apache.ojb.broker.PersistenceBrokerAware, GloballyUnique, Versioned, ModelObjectBasic, BusinessObject, PersistableBusinessObject
- Direct Known Subclasses:
- WebRuleBaseValues
@Entity
public class RuleBaseValues
- extends PersistableBusinessObjectBase
A model bean for a Rule within the KEW rules engine.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
- Serialized Form
Methods inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase |
afterDelete, 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, setVersionNumber |
RuleBaseValues
public RuleBaseValues()
getRuleExpressionDef
public RuleExpressionDef getRuleExpressionDef()
- Returns:
- the rule expression definition for this rule, if defined
setRuleExpressionDef
public void setRuleExpressionDef(RuleExpressionDef ruleExpressionDef)
- Parameters:
ruleExpressionDef
- the rule expression definition to set for this rule
getRuleExtensionValueLabels
public Map getRuleExtensionValueLabels()
getRuleTemplateName
public String getRuleTemplateName()
getPreviousVersion
public RuleBaseValues getPreviousVersion()
setPreviousVersion
public void setPreviousVersion(RuleBaseValues previousVersion)
getResponsibility
public RuleResponsibility getResponsibility(int index)
getRuleExtension
public RuleExtension getRuleExtension(int index)
getRuleExtensionValue
public RuleExtensionValue getRuleExtensionValue(String key)
getRuleExtensionValue
public RuleExtensionValue getRuleExtensionValue(String ruleTemplateAttributeId,
String key)
getPreviousVersionId
public String getPreviousVersionId()
setPreviousVersionId
public void setPreviousVersionId(String previousVersion)
addRuleResponsibility
public void addRuleResponsibility(RuleResponsibility ruleResponsibility)
addRuleResponsibility
public void addRuleResponsibility(RuleResponsibility ruleResponsibility,
Integer counter)
getRuleTemplate
public RuleTemplate getRuleTemplate()
setRuleTemplate
public void setRuleTemplate(RuleTemplate ruleTemplate)
getRuleTemplateId
public String getRuleTemplateId()
setRuleTemplateId
public void setRuleTemplateId(String ruleTemplateId)
getDocumentType
public DocumentType getDocumentType()
getDocTypeName
public String getDocTypeName()
setDocTypeName
public void setDocTypeName(String docTypeName)
getRuleExtensions
public List<RuleExtension> getRuleExtensions()
setRuleExtensions
public void setRuleExtensions(List<RuleExtension> ruleExtensions)
getResponsibilities
public List<RuleResponsibility> getResponsibilities()
setResponsibilities
public void setResponsibilities(List<RuleResponsibility> responsibilities)
getResponsibility
public RuleResponsibility getResponsibility(Long ruleResponsibilityKey)
removeResponsibility
public void removeResponsibility(int index)
getActiveInd
public Boolean getActiveInd()
setActiveInd
public void setActiveInd(Boolean activeInd)
getActiveIndDisplay
public String getActiveIndDisplay()
getCurrentInd
public Boolean getCurrentInd()
setCurrentInd
public void setCurrentInd(Boolean currentInd)
getFromDate
public Timestamp getFromDate()
setFromDate
public void setFromDate(Timestamp fromDate)
getDescription
public String getDescription()
setDescription
public void setDescription(String description)
getRuleBaseValuesId
public String getRuleBaseValuesId()
setRuleBaseValuesId
public void setRuleBaseValuesId(String ruleBaseValuesId)
getToDate
public Timestamp getToDate()
setToDate
public void setToDate(Timestamp toDate)
getVersionNbr
public Integer getVersionNbr()
setVersionNbr
public void setVersionNbr(Integer versionNbr)
getReturnUrl
public String getReturnUrl()
setReturnUrl
public void setReturnUrl(String returnUrl)
getFromDateString
public String getFromDateString()
getToDateString
public String getToDateString()
getForceAction
public Boolean getForceAction()
setForceAction
public void setForceAction(Boolean forceAction)
isActive
public boolean isActive(Date date)
isMatch
public boolean isMatch(DocumentContent docContent)
findResponsibility
public RuleResponsibility findResponsibility(String roleName)
getDocumentId
public String getDocumentId()
setDocumentId
public void setDocumentId(String documentId)
getDelegateRule
public Boolean getDelegateRule()
setDelegateRule
public void setDelegateRule(Boolean isDelegateRule)
getActivationDate
public Timestamp getActivationDate()
setActivationDate
public void setActivationDate(Timestamp activationDate)
getMyColumns
public MyColumns getMyColumns()
setMyColumns
public void setMyColumns(MyColumns additionalColumns)
getDestinationUrl
public String getDestinationUrl()
setDestinationUrl
public void setDestinationUrl(String destinationUrl)
getDeactivationDate
public Timestamp getDeactivationDate()
setDeactivationDate
public void setDeactivationDate(Timestamp deactivationDate)
getTemplateRuleInd
public Boolean getTemplateRuleInd()
- Returns:
- whether this is a defaults/template rule
setTemplateRuleInd
public void setTemplateRuleInd(Boolean templateRuleInd)
- Parameters:
templateRuleInd
- whether this is a defaults/template rule
getName
public String getName()
- Get the rule name
- Returns:
- the rule name
setName
public void setName(String name)
- Set the rule name
- Parameters:
name
- the rule name
getPersonResponsibilities
public List<PersonRuleResponsibility> getPersonResponsibilities()
setPersonResponsibilities
public void setPersonResponsibilities(List<PersonRuleResponsibility> personResponsibilities)
getGroupResponsibilities
public List<GroupRuleResponsibility> getGroupResponsibilities()
setGroupResponsibilities
public void setGroupResponsibilities(List<GroupRuleResponsibility> groupResponsibilities)
getRoleResponsibilities
public List<RoleRuleResponsibility> getRoleResponsibilities()
setRoleResponsibilities
public void setRoleResponsibilities(List<RoleRuleResponsibility> roleResponsibilities)
getFieldValues
public Map<String,String> getFieldValues()
- Returns:
- the fieldValues
setFieldValues
public void setFieldValues(Map<String,String> fieldValues)
- Parameters:
fieldValues
- the fieldValues to set
getGroupReviewerName
public String getGroupReviewerName()
getGroupReviewerNamespace
public String getGroupReviewerNamespace()
getPersonReviewer
public String getPersonReviewer()
setGroupReviewerName
public void setGroupReviewerName(String groupReviewerName)
setGroupReviewerNamespace
public void setGroupReviewerNamespace(String groupReviewerNamespace)
setPersonReviewer
public void setPersonReviewer(String personReviewer)
getPersonImpl
public PersonImpl getPersonImpl()
getPersonReviewerType
public String getPersonReviewerType()
setPersonReviewerType
public void setPersonReviewerType(String personReviewerType)
to
public static Rule to(RuleBaseValues bo)
- Converts a mutable bo to its immutable counterpart
- Parameters:
bo
- the mutable business object
- Returns:
- the immutable object
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.