1 | |
package org.kuali.student.lum.program.client.rpc; |
2 | |
|
3 | |
import com.google.gwt.user.client.rpc.AsyncCallback; |
4 | |
|
5 | |
import org.kuali.student.common.dto.StatusInfo; |
6 | |
import org.kuali.student.common.ui.client.service.BaseDataOrchestrationRpcServiceAsync; |
7 | |
import org.kuali.student.lum.program.client.requirements.ProgramRequirementsDataModel; |
8 | |
import org.kuali.student.lum.program.dto.ProgramRequirementInfo; |
9 | |
|
10 | |
import java.util.List; |
11 | |
import java.util.Map; |
12 | |
|
13 | |
public interface MajorDisciplineRpcServiceAsync extends BaseDataOrchestrationRpcServiceAsync { |
14 | |
public void getProgramRequirements(List<String> programRequirementIds, AsyncCallback<List<ProgramRequirementInfo>> callback); |
15 | |
public void storeProgramRequirements(Map<Integer, ProgramRequirementsDataModel.requirementState> states, Map<Integer, ProgramRequirementInfo> progReqs, AsyncCallback<Map<Integer, ProgramRequirementInfo>> async); |
16 | |
public void createProgramRequirement(ProgramRequirementInfo programRequirementInfo, AsyncCallback<ProgramRequirementInfo> callback); |
17 | |
public void deleteProgramRequirement(String programRequirementId, AsyncCallback<StatusInfo> callback); |
18 | |
public void updateProgramRequirement(ProgramRequirementInfo programRequirementInfo, AsyncCallback<ProgramRequirementInfo> callback); |
19 | |
public void isLatestVersion(String versionIndId, Long versionSequenceNumber, AsyncCallback<Boolean> callback); |
20 | |
} |