Coverage Report - org.kuali.student.enrollment.class2.courseofferingset.service.decorators.CourseOfferingSetServiceDecorator
 
Classes in this File Line Coverage Branch Coverage Complexity
CourseOfferingSetServiceDecorator
0%
0/48
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.enrollment.class2.courseofferingset.service.decorators;
 6  
 
 7  
 import java.util.List;
 8  
 
 9  
 import org.kuali.rice.core.api.criteria.QueryByCriteria;
 10  
 import org.kuali.student.enrollment.courseofferingset.dto.SocInfo;
 11  
 import org.kuali.student.enrollment.courseofferingset.dto.SocRolloverResultInfo;
 12  
 import org.kuali.student.enrollment.courseofferingset.dto.SocRolloverResultItemInfo;
 13  
 import org.kuali.student.enrollment.courseofferingset.service.CourseOfferingSetService;
 14  
 import org.kuali.student.r2.common.dto.ContextInfo;
 15  
 import org.kuali.student.r2.common.dto.StatusInfo;
 16  
 import org.kuali.student.r2.common.dto.ValidationResultInfo;
 17  
 import org.kuali.student.r2.common.exceptions.DataValidationErrorException;
 18  
 import org.kuali.student.r2.common.exceptions.DependentObjectsExistException;
 19  
 import org.kuali.student.r2.common.exceptions.DoesNotExistException;
 20  
 import org.kuali.student.r2.common.exceptions.InvalidParameterException;
 21  
 import org.kuali.student.r2.common.exceptions.MissingParameterException;
 22  
 import org.kuali.student.r2.common.exceptions.OperationFailedException;
 23  
 import org.kuali.student.r2.common.exceptions.PermissionDeniedException;
 24  
 import org.kuali.student.r2.common.exceptions.ReadOnlyException;
 25  
 import org.kuali.student.r2.common.exceptions.VersionMismatchException;
 26  
 
 27  
 import javax.jws.WebParam;
 28  
 
 29  
 /**
 30  
  * Decorator for course offering set
 31  
  * @author nwright
 32  
  */
 33  0
 public class CourseOfferingSetServiceDecorator implements CourseOfferingSetService {
 34  
 
 35  
     private CourseOfferingSetService nextDecorator;
 36  
 
 37  
     public CourseOfferingSetService getNextDecorator() {
 38  0
         return nextDecorator;
 39  
     }
 40  
 
 41  
     public void setNextDecorator(CourseOfferingSetService nextDecorator) {
 42  0
         this.nextDecorator = nextDecorator;
 43  0
     }
 44  
 
 45  
     @Override
 46  
     public List<ValidationResultInfo> validateSocRolloverResultItem(String validationType, SocRolloverResultItemInfo socRolloverResultItemInfo, ContextInfo context) throws
 47  
             DoesNotExistException,
 48  
             InvalidParameterException, MissingParameterException, OperationFailedException {
 49  0
         return getNextDecorator().validateSocRolloverResultItem(validationType, socRolloverResultItemInfo, context);
 50  
     }
 51  
 
 52  
     @Override
 53  
     public List<String> searchForSocRolloverResultIds(@WebParam(name = "criteria") QueryByCriteria criteria, @WebParam(name = "context") ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 54  0
         return getNextDecorator().searchForSocRolloverResultIds(criteria, context);
 55  
     }
 56  
 
 57  
     @Override
 58  
     public List<SocRolloverResultInfo> searchForSocRolloverResults(@WebParam(name = "criteria") QueryByCriteria criteria, @WebParam(name = "context") ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 59  0
         return getNextDecorator().searchForSocRolloverResults(criteria, context);
 60  
     }
 61  
 
 62  
     @Override
 63  
     public List<ValidationResultInfo> validateSocRolloverResult(String validationType, SocRolloverResultInfo socRolloverResultInfo, ContextInfo context) throws
 64  
             DoesNotExistException,
 65  
             InvalidParameterException, MissingParameterException, OperationFailedException {
 66  0
         return getNextDecorator().validateSocRolloverResult(validationType, socRolloverResultInfo, context);
 67  
     }
 68  
 
 69  
     @Override
 70  
     public List<ValidationResultInfo> validateSoc(String validationType, SocInfo socInfo, ContextInfo context) throws
 71  
             DoesNotExistException,
 72  
             InvalidParameterException, MissingParameterException, OperationFailedException {
 73  0
         return getNextDecorator().validateSoc(validationType, socInfo, context);
 74  
     }
 75  
 
 76  
     @Override
 77  
     public SocRolloverResultItemInfo updateSocRolloverResultItem(String socRolloverResultItemId, SocRolloverResultItemInfo socRolloverResultItemInfo, ContextInfo context) throws
 78  
             DataValidationErrorException,
 79  
             DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException,
 80  
             PermissionDeniedException, ReadOnlyException, VersionMismatchException {
 81  0
         return getNextDecorator().updateSocRolloverResultItem(socRolloverResultItemId, socRolloverResultItemInfo, context);
 82  
     }
 83  
 
 84  
     @Override
 85  
     public SocRolloverResultInfo updateSocRolloverResult(String socRolloverResultId, SocRolloverResultInfo socRolloverResultInfo, ContextInfo context) throws
 86  
             DataValidationErrorException,
 87  
             DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException,
 88  
             PermissionDeniedException, ReadOnlyException, VersionMismatchException {
 89  0
         return getNextDecorator().updateSocRolloverResult(socRolloverResultId, socRolloverResultInfo, context);
 90  
     }
 91  
 
 92  
     @Override
 93  
     public SocRolloverResultInfo updateSocRolloverProgress(String socRolloverResultId, Integer itemsProcessed, ContextInfo context) throws
 94  
             DataValidationErrorException,
 95  
             DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException,
 96  
             PermissionDeniedException, ReadOnlyException, VersionMismatchException {
 97  0
         return getNextDecorator().updateSocRolloverProgress(socRolloverResultId, itemsProcessed, context);
 98  
     }
 99  
 
 100  
     @Override
 101  
     public SocInfo updateSoc(String socId, SocInfo socInfo, ContextInfo context) throws DataValidationErrorException,
 102  
             DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException,
 103  
             PermissionDeniedException, ReadOnlyException, VersionMismatchException {
 104  0
         return getNextDecorator().updateSoc(socId, socInfo, context);
 105  
     }
 106  
 
 107  
     @Override
 108  
     public StatusInfo scheduleSoc(String socId, ContextInfo context) throws DoesNotExistException, InvalidParameterException,
 109  
             MissingParameterException, OperationFailedException, PermissionDeniedException {
 110  0
         return getNextDecorator().scheduleSoc(socId, context);
 111  
     }
 112  
 
 113  
     @Override
 114  
     public SocInfo rolloverSoc(String sourceSocId, String targetTermId, List<String> optionKeys, ContextInfo context) throws
 115  
             DoesNotExistException,
 116  
             InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 117  0
         return getNextDecorator().rolloverSoc(sourceSocId, targetTermId, optionKeys, context);
 118  
     }
 119  
 
 120  
     @Override
 121  
     public SocRolloverResultInfo reverseRollover(String rolloverResultId, List<String> optionKeys, ContextInfo context) throws
 122  
             DoesNotExistException,
 123  
             InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 124  0
         return getNextDecorator().reverseRollover(rolloverResultId, optionKeys, context);
 125  
     }
 126  
 
 127  
     @Override
 128  
     public Boolean isCourseOfferingInSoc(String socId, String courseOfferingId, ContextInfo context) throws DoesNotExistException,
 129  
             InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 130  0
         return getNextDecorator().isCourseOfferingInSoc(socId, courseOfferingId, context);
 131  
     }
 132  
 
 133  
     @Override
 134  
     public List<String> getUnscheduledActivityOfferingIdsBySoc(String socId, ContextInfo context) throws DoesNotExistException,
 135  
             InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 136  0
         return getNextDecorator().getUnscheduledActivityOfferingIdsBySoc(socId, context);
 137  
     }
 138  
 
 139  
     @Override
 140  
     public List<String> getUnpublishedCourseOfferingIdsBySoc(String socId, ContextInfo context) throws DoesNotExistException,
 141  
             InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 142  0
         return getNextDecorator().getUnpublishedCourseOfferingIdsBySoc(socId, context);
 143  
     }
 144  
 
 145  
     @Override
 146  
     public List<String> getUnpublishedActivityOfferingIdsBySoc(String socId, ContextInfo context) throws DoesNotExistException,
 147  
             InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 148  0
         return getNextDecorator().getUnpublishedActivityOfferingIdsBySoc(socId, context);
 149  
     }
 150  
 
 151  
     @Override
 152  
     public List<SocInfo> getSocsByIds(List<String> socIds, ContextInfo context) throws DoesNotExistException,
 153  
             InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 154  0
         return getNextDecorator().getSocsByIds(socIds, context);
 155  
     }
 156  
 
 157  
     @Override
 158  
     public List<SocRolloverResultInfo> getSocRolloverResultsByIds(List<String> rolloverResultIds, ContextInfo context) throws
 159  
             DoesNotExistException,
 160  
             InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 161  0
         return getNextDecorator().getSocRolloverResultsByIds(rolloverResultIds, context);
 162  
     }
 163  
 
 164  
     @Override
 165  
     public SocRolloverResultItemInfo getSocRolloverResultItem(String socRolloverResultItemId, ContextInfo context) throws
 166  
             DoesNotExistException,
 167  
             InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 168  0
         return getNextDecorator().getSocRolloverResultItem(socRolloverResultItemId, context);
 169  
     }
 170  
 
 171  
     @Override
 172  
     public List<String> getSocRolloverResultIdsByTargetSoc(String targetSocId, ContextInfo context) throws DoesNotExistException,
 173  
             InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 174  0
         return getNextDecorator().getSocRolloverResultIdsByTargetSoc(targetSocId, context);
 175  
     }
 176  
 
 177  
     @Override
 178  
     public List<String> getSocRolloverResultIdsBySourceSoc(String sourceSocId, ContextInfo context) throws DoesNotExistException,
 179  
             InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 180  0
         return getNextDecorator().getSocRolloverResultIdsBySourceSoc(sourceSocId, context);
 181  
     }
 182  
 
 183  
     @Override
 184  
     public SocRolloverResultInfo getSocRolloverResult(String rolloverResultId, ContextInfo context) throws DoesNotExistException,
 185  
             InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 186  0
         return getNextDecorator().getSocRolloverResult(rolloverResultId, context);
 187  
     }
 188  
 
 189  
     @Override
 190  
     public List<String> getSocIdsByType(String typeKey, ContextInfo context) throws DoesNotExistException,
 191  
             InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 192  0
         return getNextDecorator().getSocIdsByType(typeKey, context);
 193  
     }
 194  
 
 195  
     @Override
 196  
     public List<String> getSocIdsByTermAndUnitsContentOwner(String termId, String unitsContentOwnerId, ContextInfo context) throws
 197  
             DoesNotExistException,
 198  
             InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 199  0
         return getNextDecorator().getSocIdsByTermAndUnitsContentOwner(termId, unitsContentOwnerId, context);
 200  
     }
 201  
 
 202  
     @Override
 203  
     public List<String> getSocIdsByTermAndSubjectArea(String termId, String subjectArea, ContextInfo context) throws
 204  
             DoesNotExistException,
 205  
             InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 206  0
         return getNextDecorator().getSocIdsByTermAndSubjectArea(termId, subjectArea, context);
 207  
     }
 208  
 
 209  
     @Override
 210  
     public List<String> getSocIdsByTerm(String termId, ContextInfo context) throws DoesNotExistException,
 211  
             InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 212  0
         return getNextDecorator().getSocIdsByTerm(termId, context);
 213  
     }
 214  
 
 215  
     @Override
 216  
     public List<String> getSocIdsByCourseOffering(String courseOfferingId, ContextInfo context) throws DoesNotExistException,
 217  
             InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 218  0
         return getNextDecorator().getSocIdsByCourseOffering(courseOfferingId, context);
 219  
     }
 220  
 
 221  
     @Override
 222  
     public SocInfo getSoc(String socId, ContextInfo context) throws DoesNotExistException, InvalidParameterException,
 223  
             MissingParameterException, OperationFailedException, PermissionDeniedException {
 224  0
         return getNextDecorator().getSoc(socId, context);
 225  
     }
 226  
 
 227  
     @Override
 228  
     public List<SocRolloverResultItemInfo> getSocRolloverResultItemsByResultId(String rolloverResultId, ContextInfo context) throws
 229  
             DoesNotExistException,
 230  
             InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 231  0
         return getNextDecorator().getSocRolloverResultItemsByResultId(rolloverResultId, context);
 232  
     }
 233  
 
 234  
     @Override
 235  
     public List<SocRolloverResultItemInfo> getSocRolloverResultItemsByResultIdAndTargetCourseOfferingId(String socRolloverResultId, String targetCourseOfferingId, ContextInfo context) throws
 236  
             DoesNotExistException,
 237  
             InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 238  0
         return getNextDecorator().getSocRolloverResultItemsByResultIdAndTargetCourseOfferingId(socRolloverResultId,
 239  
                 targetCourseOfferingId, context);
 240  
     }
 241  
 
 242  
     @Override
 243  
     public List<SocRolloverResultItemInfo> getSocRolloverResultItemsByResultIdAndSourceCourseOfferingId(String socRolloverResultId, String sourceCourseOfferingId, ContextInfo context) throws
 244  
             DoesNotExistException,
 245  
             InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 246  0
         return getNextDecorator().getSocRolloverResultItemsByResultIdAndSourceCourseOfferingId(socRolloverResultId,
 247  
                 sourceCourseOfferingId, context);
 248  
     }
 249  
 
 250  
     @Override
 251  
     public List<String> getPublishedCourseOfferingIdsBySoc(String socId, ContextInfo context) throws DoesNotExistException,
 252  
             InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 253  0
         return getNextDecorator().getPublishedCourseOfferingIdsBySoc(socId, context);
 254  
     }
 255  
 
 256  
     @Override
 257  
     public List<String> getCourseOfferingIdsWithUnscheduledFinalExamsBySoc(String socId, ContextInfo context) throws
 258  
             DoesNotExistException,
 259  
             InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 260  0
         return getNextDecorator().getCourseOfferingIdsWithUnscheduledFinalExamsBySoc(socId, context);
 261  
     }
 262  
 
 263  
     @Override
 264  
     public List<String> getCourseOfferingIdsBySoc(String socId, ContextInfo context) throws DoesNotExistException,
 265  
             InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 266  0
         return getNextDecorator().getCourseOfferingIdsBySoc(socId, context);
 267  
     }
 268  
 
 269  
     @Override
 270  
     public StatusInfo deleteSocRolloverResultItem(String socRolloverResultItemId, ContextInfo context) throws
 271  
             DoesNotExistException,
 272  
             InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 273  0
         return getNextDecorator().deleteSocRolloverResultItem(socRolloverResultItemId, context);
 274  
     }
 275  
 
 276  
     @Override
 277  
     public StatusInfo deleteSocRolloverResult(String socRolloverResultId, ContextInfo context) throws DoesNotExistException,
 278  
             DependentObjectsExistException, InvalidParameterException, MissingParameterException, OperationFailedException,
 279  
             PermissionDeniedException {
 280  0
         return getNextDecorator().deleteSocRolloverResult(socRolloverResultId, context);
 281  
     }
 282  
 
 283  
     @Override
 284  
     public StatusInfo deleteSoc(String socId, ContextInfo context) throws DependentObjectsExistException, DoesNotExistException,
 285  
             InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 286  0
         return getNextDecorator().deleteSoc(socId, context);
 287  
     }
 288  
 
 289  
     @Override
 290  
     public Integer deleteCourseOfferingsBySoc(String socId, ContextInfo context) throws DoesNotExistException,
 291  
             InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 292  0
         return getNextDecorator().deleteCourseOfferingsBySoc(socId, context);
 293  
     }
 294  
 
 295  
     @Override
 296  
     public Integer createSocRolloverResultItems(String socRolloverResultId, String rolloverResultItemTypeKey, List<SocRolloverResultItemInfo> socRolloverResultItemInfos, ContextInfo context) throws
 297  
             DoesNotExistException,
 298  
             DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException,
 299  
             PermissionDeniedException, ReadOnlyException {
 300  0
         return getNextDecorator().createSocRolloverResultItems(socRolloverResultId, rolloverResultItemTypeKey,
 301  
                 socRolloverResultItemInfos, context);
 302  
     }
 303  
 
 304  
     public SocRolloverResultItemInfo createSocRolloverResultItem(String socRolloverResultId, String socRolloverResultItemTypeKey, SocRolloverResultItemInfo socRolloverResultItemInfo, ContextInfo context) throws
 305  
             DoesNotExistException,
 306  
             DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException,
 307  
             PermissionDeniedException, ReadOnlyException {
 308  0
         return getNextDecorator().createSocRolloverResultItem(socRolloverResultId, socRolloverResultItemTypeKey,
 309  
                 socRolloverResultItemInfo, context);
 310  
     }
 311  
 
 312  
     @Override
 313  
     public SocRolloverResultInfo createSocRolloverResult(String socRolloverResultTypeKey, SocRolloverResultInfo socRolloverResultInfo, ContextInfo context) throws
 314  
             DoesNotExistException,
 315  
             DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException,
 316  
             PermissionDeniedException, ReadOnlyException {
 317  0
         return getNextDecorator().createSocRolloverResult(socRolloverResultTypeKey, socRolloverResultInfo, context);
 318  
     }
 319  
 
 320  
     @Override
 321  
     public SocInfo createSoc(String termId, String socTypeKey, SocInfo socInfo, ContextInfo context) throws DoesNotExistException,
 322  
             DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException,
 323  
             PermissionDeniedException, ReadOnlyException {
 324  0
         return getNextDecorator().createSoc(termId, socTypeKey, socInfo, context);
 325  
     }
 326  
 
 327  
     @Override
 328  
     public List<SocRolloverResultItemInfo> getSocRolloverResultItemsByIds(List<String> rolloverResultItemIds, ContextInfo context) throws DoesNotExistException,
 329  
             InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 330  0
         return getNextDecorator().getSocRolloverResultItemsByIds(rolloverResultItemIds, context);
 331  
     }
 332  
 
 333  
     @Override
 334  
     public List<SocRolloverResultInfo> getSocRolloverResultsBySourceAndTargetSocs(String sourceSocId, String targetSocId, ContextInfo context) throws DoesNotExistException,
 335  
             InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 336  0
         return getNextDecorator ().getSocRolloverResultsBySourceAndTargetSocs(sourceSocId, targetSocId, context);
 337  
     }
 338  
     
 339  
     
 340  
     
 341  
 }