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.assembly.data.Data; |
6 | |
import org.kuali.student.common.dto.StatusInfo; |
7 | |
import org.kuali.student.common.ui.client.service.BaseDataOrchestrationRpcServiceAsync; |
8 | |
import org.kuali.student.common.ui.client.service.DataSaveResult; |
9 | |
import org.kuali.student.lum.program.client.requirements.ProgramRequirementsDataModel; |
10 | |
import org.kuali.student.lum.program.dto.ProgramRequirementInfo; |
11 | |
|
12 | |
import java.util.List; |
13 | |
import java.util.Map; |
14 | |
|
15 | |
public interface MajorDisciplineRpcServiceAsync extends BaseDataOrchestrationRpcServiceAsync { |
16 | |
public void getProgramRequirements(List<String> programRequirementIds, AsyncCallback<List<ProgramRequirementInfo>> callback); |
17 | |
public void storeProgramRequirements(Map<Integer, ProgramRequirementsDataModel.requirementState> states, Map<Integer, ProgramRequirementInfo> progReqs, AsyncCallback<Map<Integer, ProgramRequirementInfo>> async); |
18 | |
public void createProgramRequirement(ProgramRequirementInfo programRequirementInfo, AsyncCallback<ProgramRequirementInfo> callback); |
19 | |
public void deleteProgramRequirement(String programRequirementId, AsyncCallback<StatusInfo> callback); |
20 | |
public void updateProgramRequirement(ProgramRequirementInfo programRequirementInfo, AsyncCallback<ProgramRequirementInfo> callback); |
21 | |
public void isLatestVersion(String versionIndId, Long versionSequenceNumber, AsyncCallback<Boolean> callback); |
22 | |
public void updateState(Data data, String state, AsyncCallback<DataSaveResult> callback); |
23 | |
|
24 | |
|
25 | |
public void isProposal(String referenceTypeKey, String referenceId, AsyncCallback<Boolean> callback); |
26 | |
} |