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.BaseRpcService;
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.RemoteServiceRelativePath;
15
16 @RemoteServiceRelativePath("rpcservices/statementRpcService")
17 public interface StatementRpcService extends BaseRpcService {
18 List<StatementTypeInfo> getStatementTypesForStatementTypeForCourse(String statementTypeKey) throws Exception;
19 List<StatementTypeInfo> getStatementTypesForStatementType(String statementTypeKey) throws Exception;
20 List<ReqComponentTypeInfo> getReqComponentTypesForStatementType(String luStatementTypeKey) throws Exception;
21 String translateReqComponentToNL(ReqComponentInfo reqComponentInfo, String nlUsageTypeKey, String language) throws Exception;
22 String translateStatementTreeViewToNL(StatementTreeViewInfo statementTreeViewInfo, String nlUsageTypeKey, String language) throws Exception;
23 List<String> translateReqComponentToNLs(ReqComponentInfoUi reqComponentInfo, String[] nlUsageTypeKeys, String language) throws Exception;
24 CluInfo getClu(String cluId) throws Exception;
25 VersionDisplayInfo getCurrentVersion(String refObjectTypeURI, String refObjectId) throws Exception;
26 }