Coverage Report - org.kuali.rice.krms.impl.provider.repository.RepositoryToEngineTranslator
 
Classes in this File Line Coverage Branch Coverage Complexity
RepositoryToEngineTranslator
N/A
N/A
1
 
 1  
 /**
 2  
  * Copyright 2005-2011 The Kuali Foundation
 3  
  *
 4  
  * Licensed under the Educational Community License, Version 2.0 (the "License");
 5  
  * you may not use this file except in compliance with the License.
 6  
  * You may obtain a copy of the License at
 7  
  *
 8  
  * http://www.opensource.org/licenses/ecl2.php
 9  
  *
 10  
  * Unless required by applicable law or agreed to in writing, software
 11  
  * distributed under the License is distributed on an "AS IS" BASIS,
 12  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 13  
  * See the License for the specific language governing permissions and
 14  
  * limitations under the License.
 15  
  */
 16  
 package org.kuali.rice.krms.impl.provider.repository;
 17  
 
 18  
 import org.kuali.rice.krms.api.repository.action.ActionDefinition;
 19  
 import org.kuali.rice.krms.api.repository.agenda.AgendaDefinition;
 20  
 import org.kuali.rice.krms.api.repository.agenda.AgendaTreeDefinition;
 21  
 import org.kuali.rice.krms.api.repository.context.ContextDefinition;
 22  
 import org.kuali.rice.krms.api.repository.proposition.PropositionDefinition;
 23  
 import org.kuali.rice.krms.api.repository.rule.RuleDefinition;
 24  
 import org.kuali.rice.krms.framework.engine.Action;
 25  
 import org.kuali.rice.krms.framework.engine.Agenda;
 26  
 import org.kuali.rice.krms.framework.engine.AgendaTree;
 27  
 import org.kuali.rice.krms.framework.engine.Context;
 28  
 import org.kuali.rice.krms.framework.engine.Proposition;
 29  
 import org.kuali.rice.krms.framework.engine.Rule;
 30  
 import org.kuali.rice.krms.framework.engine.SubAgenda;
 31  
 
 32  
 import java.util.List;
 33  
 
 34  
 /**
 35  
  * This is a description of what this class does - ewestfal don't forget to fill this in. 
 36  
  * 
 37  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 38  
  *
 39  
  */
 40  
 public interface RepositoryToEngineTranslator {
 41  
 
 42  
         public Context translateContextDefinition(ContextDefinition contextDefinition);
 43  
         
 44  
         public Agenda translateAgendaDefinition(AgendaDefinition agendaDefinition);
 45  
         
 46  
         public AgendaTree translateAgendaDefinitionToAgendaTree(AgendaDefinition agendaDefinition);
 47  
         
 48  
         public AgendaTree translateAgendaTreeDefinition(AgendaTreeDefinition agendaTreeDefinition);
 49  
                 
 50  
         public Rule translateRuleDefinition(RuleDefinition ruleDefinition);
 51  
         
 52  
         public SubAgenda translateAgendaTreeDefinitionToSubAgenda(AgendaTreeDefinition subAgendaDefinition);
 53  
         
 54  
         public Proposition translatePropositionDefinition(PropositionDefinition propositionDefinition);
 55  
         
 56  
         public Action translateActionDefinition(ActionDefinition actionDefinition);
 57  
 
 58  
     public List<Action> translateActionDefinitions(List<ActionDefinition> actions);
 59  
 }