View Javadoc

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.BaseDataOrchestrationRpcServiceAsync;
7   import org.kuali.student.common.ui.client.service.DataSaveResult;
8   import org.kuali.student.lum.program.client.requirements.ProgramRequirementsDataModel;
9   import org.kuali.student.r1.common.assembly.data.Data;
10  import org.kuali.student.r2.common.dto.StatusInfo;
11  import org.kuali.student.r2.lum.program.dto.ProgramRequirementInfo;
12  
13  import com.google.gwt.user.client.rpc.AsyncCallback;
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  	// Determine if this is a proposal
25  	public void isProposal(String referenceTypeKey, String referenceId, AsyncCallback<Boolean> callback);
26  }