public final class KSRuleBoServiceImpl extends Object implements RuleBoService
Constructor and Description |
---|
KSRuleBoServiceImpl() |
Modifier and Type | Method and Description |
---|---|
List<RuleDefinition> |
convertListOfBosToImmutables(Collection<RuleBo> ruleBos)
Converts a List
|
RuleDefinition |
createRule(RuleDefinition rule)
This overridden creates a KRMS Rule in the repository
|
void |
deleteRule(String ruleId) |
RuleBo |
from(RuleDefinition rule)
Converts a immutable
RuleDefinition to its mutable RuleBo counterpart. |
protected KrmsAttributeDefinitionService |
getAttributeDefinitionService() |
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 KSRuleBoServiceImpl()
public RuleDefinition createRule(RuleDefinition rule)
createRule
in interface RuleBoService
RuleBoService.createRule(org.kuali.rice.krms.api.repository.rule.RuleDefinition)
public void updateRule(RuleDefinition rule)
updateRule
in interface RuleBoService
RuleBoService.updateRule(org.kuali.rice.krms.api.repository.rule.RuleDefinition)
public void deleteRule(String ruleId)
deleteRule
in interface RuleBoService
public RuleDefinition getRuleByRuleId(String ruleId)
getRuleByRuleId
in interface RuleBoService
RuleBoService.getRuleByRuleId(java.lang.String)
public RuleDefinition getRuleByNameAndNamespace(String name, String namespace)
getRuleByNameAndNamespace
in interface RuleBoService
RuleBoService.getRuleByRuleId(java.lang.String)
public RuleAttributeBo getRuleAttributeById(String attrId)
org.kuali.rice.krms.impl.repository.RuleBoService#getRuleAttributeById(java.lang.String)
public RuleBo from(RuleDefinition rule)
RuleDefinition
to its mutable RuleBo
counterpart.rule
- the immutable object.RuleBo
the mutable RuleBo.public void setBusinessObjectService(BusinessObjectService businessObjectService)
businessObjectService
- The businessObjectService to set.public List<RuleDefinition> convertListOfBosToImmutables(Collection<RuleBo> ruleBos)
ruleBos
- a mutable Listprotected KrmsAttributeDefinitionService getAttributeDefinitionService()
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.