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.Date; |
19 | |
import java.util.List; |
20 | |
import java.util.Map; |
21 | |
|
22 | |
import org.kuali.student.common.dto.StatusInfo; |
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.core.statement.dto.StatementTreeViewInfo; |
26 | |
import org.kuali.student.lum.lu.ui.course.client.requirements.CourseRequirementsDataModel; |
27 | |
|
28 | |
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; |
29 | |
|
30 | |
@RemoteServiceRelativePath("rpcservices/CourseRpcService") |
31 | |
public interface CourseRpcService extends BaseDataOrchestrationRpcService{ |
32 | |
public List<StatementTreeViewInfo> getCourseStatements(String courseId, String nlUsageTypeKey, String language) throws Exception; |
33 | |
public Map<Integer, StatementTreeViewInfo> storeCourseStatements(String courseId, String courseState, Map<Integer, CourseRequirementsDataModel.requirementState> states, |
34 | |
Map<Integer, StatementTreeViewInfo> rules) throws Exception; |
35 | |
public StatementTreeViewInfo createCourseStatement(String courseId, String courseState, StatementTreeViewInfo statementTreeViewInfo) throws Exception; |
36 | |
public StatusInfo deleteCourseStatement(String courseId, StatementTreeViewInfo statementTreeViewInfo) throws Exception; |
37 | |
public StatementTreeViewInfo updateCourseStatement(String courseId, String courseState, StatementTreeViewInfo statementTreeViewInfo) throws Exception; |
38 | |
public StatusInfo changeState(String courseId, String newState) throws Exception; |
39 | |
public StatusInfo changeState(String courseId, String newState, Date currentVersionStart) throws Exception; |
40 | |
|
41 | |
public DataSaveResult createCopyCourse(String originalCluId) throws Exception; |
42 | |
public DataSaveResult createCopyCourseProposal(String originalProposalId) throws Exception; |
43 | |
} |