Coverage Report - org.kuali.student.enrollment.classI.lui.service.LuiServiceDecorator
 
Classes in this File Line Coverage Branch Coverage Complexity
LuiServiceDecorator
0%
0/30
N/A
1
 
 1  
 package org.kuali.student.enrollment.classI.lui.service;
 2  
 
 3  
 import java.util.List;
 4  
 
 5  
 import org.kuali.student.r2.common.datadictionary.dto.DictionaryEntryInfo;
 6  
 import org.kuali.student.r2.common.dto.StatusInfo;
 7  
 import org.kuali.student.r2.common.dto.TypeInfo;
 8  
 import org.kuali.student.r2.common.exceptions.AlreadyExistsException;
 9  
 import org.kuali.student.r2.common.exceptions.CircularRelationshipException;
 10  
 import org.kuali.student.r2.common.exceptions.DataValidationErrorException;
 11  
 import org.kuali.student.r2.common.exceptions.DependentObjectsExistException;
 12  
 import org.kuali.student.r2.common.exceptions.DoesNotExistException;
 13  
 import org.kuali.student.r2.common.exceptions.InvalidParameterException;
 14  
 import org.kuali.student.r2.common.exceptions.MissingParameterException;
 15  
 import org.kuali.student.r2.common.exceptions.OperationFailedException;
 16  
 import org.kuali.student.r2.common.exceptions.PermissionDeniedException;
 17  
 import org.kuali.student.r2.common.exceptions.VersionMismatchException;
 18  
 import org.kuali.student.enrollment.classI.lpr.service.LuiPersonRelationService;
 19  
 import org.kuali.student.enrollment.classI.lui.dto.LuiInfo;
 20  
 import org.kuali.student.enrollment.classI.lui.dto.LuiLuiRelationInfo;
 21  
 import org.kuali.student.r2.common.dto.ContextInfo;
 22  
 import org.kuali.student.r2.common.dto.TypeTypeRelationInfo;
 23  
 import org.kuali.student.r2.common.dto.ValidationResultInfo;
 24  
 
 25  0
 public abstract class LuiServiceDecorator implements LuiService {
 26  
         
 27  
         protected LuiService nextDecorator;
 28  
 
 29  
 
 30  
     public LuiService getNextDecorator() {
 31  0
         return nextDecorator;
 32  
     }
 33  
 
 34  
         public  void setNextDecorator(LuiService nextDecorator) {
 35  0
                 this.nextDecorator=nextDecorator;
 36  0
         }
 37  
         
 38  
         @Override
 39  
         public List<String> getDataDictionaryEntryKeys(ContextInfo context)
 40  
                         throws OperationFailedException, MissingParameterException,
 41  
                         PermissionDeniedException {
 42  
                 
 43  0
                 return nextDecorator.getDataDictionaryEntryKeys(context);
 44  
         }
 45  
 
 46  
         @Override
 47  
         public DictionaryEntryInfo getDataDictionaryEntry(String entryKey,
 48  
                         ContextInfo context) throws OperationFailedException,
 49  
                         MissingParameterException, PermissionDeniedException,
 50  
                         DoesNotExistException {
 51  
                  
 52  0
                 return nextDecorator.getDataDictionaryEntry(entryKey, context);
 53  
         }
 54  
 
 55  
         @Override
 56  
         public TypeInfo getType(String typeKey, ContextInfo context)
 57  
                         throws DoesNotExistException, InvalidParameterException,
 58  
                         MissingParameterException, OperationFailedException {
 59  0
                 return nextDecorator.getType(typeKey, context);
 60  
         }
 61  
 
 62  
         @Override
 63  
         public List<TypeInfo> getTypesByRefObjectURI(String refObjectURI,
 64  
                         ContextInfo context) throws DoesNotExistException,
 65  
                         InvalidParameterException, MissingParameterException,
 66  
                         OperationFailedException {
 67  0
                 return nextDecorator.getTypesByRefObjectURI(refObjectURI, context);
 68  
         }
 69  
 
 70  
         @Override
 71  
         public List<TypeInfo> getAllowedTypesForType(String ownerTypeKey,
 72  
                         String relatedRefObjectURI, ContextInfo context)
 73  
                         throws DoesNotExistException, InvalidParameterException,
 74  
                         MissingParameterException, OperationFailedException {
 75  0
                 return nextDecorator.getAllowedTypesForType(ownerTypeKey, relatedRefObjectURI, context);
 76  
         }
 77  
 
 78  
         @Override
 79  
         public List<TypeTypeRelationInfo> getTypeRelationsByOwnerType(
 80  
                         String ownerTypeKey, String relationTypeKey, ContextInfo context)
 81  
                         throws DoesNotExistException, InvalidParameterException,
 82  
                         MissingParameterException, OperationFailedException {
 83  0
                 return nextDecorator.getTypeRelationsByOwnerType(ownerTypeKey, relationTypeKey, context);
 84  
         }
 85  
 
 86  
         @Override
 87  
         public LuiInfo getLui(String luiId, ContextInfo context)
 88  
                         throws DoesNotExistException, InvalidParameterException,
 89  
                         MissingParameterException, OperationFailedException {
 90  0
                 return nextDecorator.getLui(luiId, context);
 91  
         }
 92  
 
 93  
         @Override
 94  
         public List<LuiInfo> getLuisByIdList(List<String> luiIdList,
 95  
                         ContextInfo context) throws DoesNotExistException,
 96  
                         InvalidParameterException, MissingParameterException,
 97  
                         OperationFailedException {
 98  0
                 return nextDecorator.getLuisByIdList(luiIdList, context);
 99  
         }
 100  
 
 101  
         @Override
 102  
         public List<LuiInfo> getLuisInAtpByCluId(String cluId, String atpKey,
 103  
                         ContextInfo context) throws DoesNotExistException,
 104  
                         InvalidParameterException, MissingParameterException,
 105  
                         OperationFailedException {
 106  0
                 return nextDecorator.getLuisInAtpByCluId(cluId, atpKey, context);
 107  
         }
 108  
 
 109  
         @Override
 110  
         public List<String> getLuiIdsByCluId(String cluId, ContextInfo context)
 111  
                         throws DoesNotExistException, InvalidParameterException,
 112  
                         MissingParameterException, OperationFailedException {
 113  0
                 return nextDecorator.getLuiIdsByCluId(cluId, context);
 114  
         }
 115  
 
 116  
         @Override
 117  
         public List<String> getLuiIdsInAtpByCluId(String cluId, String atpKey,
 118  
                         ContextInfo context) throws DoesNotExistException,
 119  
                         InvalidParameterException, MissingParameterException,
 120  
                         OperationFailedException {
 121  0
                 return nextDecorator.getLuiIdsInAtpByCluId(cluId, atpKey, context);
 122  
         }
 123  
 
 124  
         @Override
 125  
         public List<LuiInfo> getLuisByRelation(String relatedLuiId,
 126  
                         String luLuRelationTypeKey, ContextInfo context)
 127  
                         throws InvalidParameterException, MissingParameterException,
 128  
                         OperationFailedException {
 129  0
                 return nextDecorator.getLuisByRelation(relatedLuiId, luLuRelationTypeKey, context);
 130  
         }
 131  
 
 132  
         @Override
 133  
         public List<String> getLuiIdsByRelation(String relatedLuiId,
 134  
                         String luLuRelationTypeKey, ContextInfo context)
 135  
                         throws InvalidParameterException, MissingParameterException,
 136  
                         OperationFailedException {
 137  0
                 return nextDecorator.getLuiIdsByRelation(relatedLuiId, luLuRelationTypeKey, context);
 138  
         }
 139  
 
 140  
         @Override
 141  
         public List<LuiInfo> getRelatedLuisByLuiId(String luiId,
 142  
                         String luLuRelationTypeKey, ContextInfo context)
 143  
                         throws InvalidParameterException, MissingParameterException,
 144  
                         OperationFailedException {
 145  0
                 return nextDecorator.getRelatedLuisByLuiId(luiId, luLuRelationTypeKey, context);
 146  
         }
 147  
 
 148  
         @Override
 149  
         public List<String> getRelatedLuiIdsByLuiId(String luiId,
 150  
                         String luLuRelationTypeKey, ContextInfo context)
 151  
                         throws InvalidParameterException, MissingParameterException,
 152  
                         OperationFailedException {
 153  0
                 return nextDecorator.getRelatedLuiIdsByLuiId(luiId, luLuRelationTypeKey, context);
 154  
         }
 155  
 
 156  
         @Override
 157  
         public LuiLuiRelationInfo getLuiLuiRelation(String luiLuiRelationId,
 158  
                         ContextInfo context) throws DoesNotExistException,
 159  
                         InvalidParameterException, MissingParameterException,
 160  
                         OperationFailedException {
 161  0
                 return nextDecorator.getLuiLuiRelation(luiLuiRelationId, context);
 162  
         }
 163  
 
 164  
         @Override
 165  
         public List<LuiLuiRelationInfo> getLuiLuiRelationsByLui(String luiId,
 166  
                         ContextInfo context) throws DoesNotExistException,
 167  
                         InvalidParameterException, MissingParameterException,
 168  
                         OperationFailedException {
 169  0
                 return nextDecorator.getLuiLuiRelationsByLui(luiId, context);
 170  
         }
 171  
 
 172  
         @Override
 173  
         public List<ValidationResultInfo> validateLui(String validationType,
 174  
                         LuiInfo luiInfo, ContextInfo context) throws DoesNotExistException,
 175  
                         InvalidParameterException, MissingParameterException,
 176  
                         OperationFailedException {
 177  0
                 return nextDecorator.validateLui(validationType,luiInfo, context);
 178  
         }
 179  
 
 180  
         @Override
 181  
         public LuiInfo createLui(String cluId, String atpKey, LuiInfo luiInfo,
 182  
                         ContextInfo context) throws AlreadyExistsException,
 183  
                         DataValidationErrorException, DoesNotExistException,
 184  
                         InvalidParameterException, MissingParameterException,
 185  
                         OperationFailedException, PermissionDeniedException {
 186  0
                 return nextDecorator.createLui(cluId,atpKey,luiInfo, context);
 187  
         }
 188  
 
 189  
         @Override
 190  
         public LuiInfo updateLui(String luiId, LuiInfo luiInfo, ContextInfo context)
 191  
                         throws DataValidationErrorException, DoesNotExistException,
 192  
                         InvalidParameterException, MissingParameterException,
 193  
                         OperationFailedException, PermissionDeniedException,
 194  
                         VersionMismatchException {
 195  0
                 return nextDecorator.updateLui(luiId,luiInfo, context);
 196  
         }
 197  
 
 198  
         @Override
 199  
         public StatusInfo deleteLui(String luiId, ContextInfo context)
 200  
                         throws DependentObjectsExistException, DoesNotExistException,
 201  
                         InvalidParameterException, MissingParameterException,
 202  
                         OperationFailedException, PermissionDeniedException {
 203  0
                 return nextDecorator.deleteLui(luiId, context);
 204  
         }
 205  
 
 206  
         @Override
 207  
         public LuiInfo updateLuiState(String luiId, String luState,
 208  
                         ContextInfo context) throws DataValidationErrorException,
 209  
                         DoesNotExistException, InvalidParameterException,
 210  
                         MissingParameterException, OperationFailedException,
 211  
                         PermissionDeniedException {
 212  0
                 return nextDecorator.updateLuiState(luiId, luState, context);
 213  
         }
 214  
 
 215  
         @Override
 216  
         public List<ValidationResultInfo> validateLuiLuiRelation(
 217  
                         String validationType, LuiLuiRelationInfo luiLuiRelationInfo,
 218  
                         ContextInfo context) throws DoesNotExistException,
 219  
                         InvalidParameterException, MissingParameterException,
 220  
                         OperationFailedException {
 221  0
                 return nextDecorator.validateLuiLuiRelation(validationType, luiLuiRelationInfo, context);
 222  
         }
 223  
 
 224  
         @Override
 225  
         public LuiLuiRelationInfo createLuiLuiRelation(String luiId,
 226  
                         String relatedLuiId, String luLuRelationTypeKey,
 227  
                         LuiLuiRelationInfo luiLuiRelationInfo, ContextInfo context)
 228  
                         throws AlreadyExistsException, CircularRelationshipException,
 229  
                         DataValidationErrorException, DoesNotExistException,
 230  
                         InvalidParameterException, MissingParameterException,
 231  
                         OperationFailedException, PermissionDeniedException {
 232  0
                 return nextDecorator.createLuiLuiRelation(luiId, relatedLuiId, luLuRelationTypeKey, luiLuiRelationInfo, context);
 233  
         }
 234  
 
 235  
         @Override
 236  
         public LuiLuiRelationInfo updateLuiLuiRelation(String luiLuiRelationId,
 237  
                         LuiLuiRelationInfo luiLuiRelationInfo, ContextInfo context)
 238  
                         throws DataValidationErrorException, DoesNotExistException,
 239  
                         InvalidParameterException, MissingParameterException,
 240  
                         OperationFailedException, PermissionDeniedException,
 241  
                         VersionMismatchException {
 242  0
                 return nextDecorator.updateLuiLuiRelation(luiLuiRelationId, luiLuiRelationInfo, context);
 243  
         }
 244  
 
 245  
         @Override
 246  
         public StatusInfo deleteLuiLuiRelation(String luiLuiRelationId,
 247  
                         ContextInfo context) throws DoesNotExistException,
 248  
                         InvalidParameterException, MissingParameterException,
 249  
                         OperationFailedException, PermissionDeniedException {
 250  0
                 return nextDecorator.deleteLuiLuiRelation(luiLuiRelationId,context);
 251  
         }
 252  
 
 253  
 }