public final class RuleBoServiceImpl extends Object implements RuleBoService
Constructor and Description |
---|
RuleBoServiceImpl() |
Modifier and Type | Method and Description |
---|---|
List<RuleDefinition> |
convertListOfBosToImmutables(Collection<org.kuali.rice.krms.impl.repository.RuleBo> ruleBos)
Converts a List
|
RuleDefinition |
createRule(RuleDefinition rule)
This overridden creates a KRMS Rule in the repository
|
org.kuali.rice.krms.impl.repository.RuleAttributeBo |
getRuleAttributeById(String attrId)
This method ...
|
RuleDefinition |
getRuleByNameAndNamespace(String name,
String namespace)
This method retrieves a rule from the repository given the name of the rule
and namespace.
|
RuleDefinition |
getRuleByRuleId(String ruleId)
This method retrieves a rule from the repository given the rule id.
|
void |
setBusinessObjectService(BusinessObjectService businessObjectService)
Sets the businessObjectService attribute value.
|
void |
updateRule(RuleDefinition rule)
This overridden updates an existing Rule in the Repository
|
public RuleBoServiceImpl()
public RuleDefinition createRule(RuleDefinition rule)
createRule
in interface RuleBoService
rule
- The Rule to createRuleBoService.createRule(org.kuali.rice.krms.api.repository.rule.RuleDefinition)
public void updateRule(RuleDefinition rule)
updateRule
in interface RuleBoService
rule
- The Rule to updateRuleBoService.updateRule(org.kuali.rice.krms.api.repository.rule.RuleDefinition)
public RuleDefinition getRuleByRuleId(String ruleId)
getRuleByRuleId
in interface RuleBoService
ruleId
- the id of the Rule to retrieveRuleDefinition
identified by the given actionId.
A null reference is returned if an invalid or non-existent id is supplied.RuleBoService.getRuleByRuleId(java.lang.String)
public RuleDefinition getRuleByNameAndNamespace(String name, String namespace)
getRuleByNameAndNamespace
in interface RuleBoService
name
- the name of the Rule to retrieve.namespace
- the namespace that the rule is under.RuleDefinition
identified by the given name and namespace.
A null reference is returned if an invalid or non-existent name and
namespace combination is supplied.RuleBoService.getRuleByRuleId(java.lang.String)
public org.kuali.rice.krms.impl.repository.RuleAttributeBo getRuleAttributeById(String attrId)
org.kuali.rice.krms.impl.repository.RuleBoService#getRuleAttributeById(java.lang.String)
public void setBusinessObjectService(BusinessObjectService businessObjectService)
businessObjectService
- The businessObjectService to set.public List<RuleDefinition> convertListOfBosToImmutables(Collection<org.kuali.rice.krms.impl.repository.RuleBo> ruleBos)
RuleBos
- a mutable ListCopyright © 2005-2015 The Kuali Foundation. All Rights Reserved.