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.ui.client.service.BaseDataOrchestrationRpcService; |
23 | |
import org.kuali.student.core.dto.StatusInfo; |
24 | |
import org.kuali.student.core.statement.dto.StatementTreeViewInfo; |
25 | |
import org.kuali.student.lum.lu.ui.course.client.requirements.CourseRequirementsDataModel; |
26 | |
|
27 | |
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; |
28 | |
@RemoteServiceRelativePath("rpcservices/CourseRpcService") |
29 | |
public interface CourseRpcService extends BaseDataOrchestrationRpcService{ |
30 | |
public List<StatementTreeViewInfo> getCourseStatements(String courseId, String nlUsageTypeKey, String language) throws Exception; |
31 | |
public Map<Integer, StatementTreeViewInfo> storeCourseStatements(String courseId, Map<Integer, CourseRequirementsDataModel.requirementState> states, |
32 | |
Map<Integer, StatementTreeViewInfo> rules) throws Exception; |
33 | |
public StatementTreeViewInfo createCourseStatement(String courseId, StatementTreeViewInfo statementTreeViewInfo) throws Exception; |
34 | |
public StatusInfo deleteCourseStatement(String courseId, StatementTreeViewInfo statementTreeViewInfo) throws Exception; |
35 | |
public StatementTreeViewInfo updateCourseStatement(String courseId, StatementTreeViewInfo statementTreeViewInfo) throws Exception; |
36 | |
public StatusInfo changeState(String courseId, String newState) throws Exception; |
37 | |
public StatusInfo changeState(String courseId, String newState, Date currentVersionStart) throws Exception; |
38 | |
|
39 | |
} |