1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
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 | |
|
36 | |
|
37 | |
|
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 | |
} |