Coverage Report - org.kuali.student.lum.program.client.rpc.MajorDisciplineRpcService
 
Classes in this File Line Coverage Branch Coverage Complexity
MajorDisciplineRpcService
N/A
N/A
1
 
 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  
      * Is the current version sequence number the latest version.
 23  
      *  
 24  
      * @param versionIndId The version independent id of program
 25  
      * @param versionSequenceNumber The sequence number to check.
 26  
      * @return
 27  
      * @throws Exception
 28  
      */
 29  
     public Boolean isLatestVersion(String versionIndId, Long versionSequenceNumber) throws Exception;
 30  
 }