View Javadoc

1   /*
2    * To change this template, choose Tools | Templates
3    * and open the template in the editor.
4    */
5   package org.kuali.rice.krms.api.repository;
6   
7   import org.kuali.rice.core.api.exception.RiceIllegalArgumentException;
8   import org.kuali.rice.krms.api.repository.proposition.PropositionDefinition;
9   
10  /**
11   * a Sub-interface to help manage the translation methods as separate business
12   * logic
13   *
14   * @author nwright
15   */
16  public interface TranslateBusinessMethods {
17  
18      public String translateNaturalLanguageForObject(String naturalLanguageUsageId,
19              String typeId, String krmsObjectId,
20              String languageCode) throws RiceIllegalArgumentException;
21  
22      public String translateNaturalLanguageForProposition(String naturalLanguageUsageId,
23              PropositionDefinition propositionDefinintion,
24              String languageCode)
25              throws RiceIllegalArgumentException;
26  
27      public NaturalLanguageTree translateNaturalLanguageTreeForProposition(String naturalLanguageUsageId,
28              PropositionDefinition propositionDefinintion,
29              String languageCode)
30              throws RiceIllegalArgumentException;
31  }