001    /*
002     * To change this template, choose Tools | Templates
003     * and open the template in the editor.
004     */
005    package org.kuali.rice.krms.api.repository;
006    
007    import org.kuali.rice.core.api.exception.RiceIllegalArgumentException;
008    import org.kuali.rice.krms.api.repository.proposition.PropositionDefinition;
009    
010    /**
011     * a Sub-interface to help manage the translation methods as separate business
012     * logic
013     *
014     * @author nwright
015     */
016    public interface TranslateBusinessMethods {
017    
018        public String translateNaturalLanguageForObject(String naturalLanguageUsageId,
019                String typeId, String krmsObjectId,
020                String languageCode) throws RiceIllegalArgumentException;
021    
022        public String translateNaturalLanguageForProposition(String naturalLanguageUsageId,
023                PropositionDefinition propositionDefinintion,
024                String languageCode)
025                throws RiceIllegalArgumentException;
026    
027        public NaturalLanguageTree translateNaturalLanguageTreeForProposition(String naturalLanguageUsageId,
028                PropositionDefinition propositionDefinintion,
029                String languageCode)
030                throws RiceIllegalArgumentException;
031    }