org.kuali.rice.krms.impl.provider.repository
Class RepositoryToEngineTranslatorImpl

java.lang.Object
  extended by org.kuali.rice.krms.impl.provider.repository.RepositoryToEngineTranslatorImpl
All Implemented Interfaces:
RepositoryToEngineTranslator

public class RepositoryToEngineTranslatorImpl
extends Object
implements RepositoryToEngineTranslator

TODO...

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
RepositoryToEngineTranslatorImpl()
           
 
Method Summary
 TermRepositoryService getTermRepositoryService()
           
protected  Map<String,Rule> loadRules(List<String> ruleIds)
           
protected  Map<String,SubAgenda> loadSubAgendas(List<String> subAgendaIds)
           
 void setRuleRepositoryService(RuleRepositoryService ruleRepositoryService)
           
 void setTermRepositoryService(TermRepositoryService termRepositoryService)
           
 void setTypeResolver(KrmsTypeResolver typeResolver)
           
 Action translateActionDefinition(ActionDefinition actionDefinition)
           
 List<Action> translateActionDefinitions(List<ActionDefinition> actionDefinitions)
           
 Agenda translateAgendaDefinition(AgendaDefinition agendaDefinition)
           
 AgendaTree translateAgendaDefinitionToAgendaTree(AgendaDefinition agendaDefinition)
           
 AgendaTree translateAgendaTreeDefinition(AgendaTreeDefinition agendaTreeDefinition)
           
 SubAgenda translateAgendaTreeDefinitionToSubAgenda(AgendaTreeDefinition subAgendaDefinition)
           
 Context translateContextDefinition(ContextDefinition contextDefinition)
           
 Proposition translatePropositionDefinition(PropositionDefinition propositionDefinition)
           
 Rule translateRuleDefinition(RuleDefinition ruleDefinition)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryToEngineTranslatorImpl

public RepositoryToEngineTranslatorImpl()
Method Detail

translateContextDefinition

public Context translateContextDefinition(ContextDefinition contextDefinition)
Specified by:
translateContextDefinition in interface RepositoryToEngineTranslator

translateAgendaDefinition

public Agenda translateAgendaDefinition(AgendaDefinition agendaDefinition)
Specified by:
translateAgendaDefinition in interface RepositoryToEngineTranslator

translateAgendaDefinitionToAgendaTree

public AgendaTree translateAgendaDefinitionToAgendaTree(AgendaDefinition agendaDefinition)
Specified by:
translateAgendaDefinitionToAgendaTree in interface RepositoryToEngineTranslator

translateAgendaTreeDefinition

public AgendaTree translateAgendaTreeDefinition(AgendaTreeDefinition agendaTreeDefinition)
Specified by:
translateAgendaTreeDefinition in interface RepositoryToEngineTranslator

loadRules

protected Map<String,Rule> loadRules(List<String> ruleIds)

loadSubAgendas

protected Map<String,SubAgenda> loadSubAgendas(List<String> subAgendaIds)

translateRuleDefinition

public Rule translateRuleDefinition(RuleDefinition ruleDefinition)
Specified by:
translateRuleDefinition in interface RepositoryToEngineTranslator

translatePropositionDefinition

public Proposition translatePropositionDefinition(PropositionDefinition propositionDefinition)
Specified by:
translatePropositionDefinition in interface RepositoryToEngineTranslator

translateActionDefinition

public Action translateActionDefinition(ActionDefinition actionDefinition)
Specified by:
translateActionDefinition in interface RepositoryToEngineTranslator

translateActionDefinitions

public List<Action> translateActionDefinitions(List<ActionDefinition> actionDefinitions)
Specified by:
translateActionDefinitions in interface RepositoryToEngineTranslator

translateAgendaTreeDefinitionToSubAgenda

public SubAgenda translateAgendaTreeDefinitionToSubAgenda(AgendaTreeDefinition subAgendaDefinition)
Specified by:
translateAgendaTreeDefinitionToSubAgenda in interface RepositoryToEngineTranslator

setRuleRepositoryService

public void setRuleRepositoryService(RuleRepositoryService ruleRepositoryService)
Parameters:
ruleRepositoryService - the ruleRepositoryService to set

setTypeResolver

public void setTypeResolver(KrmsTypeResolver typeResolver)
Parameters:
typeResolver - the typeResolver to set

getTermRepositoryService

public TermRepositoryService getTermRepositoryService()

setTermRepositoryService

public void setTermRepositoryService(TermRepositoryService termRepositoryService)


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.