Coverage Report - org.kuali.student.r2.core.population.service.PopulationServiceDecorator
 
Classes in this File Line Coverage Branch Coverage Complexity
PopulationServiceDecorator
0%
0/28
N/A
1
 
 1  
 /*
 2  
  * To change this template, choose Tools | Templates
 3  
  * and open the template in the editor.
 4  
  */
 5  
 package org.kuali.student.r2.core.population.service;
 6  
 
 7  
 import java.util.List;
 8  
 import org.kuali.rice.core.api.criteria.QueryByCriteria;
 9  
 import org.kuali.student.r2.common.dto.ContextInfo;
 10  
 import org.kuali.student.r2.common.dto.StatusInfo;
 11  
 import org.kuali.student.r2.common.dto.ValidationResultInfo;
 12  
 import org.kuali.student.r2.common.exceptions.DataValidationErrorException;
 13  
 import org.kuali.student.r2.common.exceptions.DoesNotExistException;
 14  
 import org.kuali.student.r2.common.exceptions.InvalidParameterException;
 15  
 import org.kuali.student.r2.common.exceptions.MissingParameterException;
 16  
 import org.kuali.student.r2.common.exceptions.OperationFailedException;
 17  
 import org.kuali.student.r2.common.exceptions.PermissionDeniedException;
 18  
 import org.kuali.student.r2.common.exceptions.ReadOnlyException;
 19  
 import org.kuali.student.r2.common.exceptions.VersionMismatchException;
 20  
 import org.kuali.student.r2.core.population.dto.PopulationInfo;
 21  
 import org.kuali.student.r2.core.population.dto.PopulationRuleInfo;
 22  
 
 23  
 /**
 24  
  *
 25  
  * @author nwright
 26  
  */
 27  0
 public class PopulationServiceDecorator implements PopulationService {
 28  
     private PopulationService nextDecorator;
 29  
 
 30  
     public PopulationService getNextDecorator() {
 31  0
         return nextDecorator;
 32  
     }
 33  
 
 34  
     public void setNextDecorator(PopulationService nextDecorator) {
 35  0
         this.nextDecorator = nextDecorator;
 36  0
     }
 37  
 
 38  
 
 39  
     @Override
 40  
     public List<ValidationResultInfo> validatePopulationRule(String validationTypeKey, PopulationRuleInfo populationInfo, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 41  0
         return getNextDecorator().validatePopulationRule(validationTypeKey, populationInfo, contextInfo);
 42  
     }
 43  
 
 44  
     @Override
 45  
     public List<ValidationResultInfo> validatePopulation(String validationTypeId, PopulationInfo populationInfo, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 46  0
         return getNextDecorator().validatePopulation(validationTypeId, populationInfo, contextInfo);
 47  
     }
 48  
 
 49  
     @Override
 50  
     public PopulationRuleInfo updatePopulationRule(String populationRuleId, PopulationRuleInfo populationInfo, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException {
 51  0
         return getNextDecorator().updatePopulationRule(populationRuleId, populationInfo, contextInfo);
 52  
     }
 53  
 
 54  
     @Override
 55  
     public PopulationInfo updatePopulation(String populationKey, PopulationInfo populationInfo, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException {
 56  0
         return getNextDecorator().updatePopulation(populationKey, populationInfo, contextInfo);
 57  
     }
 58  
 
 59  
     @Override
 60  
     public List<PopulationInfo> searchForPopulations(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 61  0
         return getNextDecorator().searchForPopulations(criteria, contextInfo);
 62  
     }
 63  
 
 64  
     @Override
 65  
     public List<PopulationRuleInfo> searchForPopulationRules(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 66  0
         return getNextDecorator().searchForPopulationRules(criteria, contextInfo);
 67  
     }
 68  
 
 69  
     @Override
 70  
     public List<String> searchForPopulationRuleIds(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 71  0
         return getNextDecorator().searchForPopulationRuleIds(criteria, contextInfo);
 72  
     }
 73  
 
 74  
     @Override
 75  
     public List<String> searchForPopulationKeys(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 76  0
         return getNextDecorator().searchForPopulationKeys(criteria, contextInfo);
 77  
     }
 78  
 
 79  
     @Override
 80  
     public StatusInfo removePopulationRuleFromPopulation(String populationRuleId, String populationKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 81  0
         return getNextDecorator().removePopulationRuleFromPopulation(populationRuleId, populationKey, contextInfo);
 82  
     }
 83  
 
 84  
     @Override
 85  
     public Boolean isMember(String personId, String populationKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 86  0
         return getNextDecorator().isMember(personId, populationKey, contextInfo);
 87  
     }
 88  
 
 89  
     @Override
 90  
     public List<PopulationInfo> getPopulationsForPopulationRule(String populationRuleId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 91  0
         return getNextDecorator().getPopulationsForPopulationRule(populationRuleId, contextInfo);
 92  
     }
 93  
 
 94  
     @Override
 95  
     public List<PopulationInfo> getPopulationsByIds(List<String> populationKeys, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 96  0
         return getNextDecorator().getPopulationsByIds(populationKeys, contextInfo);
 97  
     }
 98  
 
 99  
     @Override
 100  
     public List<PopulationRuleInfo> getPopulationRulesByIds(List<String> populationRuleIds, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 101  0
         return getNextDecorator().getPopulationRulesByIds(populationRuleIds, contextInfo);
 102  
     }
 103  
 
 104  
     @Override
 105  
     public List<String> getPopulationRuleIdsByType(String populationTypeKey, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 106  0
         return getNextDecorator().getPopulationRuleIdsByType(populationTypeKey, contextInfo);
 107  
     }
 108  
 
 109  
     @Override
 110  
     public PopulationRuleInfo getPopulationRuleForPopulation(String populationKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 111  0
         return getNextDecorator().getPopulationRuleForPopulation(populationKey, contextInfo);
 112  
     }
 113  
 
 114  
     @Override
 115  
     public PopulationRuleInfo getPopulationRule(String populationRuleId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 116  0
         return getNextDecorator().getPopulationRule(populationRuleId, contextInfo);
 117  
     }
 118  
 
 119  
     @Override
 120  
     public List<String> getPopulationKeysByType(String populationTypeId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 121  0
         return getNextDecorator().getPopulationKeysByType(populationTypeId, contextInfo);
 122  
     }
 123  
 
 124  
     @Override
 125  
     public PopulationInfo getPopulation(String populationKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 126  0
         return getNextDecorator().getPopulation(populationKey, contextInfo);
 127  
     }
 128  
 
 129  
     @Override
 130  
     public List<String> getMembers(String populationKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 131  0
         return getNextDecorator().getMembers(populationKey, contextInfo);
 132  
     }
 133  
 
 134  
     @Override
 135  
     public StatusInfo deletePopulationRule(String populationRuleId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 136  0
         return getNextDecorator().deletePopulationRule(populationRuleId, contextInfo);
 137  
     }
 138  
 
 139  
     @Override
 140  
     public StatusInfo deletePopulation(String populationKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 141  0
         return getNextDecorator().deletePopulation(populationKey, contextInfo);
 142  
     }
 143  
 
 144  
     @Override
 145  
     public PopulationRuleInfo createPopulationRule(PopulationRuleInfo populationInfo, ContextInfo contextInfo) throws DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException {
 146  0
         return getNextDecorator().createPopulationRule(populationInfo, contextInfo);
 147  
     }
 148  
 
 149  
     @Override
 150  
     public PopulationInfo createPopulation(PopulationInfo populationInfo, ContextInfo contextInfo) throws DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException {
 151  0
         return getNextDecorator().createPopulation(populationInfo, contextInfo);
 152  
     }
 153  
 
 154  
     @Override
 155  
     public StatusInfo applyPopulationRuleToPopulation(String populationRuleId, String populationKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 156  0
         return getNextDecorator().applyPopulationRuleToPopulation(populationRuleId, populationKey, contextInfo);
 157  
     }
 158  
     
 159  
 }