Coverage Report - org.kuali.student.enrollment.lpr.mock.LuiPersonRelationServiceUnimplemented
 
Classes in this File Line Coverage Branch Coverage Complexity
LuiPersonRelationServiceUnimplemented
0%
0/30
N/A
2
 
 1  
 /*
 2  
  * Copyright 2011 The Kuali Foundation
 3  
  *
 4  
  * Licensed under the Educational Community License, Version 2.0 (the "License");
 5  
  * you may not use this file except in compliance with the License.
 6  
  * You may        obtain a copy of the License at
 7  
  *
 8  
  *         http://www.osedu.org/licenses/ECL-2.0
 9  
  *
 10  
  * Unless required by applicable law or agreed to in writing, software
 11  
  * distributed under the License is distributed on an "AS IS" BASIS,
 12  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 13  
  * See the License for the specific language governing permissions and
 14  
  * limitations under the License.
 15  
  */
 16  
 package org.kuali.student.enrollment.lpr.mock;
 17  
 
 18  
 import java.util.List;
 19  
 
 20  
 import org.kuali.student.common.dto.ContextInfo;
 21  
 import org.kuali.student.common.dto.CriteriaInfo;
 22  
 import org.kuali.student.common.dto.StateInfo;
 23  
 import org.kuali.student.common.dto.StatusInfo;
 24  
 import org.kuali.student.common.dto.TypeInfo;
 25  
 import org.kuali.student.common.dto.TypeTypeRelationInfo;
 26  
 import org.kuali.student.common.dto.ValidationResultInfo;
 27  
 import org.kuali.student.common.exceptions.AlreadyExistsException;
 28  
 import org.kuali.student.common.exceptions.DataValidationErrorException;
 29  
 import org.kuali.student.common.exceptions.DisabledIdentifierException;
 30  
 import org.kuali.student.common.exceptions.DoesNotExistException;
 31  
 import org.kuali.student.common.exceptions.InvalidParameterException;
 32  
 import org.kuali.student.common.exceptions.MissingParameterException;
 33  
 import org.kuali.student.common.exceptions.OperationFailedException;
 34  
 import org.kuali.student.common.exceptions.PermissionDeniedException;
 35  
 import org.kuali.student.common.exceptions.ReadOnlyException;
 36  
 import org.kuali.student.common.exceptions.VersionMismatchException;
 37  
 import org.kuali.student.datadictionary.dto.DictionaryEntryInfo;
 38  
 import org.kuali.student.enrollment.lpr.dto.LuiPersonRelationInfo;
 39  
 import org.kuali.student.enrollment.lpr.service.LuiPersonRelationService;
 40  
 
 41  
 /**
 42  
  * Used for the bottom layer of a stack to catch and throw an error instead of
 43  
  * a null pointer
 44  
  * 
 45  
  * @author nwright
 46  
  */
 47  0
 public class LuiPersonRelationServiceUnimplemented implements
 48  
         LuiPersonRelationService {
 49  
 
 50  
     @Override
 51  
     public List<String> createBulkRelationshipsForLui(String luiId, List<String> personIdList, String relationState, String luiPersonRelationType, LuiPersonRelationInfo luiPersonRelationInfo, ContextInfo context) throws AlreadyExistsException, DataValidationErrorException, DoesNotExistException, DisabledIdentifierException, ReadOnlyException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 52  0
         throw new OperationFailedException("Not implemented -- probable configuration error.");
 53  
     }
 54  
 
 55  
     @Override
 56  
     public List<String> createBulkRelationshipsForPerson(String personId, List<String> luiIdList, String relationState, String luiPersonRelationType, LuiPersonRelationInfo luiPersonRelationInfo, ContextInfo context) throws DataValidationErrorException, AlreadyExistsException, DoesNotExistException, DisabledIdentifierException, ReadOnlyException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 57  0
         throw new OperationFailedException("Not implemented -- probable configuration error.");
 58  
     }
 59  
 
 60  
     @Override
 61  
     public String createLuiPersonRelation(String personId, String luiId, String luiPersonRelationType, LuiPersonRelationInfo luiPersonRelationInfo, ContextInfo context) throws DataValidationErrorException, AlreadyExistsException, DoesNotExistException, DisabledIdentifierException, ReadOnlyException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 62  0
         throw new OperationFailedException("Not implemented -- probable configuration error.");
 63  
     }
 64  
 
 65  
     @Override
 66  
     public StatusInfo deleteLuiPersonRelation(String luiPersonRelationId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 67  0
         throw new OperationFailedException("Not implemented -- probable configuration error.");
 68  
     }
 69  
 
 70  
     @Override
 71  
     public LuiPersonRelationInfo fetchLuiPersonRelation(String luiPersonRelationId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 72  0
         throw new OperationFailedException("Not implemented -- probable configuration error.");
 73  
     }
 74  
 
 75  
     @Override
 76  
     public List<String> findAllValidLuisForPerson(String personId, String luiPersonRelationType, String relationState, String atpId, ContextInfo context) throws DoesNotExistException, DisabledIdentifierException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 77  0
         throw new OperationFailedException("Not implemented -- probable configuration error.");
 78  
     }
 79  
 
 80  
     @Override
 81  
     public List<String> findLuiIdsRelatedToPerson(String personId, String luiPersonRelationType, String relationState, ContextInfo context) throws DoesNotExistException, DisabledIdentifierException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 82  0
         throw new OperationFailedException("Not implemented -- probable configuration error.");
 83  
     }
 84  
 
 85  
     @Override
 86  
     public List<String> findLuiPersonRelationIds(String personId, String luiId, ContextInfo context) throws DoesNotExistException, DisabledIdentifierException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 87  0
         throw new OperationFailedException("Not implemented -- probable configuration error.");
 88  
     }
 89  
 
 90  
     @Override
 91  
     public List<String> findLuiPersonRelationIdsForLui(String luiId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 92  0
         throw new OperationFailedException("Not implemented -- probable configuration error.");
 93  
     }
 94  
 
 95  
     @Override
 96  
     public List<String> findLuiPersonRelationIdsForPerson(String personId, ContextInfo context) throws DoesNotExistException, DisabledIdentifierException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 97  0
         throw new OperationFailedException("Not implemented -- probable configuration error.");
 98  
     }
 99  
     @Override
 100  
     public List<LuiPersonRelationInfo> findLuiPersonRelations(String personId, String luiId, ContextInfo context) throws DoesNotExistException, DisabledIdentifierException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 101  0
         throw new OperationFailedException("Not implemented -- probable configuration error.");
 102  
     }
 103  
 
 104  
     @Override
 105  
     public List<LuiPersonRelationInfo> findLuiPersonRelationsByIdList(List<String> luiPersonRelationIdList, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 106  0
         throw new OperationFailedException("Not implemented -- probable configuration error.");
 107  
     }
 108  
 
 109  
     @Override
 110  
     public List<LuiPersonRelationInfo> findLuiPersonRelationsForLui(String luiId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 111  0
         throw new OperationFailedException("Not implemented -- probable configuration error.");
 112  
     }
 113  
 
 114  
     @Override
 115  
     public List<LuiPersonRelationInfo> findLuiPersonRelationsForPerson(String personId, ContextInfo context) throws DoesNotExistException, DisabledIdentifierException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 116  0
         throw new OperationFailedException("Not implemented -- probable configuration error.");
 117  
     }
 118  
 
 119  
     @Override
 120  
     public List<String> findPersonIdsRelatedToLui(String luiId, String luiPersonRelationType, String relationState, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 121  0
         throw new OperationFailedException("Not implemented -- probable configuration error.");
 122  
     }
 123  
 
 124  
     @Override
 125  
     public List<String> searchForLuiPersonRelationIds(CriteriaInfo criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 126  0
         throw new OperationFailedException("Not implemented -- probable configuration error.");
 127  
     }
 128  
 
 129  
     @Override
 130  
     public LuiPersonRelationInfo updateLuiPersonRelation(String luiPersonRelationId, LuiPersonRelationInfo luiPersonRelationInfo, ContextInfo context) throws DoesNotExistException, DataValidationErrorException, InvalidParameterException, MissingParameterException, ReadOnlyException, OperationFailedException, PermissionDeniedException, VersionMismatchException {
 131  0
         throw new OperationFailedException("Not implemented -- probable configuration error.");
 132  
     }
 133  
 
 134  
     @Override
 135  
     public List<ValidationResultInfo> validateLuiPersonRelation(String validationType, LuiPersonRelationInfo luiPersonRelationInfo, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 136  0
         throw new OperationFailedException("Not implemented -- probable configuration error.");
 137  
     }
 138  
 
 139  
     @Override
 140  
     public DictionaryEntryInfo getDataDictionaryEntry(String entryKey, ContextInfo context) throws OperationFailedException, MissingParameterException, PermissionDeniedException, DoesNotExistException {
 141  0
         throw new OperationFailedException("Not implemented -- probable configuration error.");
 142  
     }
 143  
 
 144  
     @Override
 145  
     public List<String> getDataDictionaryEntryKeys(ContextInfo context) throws OperationFailedException, MissingParameterException, PermissionDeniedException {
 146  0
         throw new OperationFailedException("Not implemented -- probable configuration error.");
 147  
     }
 148  
 
 149  
     @Override
 150  
     public List<TypeInfo> getAllowedTypesForType(String ownerTypeKey, String relatedRefObjectURI, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException {
 151  0
         throw new OperationFailedException("Not implemented -- probable configuration error.");
 152  
     }
 153  
 
 154  
     @Override
 155  
     public TypeInfo getType(String typeKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException {
 156  0
         throw new OperationFailedException("Not implemented -- probable configuration error.");
 157  
     }
 158  
 
 159  
     @Override
 160  
     public List<TypeTypeRelationInfo> getTypeRelationsByOwnerType(String ownerTypeKey, String relationTypeKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException {
 161  0
         throw new OperationFailedException("Not implemented -- probable configuration error.");
 162  
     }
 163  
 
 164  
     @Override
 165  
     public List<TypeInfo> getTypesByRefObjectURI(String refObjectURI, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException {
 166  0
         throw new OperationFailedException("Not implemented -- probable configuration error.");
 167  
     }
 168  
 
 169  
     @Override
 170  
     public List<String> getProcessKeys(String typeKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException {
 171  0
         throw new OperationFailedException("Not implemented -- probable configuration error.");    }
 172  
 
 173  
     @Override
 174  
     public StateInfo getState(String processKey, String stateKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException {
 175  0
         throw new OperationFailedException("Not implemented -- probable configuration error.");    }
 176  
 
 177  
     @Override
 178  
     public List<StateInfo> getStatesByProcess(String processKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException {
 179  0
         throw new OperationFailedException("Not implemented -- probable configuration error.");    }
 180  
 
 181  
     @Override
 182  
     public List<StateInfo> getInitialValidStates(String processKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException {
 183  0
         throw new OperationFailedException("Not implemented -- probable configuration error.");    }
 184  
 
 185  
     @Override
 186  
     public StateInfo getNextHappyState(String processKey, String currentStateKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException {
 187  0
         throw new OperationFailedException("Not implemented -- probable configuration error.");    }
 188  
 }