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)
RuleRepositoryService
selectContext
in interface RuleRepositoryService
ContextSelectionCriteria
public AgendaTreeDefinition getAgendaTree(String agendaId)
RuleRepositoryService
getAgendaTree
in interface RuleRepositoryService
agendaId
- the id of the agenda for which to retrieve the agenda treepublic List<AgendaTreeDefinition> getAgendaTrees(List<String> agendaIds)
RuleRepositoryService
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.
getAgendaTrees
in interface RuleRepositoryService
agendaIds
- the list of agenda ids for which to retrieve the agenda treespublic RuleDefinition getRule(String ruleId)
RuleRepositoryService
getRule
in interface RuleRepositoryService
ruleId
- the id of the rule to retrievepublic List<RuleDefinition> getRules(List<String> ruleIds)
RuleRepositoryService
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.
getRules
in interface RuleRepositoryService
ruleIds
- the list of rule ids for which to retrieve the rulespublic void setDataObjectService(DataObjectService dataObjectService)
public DataObjectService getDataObjectService()
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.