|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.krms.impl.repository.RuleBoServiceImpl
public final class RuleBoServiceImpl
| Constructor Summary | |
|---|---|
RuleBoServiceImpl()
|
|
| Method Summary | |
|---|---|
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 |
void |
deleteRule(String ruleId)
Delete the RuleDefinition with the given id. |
org.kuali.rice.krms.impl.repository.RuleBo |
from(RuleDefinition rule)
Converts a immutable RuleDefinition to its mutable RuleBo counterpart. |
protected KrmsAttributeDefinitionService |
getAttributeDefinitionService()
|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RuleBoServiceImpl()
| Method Detail |
|---|
public RuleDefinition createRule(RuleDefinition rule)
createRule in interface RuleBoServicerule - The Rule to createRuleBoService.createRule(org.kuali.rice.krms.api.repository.rule.RuleDefinition)public void updateRule(RuleDefinition rule)
updateRule in interface RuleBoServicerule - The Rule to updateRuleBoService.updateRule(org.kuali.rice.krms.api.repository.rule.RuleDefinition)public void deleteRule(String ruleId)
RuleBoServiceRuleDefinition with the given id.
deleteRule in interface RuleBoServiceruleId - to delete.public RuleDefinition getRuleByRuleId(String ruleId)
getRuleByRuleId in interface RuleBoServiceruleId - the id of the Rule to retrieve
RuleDefinition 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 RuleBoServicename - 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 org.kuali.rice.krms.impl.repository.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<org.kuali.rice.krms.impl.repository.RuleBo> ruleBos)
ruleBos - a mutable Listprotected KrmsAttributeDefinitionService getAttributeDefinitionService()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||