Coverage Report - org.kuali.student.r2.core.exemption.service.ExemptionServiceDecorator
 
Classes in this File Line Coverage Branch Coverage Complexity
ExemptionServiceDecorator
0%
0/29
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.exemption.service;
 6  
 
 7  
 import java.util.List;
 8  
 import org.kuali.student.r2.common.dto.ContextInfo;
 9  
 import org.kuali.student.r2.common.dto.StatusInfo;
 10  
 import org.kuali.student.r2.common.dto.ValidationResultInfo;
 11  
 import org.kuali.student.r2.common.exceptions.AlreadyExistsException;
 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.VersionMismatchException;
 19  
 import org.kuali.student.r2.core.exemption.dto.ExemptionInfo;
 20  
 import org.kuali.student.r2.core.exemption.dto.ExemptionRequestInfo;
 21  
 
 22  
 /**
 23  
  *
 24  
  * @author nwright
 25  
  */
 26  0
 public class ExemptionServiceDecorator implements ExemptionService {
 27  
     
 28  
     private ExemptionService nextDecorator;
 29  
 
 30  
     public ExemptionService getNextDecorator() {
 31  0
         return nextDecorator;
 32  
     }
 33  
 
 34  
     public void setNextDecorator(ExemptionService nextDecorator) {
 35  0
         this.nextDecorator = nextDecorator;
 36  0
     }
 37  
 
 38  
     @Override
 39  
     public List<ValidationResultInfo> validateExemptionRequest(String validationTypeKey, ExemptionRequestInfo exemptionRequestInfo, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException {
 40  0
         return getNextDecorator().validateExemptionRequest(validationTypeKey, exemptionRequestInfo, context);
 41  
     }
 42  
 
 43  
     @Override
 44  
     public List<ValidationResultInfo> validateExemption(String validationTypeKey, ExemptionInfo exemptionInfo, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException {
 45  0
         return getNextDecorator().validateExemption(validationTypeKey, exemptionInfo, context);
 46  
     }
 47  
 
 48  
     @Override
 49  
     public ExemptionRequestInfo updateExemptionRequest(String exemptionRequestId, ExemptionRequestInfo exemptionRequestInfo, ContextInfo context) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException {
 50  0
         return getNextDecorator().updateExemptionRequest(exemptionRequestId, exemptionRequestInfo, context);
 51  
     }
 52  
 
 53  
     @Override
 54  
     public ExemptionInfo updateExemption(String exemptionId, ExemptionInfo exemptionInfo, ContextInfo context) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException {
 55  0
         return getNextDecorator().updateExemption(exemptionId, exemptionInfo, context);
 56  
     }
 57  
 
 58  
     @Override
 59  
     public ExemptionInfo retrieveMilestoneExemption(String checkKey, String personId, String milestoneId, String qualifierTypeKey, String qualifierId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 60  0
         return getNextDecorator().retrieveMilestoneExemption(checkKey, personId, milestoneId, qualifierTypeKey, qualifierId, context);
 61  
     }
 62  
 
 63  
     @Override
 64  
     public ExemptionInfo retrieveDateExemption(String checkKey, String personId, String milestoneId, String qualifierTypeKey, String qualifierId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 65  0
         return getNextDecorator().retrieveDateExemption(checkKey, personId, milestoneId, qualifierTypeKey, qualifierId, context);
 66  
     }
 67  
 
 68  
     @Override
 69  
     public List<ExemptionRequestInfo> getRequestsForPerson(String personId, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 70  0
         return getNextDecorator().getRequestsForPerson(personId, context);
 71  
     }
 72  
 
 73  
     @Override
 74  
     public List<ExemptionRequestInfo> getRequestsByTypeForPerson(String typeKey, String personId, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 75  0
         return getNextDecorator().getRequestsByTypeForPerson(typeKey, personId, context);
 76  
     }
 77  
 
 78  
     @Override
 79  
     public List<ExemptionInfo> getExemptionsForPerson(String personId, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 80  0
         return getNextDecorator().getExemptionsForPerson(personId, context);
 81  
     }
 82  
 
 83  
     @Override
 84  
     public List<ExemptionInfo> getExemptionsByTypeForPerson(String typeKey, String personId, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 85  0
         return getNextDecorator().getExemptionsByTypeForPerson(typeKey, personId, context);
 86  
     }
 87  
 
 88  
     @Override
 89  
     public List<ExemptionInfo> getExemptionsByIds(List<String> exemptionIds, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 90  0
         return getNextDecorator().getExemptionsByIds(exemptionIds, context);
 91  
     }
 92  
 
 93  
     @Override
 94  
     public List<ExemptionRequestInfo> getExemptionRequestsByIds(List<String> exemptionRequestIds, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 95  0
         return getNextDecorator().getExemptionRequestsByIds(exemptionRequestIds, context);
 96  
     }
 97  
 
 98  
     @Override
 99  
     public List<String> getExemptionRequestIdsByType(String exemptionRequestTypeKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 100  0
         return getNextDecorator().getExemptionRequestIdsByType(exemptionRequestTypeKey, context);
 101  
     }
 102  
 
 103  
     @Override
 104  
     public List<String> getExemptionRequestIdsByCheck(String checkKey, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 105  0
         return getNextDecorator().getExemptionRequestIdsByCheck(checkKey, context);
 106  
     }
 107  
 
 108  
     @Override
 109  
     public ExemptionRequestInfo getExemptionRequest(String exemptionRequestId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 110  0
         return getNextDecorator().getExemptionRequest(exemptionRequestId, context);
 111  
     }
 112  
 
 113  
     @Override
 114  
     public List<String> getExemptionIdsByType(String exemptionTypeKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 115  0
         return getNextDecorator().getExemptionIdsByType(exemptionTypeKey, context);
 116  
     }
 117  
 
 118  
     @Override
 119  
     public ExemptionInfo getExemption(String exemptionId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 120  0
         return getNextDecorator().getExemption(exemptionId, context);
 121  
     }
 122  
 
 123  
     @Override
 124  
     public List<ExemptionInfo> getActiveExemptionsForPerson(String personId, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 125  0
         return getNextDecorator().getActiveExemptionsForPerson(personId, context);
 126  
     }
 127  
 
 128  
     @Override
 129  
     public List<ExemptionInfo> getActiveExemptionsByTypeForPerson(String typeKey, String personId, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 130  0
         return getNextDecorator().getActiveExemptionsByTypeForPerson(typeKey, personId, context);
 131  
     }
 132  
 
 133  
     @Override
 134  
     public List<ExemptionInfo> getActiveExemptionsByTypeProcessAndCheckForPerson(String typeKey, String processKey, String checkKey, String personId, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 135  0
         return getNextDecorator().getActiveExemptionsByTypeProcessAndCheckForPerson(typeKey, processKey, checkKey, personId, context);
 136  
     }
 137  
 
 138  
     @Override
 139  
     public StatusInfo deleteExemptionRequest(String exemptionRequestId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 140  0
         return getNextDecorator().deleteExemptionRequest(exemptionRequestId, context);
 141  
     }
 142  
 
 143  
     @Override
 144  
     public StatusInfo deleteExemption(String exemptionId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 145  0
         return getNextDecorator().deleteExemption(exemptionId, context);
 146  
     }
 147  
 
 148  
     @Override
 149  
     public ExemptionRequestInfo createExemptionRequest(ExemptionRequestInfo exemptionRequestInfo, ContextInfo context) throws AlreadyExistsException, DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 150  0
         return getNextDecorator().createExemptionRequest(exemptionRequestInfo, context);
 151  
     }
 152  
 
 153  
     @Override
 154  
     public ExemptionInfo createExemption(String exemptionRequestId, ExemptionInfo exemptionInfo, ContextInfo context) throws AlreadyExistsException, DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 155  0
         return getNextDecorator().createExemption(exemptionRequestId, exemptionInfo, context);
 156  
     }
 157  
 
 158  
     @Override
 159  
     public StatusInfo addUseToExemption(String exemptionId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 160  0
         return getNextDecorator().addUseToExemption(exemptionId, context);
 161  
     }
 162  
 
 163  
     
 164  
     
 165  
 }