001package org.kuali.student.lum.program.client.rpc;
002
003import java.util.List;
004
005import org.kuali.student.r1.core.statement.dto.ReqComponentInfo;
006import org.kuali.student.r1.core.statement.dto.ReqComponentTypeInfo;
007import org.kuali.student.r1.core.statement.dto.StatementTreeViewInfo;
008import org.kuali.student.r2.core.versionmanagement.dto.VersionDisplayInfo;
009import org.kuali.student.r1.core.statement.dto.StatementTypeInfo;
010import org.kuali.student.common.ui.client.service.BaseRpcServiceAsync;
011import org.kuali.student.core.statement.ui.client.widgets.rules.ReqComponentInfoUi;
012import org.kuali.student.r2.lum.clu.dto.CluInfo;
013
014import com.google.gwt.user.client.rpc.AsyncCallback;
015
016public interface StatementRpcServiceAsync extends BaseRpcServiceAsync {
017    public void getStatementTypesForStatementTypeForCourse(String statementTypeKey, AsyncCallback<List<StatementTypeInfo>> callback);
018    public void getStatementTypesForStatementType(String statementTypeKey, AsyncCallback<List<StatementTypeInfo>> callback);
019    public void getReqComponentTypesForStatementType(String luStatementTypeKey, AsyncCallback<List<ReqComponentTypeInfo>> callback);
020    public void translateReqComponentToNL(ReqComponentInfo reqComponentInfo, String nlUsageTypeKey, String language, AsyncCallback<String> callback);
021    public void translateStatementTreeViewToNL(StatementTreeViewInfo statementTreeViewInfo, String nlUsageTypeKey, String language, AsyncCallback<String> callback);
022        public void translateReqComponentToNLs(ReqComponentInfoUi reqComp, String[] nlUsageTypeKeys, String temlateLanguage, AsyncCallback<List<String>> callback);
023    public void getClu(String cluId, AsyncCallback<CluInfo> callback);
024    public void getCurrentVersion(String refObjectTypeURI, String refObjectId, AsyncCallback<VersionDisplayInfo> callback);
025}