1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.student.lum.lu.ui.course.client.service;
17
18 import java.util.List;
19 import java.util.Map;
20
21 import org.kuali.student.r2.common.dto.StatusInfo;
22 import org.kuali.student.r1.core.statement.dto.StatementTreeViewInfo;
23 import org.kuali.student.common.ui.client.service.BaseDataOrchestrationRpcService;
24 import org.kuali.student.common.ui.client.service.DataSaveResult;
25 import org.kuali.student.lum.lu.ui.course.client.requirements.CourseRequirementsDataModel;
26
27 import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
28
29 @RemoteServiceRelativePath("rpcservices/CourseRpcService")
30 public interface CourseRpcService extends BaseDataOrchestrationRpcService{
31 public List<StatementTreeViewInfo> getCourseStatements(String courseId, String nlUsageTypeKey, String language) throws Exception;
32 public Map<Integer, StatementTreeViewInfo> storeCourseStatements(String courseId, String courseState, Map<Integer, CourseRequirementsDataModel.requirementState> states,
33 Map<Integer, StatementTreeViewInfo> rules) throws Exception;
34 public StatementTreeViewInfo createCourseStatement(String courseId, String courseState, StatementTreeViewInfo statementTreeViewInfo) throws Exception;
35 public StatusInfo deleteCourseStatement(String courseId, StatementTreeViewInfo statementTreeViewInfo) throws Exception;
36 public StatementTreeViewInfo updateCourseStatement(String courseId, String courseState, StatementTreeViewInfo statementTreeViewInfo) throws Exception;
37 public StatusInfo changeState(String courseId, String newState) throws Exception;
38 public StatusInfo changeState(String courseId, String newState, String prevEndTerm) throws Exception;
39
40 public DataSaveResult createCopyCourse(String originalCluId) throws Exception;
41 public DataSaveResult createCopyCourseProposal(String originalProposalId, String documentType) throws Exception;
42 public Boolean isLatestVersion(String versionIndId, Long versionSequenceNumber) throws Exception;
43 public Boolean isAnyOtherRetireProposalsInWorkflow(String courseCluId) throws Exception;
44 }