|
||||||||||
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)
contextSelectionCriteria
-
AgendaTreeDefinition getAgendaTree(String agendaId)
agendaId
- the id of the agenda for which to retrieve the agenda tree
IllegalArgumentException
- if the given agendaId is nullList<AgendaTreeDefinition> getAgendaTrees(List<String> agendaIds)
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
IllegalArgumentException
- if the given list of agendaIds is nullRuleDefinition getRule(String ruleId)
ruleId
- the id of the rule to retrieve
IllegalArgumentException
- if the given ruleId is nullList<RuleDefinition> getRules(List<String> ruleIds)
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
IllegalArgumentException
- if the given list of ruleIds is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |