|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RuleRepositoryService
The rule repository contains all of the information about context definitions, agendas, and business rules.
Method Summary | |
---|---|
AgendaTreeDefinition |
getAgendaTree(String agendaId)
Retrieves the agenda tree for the given agendaId. |
List<AgendaTreeDefinition> |
getAgendaTrees(List<String> agendaIds)
Retrieves all of the agendas trees for the given list of agendaIds. |
RuleDefinition |
getRule(String ruleId)
Retrieves the rule for the given ruleId. |
List<RuleDefinition> |
getRules(List<String> ruleIds)
Retrieves all of the rules for the given list of ruleIds. |
ContextDefinition |
selectContext(ContextSelectionCriteria contextSelectionCriteria)
Locates a ContextDefinition based on the given map of context qualifiers. |
Method Detail |
---|
ContextDefinition selectContext(ContextSelectionCriteria contextSelectionCriteria) throws RiceIllegalArgumentException
contextSelectionCriteria
-
RiceIllegalArgumentException
- if the implementation can't handle the given ContextSelectionCriteriaContextSelectionCriteria
@Cacheable(value="http://rice.kuali.org/krms/v2_0/AgendaTreeDefinition", key="\'agendaId=\' + #p0") AgendaTreeDefinition getAgendaTree(String agendaId) throws RiceIllegalArgumentException
agendaId
- the id of the agenda for which to retrieve the agenda tree
RiceIllegalArgumentException
- if the given agendaId is nullList<AgendaTreeDefinition> getAgendaTrees(List<String> agendaIds) throws RiceIllegalArgumentException
The list which is returned from this operation may not be the same size as the list which is passed to this method. If an agenda doesn't exist for a given agenda id then no result for that id will be returned in the list. As a result of this, the returned list can be empty, but it will never be null.
agendaIds
- the list of agenda ids for which to retrieve the agenda trees
RiceIllegalArgumentException
- if the given list of agendaIds is null@Cacheable(value="http://rice.kuali.org/krms/v2_0/RuleType", key="\'ruleId=\' + #p0") RuleDefinition getRule(String ruleId) throws RiceIllegalArgumentException
ruleId
- the id of the rule to retrieve
RiceIllegalArgumentException
- if the given ruleId is nullList<RuleDefinition> getRules(List<String> ruleIds) throws RiceIllegalArgumentException
The list which is returned from this operation may not be the same size as the list which is passed to this method. If a rule doesn't exist for a given rule id then no result for that id will be returned in the list. As a result of this, the returned list can be empty, but it will never be null.
ruleIds
- the list of rule ids for which to retrieve the rules
RiceIllegalArgumentException
- if the given list of ruleIds is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |