| 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.assembly.data.Data; |
| 7 |
|
import org.kuali.student.common.dto.StatusInfo; |
| 8 |
|
import org.kuali.student.common.ui.client.service.BaseDataOrchestrationRpcService; |
| 9 |
|
import org.kuali.student.common.ui.client.service.DataSaveResult; |
| 10 |
|
import org.kuali.student.lum.program.client.requirements.ProgramRequirementsDataModel; |
| 11 |
|
import org.kuali.student.lum.program.dto.ProgramRequirementInfo; |
| 12 |
|
|
| 13 |
|
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; |
| 14 |
|
|
| 15 |
|
@RemoteServiceRelativePath("rpcservices/majorDisciplineRpcService") |
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 0 |
Complexity Density: - |
|
| 16 |
|
public interface MajorDisciplineRpcService extends BaseDataOrchestrationRpcService { |
| 17 |
|
public List<ProgramRequirementInfo> getProgramRequirements(List<String> programRequirementIds) throws Exception; |
| 18 |
|
public Map<Integer, ProgramRequirementInfo> storeProgramRequirements(Map<Integer, ProgramRequirementsDataModel.requirementState> states, Map<Integer, ProgramRequirementInfo> progReqs) throws Exception; |
| 19 |
|
public ProgramRequirementInfo createProgramRequirement(ProgramRequirementInfo programRequirementInfo) throws Exception; |
| 20 |
|
public StatusInfo deleteProgramRequirement(String programRequirementId) throws Exception; |
| 21 |
|
public ProgramRequirementInfo updateProgramRequirement(ProgramRequirementInfo programRequirementInfo) throws Exception; |
| 22 |
|
|
| 23 |
|
|
| 24 |
|
|
| 25 |
|
|
| 26 |
|
@param |
| 27 |
|
@param |
| 28 |
|
@return |
| 29 |
|
@throws |
| 30 |
|
|
| 31 |
|
public Boolean isLatestVersion(String versionIndId, Long versionSequenceNumber) throws Exception; |
| 32 |
|
|
| 33 |
|
|
| 34 |
|
|
| 35 |
|
|
| 36 |
|
|
| 37 |
|
|
| 38 |
|
|
| 39 |
|
|
| 40 |
|
|
| 41 |
|
|
| 42 |
|
|
| 43 |
|
|
| 44 |
|
|
| 45 |
|
|
| 46 |
|
|
| 47 |
|
|
| 48 |
|
@param |
| 49 |
|
@param |
| 50 |
|
@return |
| 51 |
|
|
| 52 |
|
public DataSaveResult updateState(Data data, String state) throws Exception ; |
| 53 |
|
|
| 54 |
|
|
| 55 |
|
public Boolean isProposal(String referenceTypeKey, String referenceId); |
| 56 |
|
} |