1 | |
package org.kuali.student.lum.program.client.rpc; |
2 | |
|
3 | |
import java.util.List; |
4 | |
|
5 | |
import org.kuali.student.common.ui.client.service.BaseRpcServiceAsync; |
6 | |
import org.kuali.student.common.versionmanagement.dto.VersionDisplayInfo; |
7 | |
import org.kuali.student.core.statement.dto.ReqComponentInfo; |
8 | |
import org.kuali.student.core.statement.dto.ReqComponentTypeInfo; |
9 | |
import org.kuali.student.core.statement.dto.StatementTreeViewInfo; |
10 | |
import org.kuali.student.core.statement.dto.StatementTypeInfo; |
11 | |
import org.kuali.student.core.statement.ui.client.widgets.rules.ReqComponentInfoUi; |
12 | |
import org.kuali.student.lum.lu.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 | |
} |