1 /**
2 * Copyright 2005-2016 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 /*
17 * To change this template, choose Tools | Templates
18 * and open the template in the editor.
19 */
20 package org.kuali.rice.krms.api.repository;
21
22 import org.kuali.rice.core.api.exception.RiceIllegalArgumentException;
23 import org.kuali.rice.krms.api.repository.proposition.PropositionDefinition;
24
25 /**
26 * a Sub-interface to help manage the translation methods as separate business
27 * logic
28 *
29 * @author nwright
30 */
31 public interface TranslateBusinessMethods {
32
33 public String translateNaturalLanguageForObject(String naturalLanguageUsageId,
34 String typeId, String krmsObjectId,
35 String languageCode) throws RiceIllegalArgumentException;
36
37 public String translateNaturalLanguageForProposition(String naturalLanguageUsageId,
38 PropositionDefinition propositionDefinintion,
39 String languageCode)
40 throws RiceIllegalArgumentException;
41
42 public NaturalLanguageTree translateNaturalLanguageTreeForProposition(String naturalLanguageUsageId,
43 PropositionDefinition propositionDefinintion,
44 String languageCode)
45 throws RiceIllegalArgumentException;
46 }