1 package org.kuali.student.lum.program.client.rpc; 2 3 import java.util.List; 4 5 import org.kuali.student.r1.core.statement.dto.ReqComponentInfo; 6 import org.kuali.student.r1.core.statement.dto.ReqComponentTypeInfo; 7 import org.kuali.student.r1.core.statement.dto.StatementTreeViewInfo; 8 import org.kuali.student.r2.core.versionmanagement.dto.VersionDisplayInfo; 9 import org.kuali.student.r1.core.statement.dto.StatementTypeInfo; 10 import org.kuali.student.common.ui.client.service.BaseRpcServiceAsync; 11 import org.kuali.student.core.statement.ui.client.widgets.rules.ReqComponentInfoUi; 12 import org.kuali.student.r2.lum.clu.dto.CluInfo; 13 14 import com.google.gwt.user.client.rpc.AsyncCallback; 15 16 public interface StatementRpcServiceAsync extends BaseRpcServiceAsync { 17 public void getStatementTypesForStatementTypeForCourse(String statementTypeKey, AsyncCallback<List<StatementTypeInfo>> callback); 18 public void getStatementTypesForStatementType(String statementTypeKey, AsyncCallback<List<StatementTypeInfo>> callback); 19 public void getReqComponentTypesForStatementType(String luStatementTypeKey, AsyncCallback<List<ReqComponentTypeInfo>> callback); 20 public void translateReqComponentToNL(ReqComponentInfo reqComponentInfo, String nlUsageTypeKey, String language, AsyncCallback<String> callback); 21 public void translateStatementTreeViewToNL(StatementTreeViewInfo statementTreeViewInfo, String nlUsageTypeKey, String language, AsyncCallback<String> callback); 22 public void translateReqComponentToNLs(ReqComponentInfoUi reqComp, String[] nlUsageTypeKeys, String temlateLanguage, AsyncCallback<List<String>> callback); 23 public void getClu(String cluId, AsyncCallback<CluInfo> callback); 24 public void getCurrentVersion(String refObjectTypeURI, String refObjectId, AsyncCallback<VersionDisplayInfo> callback); 25 }