public class RuleRepositoryServiceImpl extends Object implements RuleRepositoryService
| Modifier and Type | Field and Description |
|---|---|
protected DataObjectService |
dataObjectService |
| Constructor and Description |
|---|
RuleRepositoryServiceImpl() |
| 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.
|
DataObjectService |
getDataObjectService() |
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.
|
void |
setDataObjectService(DataObjectService dataObjectService) |
protected DataObjectService dataObjectService
public RuleRepositoryServiceImpl()
public ContextDefinition selectContext(ContextSelectionCriteria contextSelectionCriteria)
RuleRepositoryServiceselectContext in interface RuleRepositoryServiceContextSelectionCriteriapublic AgendaTreeDefinition getAgendaTree(String agendaId)
RuleRepositoryServicegetAgendaTree in interface RuleRepositoryServiceagendaId - the id of the agenda for which to retrieve the agenda treepublic List<AgendaTreeDefinition> getAgendaTrees(List<String> agendaIds)
RuleRepositoryServiceThe 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.
getAgendaTrees in interface RuleRepositoryServiceagendaIds - the list of agenda ids for which to retrieve the agenda treespublic RuleDefinition getRule(String ruleId)
RuleRepositoryServicegetRule in interface RuleRepositoryServiceruleId - the id of the rule to retrievepublic List<RuleDefinition> getRules(List<String> ruleIds)
RuleRepositoryServiceThe 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.
getRules in interface RuleRepositoryServiceruleIds - the list of rule ids for which to retrieve the rulespublic void setDataObjectService(DataObjectService dataObjectService)
public DataObjectService getDataObjectService()
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.