1 | |
package org.kuali.student.lum.program.client.rpc; |
2 | |
|
3 | |
import java.util.List; |
4 | |
import java.util.Map; |
5 | |
|
6 | |
import org.kuali.student.common.ui.client.service.BaseDataOrchestrationRpcService; |
7 | |
import org.kuali.student.core.dto.StatusInfo; |
8 | |
import org.kuali.student.lum.program.client.requirements.ProgramRequirementsDataModel; |
9 | |
import org.kuali.student.lum.program.dto.ProgramRequirementInfo; |
10 | |
|
11 | |
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; |
12 | |
|
13 | |
@RemoteServiceRelativePath("rpcservices/majorDisciplineRpcService") |
14 | |
public interface MajorDisciplineRpcService extends BaseDataOrchestrationRpcService { |
15 | |
public List<ProgramRequirementInfo> getProgramRequirements(List<String> programRequirementIds) throws Exception; |
16 | |
public Map<Integer, ProgramRequirementInfo> storeProgramRequirements(Map<Integer, ProgramRequirementsDataModel.requirementState> states, Map<Integer, ProgramRequirementInfo> progReqs) throws Exception; |
17 | |
public ProgramRequirementInfo createProgramRequirement(ProgramRequirementInfo programRequirementInfo) throws Exception; |
18 | |
public StatusInfo deleteProgramRequirement(String programRequirementId) throws Exception; |
19 | |
public ProgramRequirementInfo updateProgramRequirement(ProgramRequirementInfo programRequirementInfo) throws Exception; |
20 | |
|
21 | |
|
22 | |
|
23 | |
|
24 | |
|
25 | |
|
26 | |
|
27 | |
|
28 | |
|
29 | |
public Boolean isLatestVersion(String versionIndId, Long versionSequenceNumber) throws Exception; |
30 | |
} |