public interface RuleRepositoryService
Modifier and Type | Method and Description |
---|---|
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.
|
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 treeRiceIllegalArgumentException
- 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 treesRiceIllegalArgumentException
- 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 retrieveRiceIllegalArgumentException
- 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 rulesRiceIllegalArgumentException
- if the given list of ruleIds is nullCopyright © 2005–2015 The Kuali Foundation. All rights reserved.