Coverage Report - org.kuali.student.enrollment.lpr.service.impl.LuiPersonRelationServiceAuthorizationImpl
 
Classes in this File Line Coverage Branch Coverage Complexity
LuiPersonRelationServiceAuthorizationImpl
0%
0/33
0%
0/2
1.074
 
 1  
 package org.kuali.student.enrollment.lpr.service.impl;
 2  
 
 3  
 import java.util.ArrayList;
 4  
 import java.util.List;
 5  
 
 6  
 
 7  
 import org.kuali.student.common.dto.ContextInfo;
 8  
 import org.kuali.student.common.dto.CriteriaInfo;
 9  
 import org.kuali.student.common.dto.StatusInfo;
 10  
 import org.kuali.student.common.dto.TypeInfo;
 11  
 import org.kuali.student.common.dto.TypeTypeRelationInfo;
 12  
 import org.kuali.student.common.exceptions.AlreadyExistsException;
 13  
 import org.kuali.student.common.exceptions.DisabledIdentifierException;
 14  
 import org.kuali.student.common.exceptions.DoesNotExistException;
 15  
 import org.kuali.student.common.exceptions.MissingParameterException;
 16  
 import org.kuali.student.common.exceptions.OperationFailedException;
 17  
 import org.kuali.student.common.exceptions.PermissionDeniedException;
 18  
 import org.kuali.student.common.exceptions.ReadOnlyException;
 19  
 import org.kuali.student.common.dto.ValidationResultInfo;
 20  
 import org.kuali.student.common.exceptions.InvalidParameterException;
 21  
 import org.kuali.student.datadictionary.dto.DictionaryEntryInfo;
 22  
 import org.kuali.student.enrollment.lpr.dto.LuiPersonRelationInfo;
 23  
 import org.kuali.student.enrollment.lpr.dto.LuiPersonRelationStateInfo;
 24  
 import org.kuali.student.enrollment.lpr.dto.LuiPersonRelationTypeInfo;
 25  
 import org.kuali.student.enrollment.lpr.service.LuiPersonRelationService;
 26  
 
 27  
 
 28  
 
 29  0
 public class LuiPersonRelationServiceAuthorizationImpl implements LuiPersonRelationService {
 30  
 
 31  
         @Override
 32  
         public List<String> createBulkRelationshipsForPerson(String personId,
 33  
                         List<String> luiIdList, String relationState,
 34  
                         String luiPersonRelationType,
 35  
                         LuiPersonRelationInfo luiPersonRelationInfo, ContextInfo context)
 36  
                         throws AlreadyExistsException, DoesNotExistException,
 37  
                         DisabledIdentifierException, InvalidParameterException,
 38  
                         MissingParameterException, OperationFailedException,
 39  
                         PermissionDeniedException {
 40  
 
 41  
 
 42  
                 // TODO Auto-generated method stub
 43  0
                 List<String> bulkRelationshipValues = new ArrayList<String>();
 44  0
                 System.out.println("Inside authorization impl for createBulkRelationshipsForPerson" );
 45  
                 //Simulating unknown exception behavior
 46  0
                 if(personId!=null){
 47  0
                         bulkRelationshipValues.add(personId);
 48  
                 }else {
 49  0
                         throw new NullPointerException("person id is null");
 50  
                 }
 51  0
                 return bulkRelationshipValues;
 52  
         }
 53  
 
 54  
         @Override
 55  
         public List<LuiPersonRelationStateInfo> findLuiPersonRelationStates(ContextInfo context) throws OperationFailedException {
 56  
                 // TODO Kamal - THIS METHOD NEEDS JAVADOCS
 57  0
                 return null;
 58  
         }
 59  
 
 60  
         @Override
 61  
         public List<LuiPersonRelationStateInfo> findAllowedRelationStates(String luiPersonRelationType, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException {
 62  
                 // TODO Kamal - THIS METHOD NEEDS JAVADOCS
 63  0
                 return null;
 64  
         }
 65  
 
 66  
         @Override
 67  
         public LuiPersonRelationInfo fetchLUIPersonRelation(String luiPersonRelationId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 68  
                 // TODO Kamal - THIS METHOD NEEDS JAVADOCS
 69  0
                 return null;
 70  
         }
 71  
 
 72  
         @Override
 73  
         public List<LuiPersonRelationInfo> findLuiPersonRelationsByIdList(List<String> luiPersonRelationIdList, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 74  
                 // TODO Kamal - THIS METHOD NEEDS JAVADOCS
 75  0
                 return null;
 76  
         }
 77  
 
 78  
         @Override
 79  
         public List<String> findLuiIdsRelatedToPerson(String personId, String luiPersonRelationType, String relationState, ContextInfo context) throws DoesNotExistException, DisabledIdentifierException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 80  
                 // TODO Kamal - THIS METHOD NEEDS JAVADOCS
 81  0
                 return null;
 82  
         }
 83  
 
 84  
         @Override
 85  
         public List<String> findPersonIdsRelatedToLui(String luiId, String luiPersonRelationType, String relationState, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 86  
                 // TODO Kamal - THIS METHOD NEEDS JAVADOCS
 87  0
                 return null;
 88  
         }
 89  
 
 90  
         @Override
 91  
         public List<LuiPersonRelationInfo> findLuiPersonRelations(String personId, String luiId, ContextInfo context) throws DoesNotExistException, DisabledIdentifierException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 92  
                 // TODO Kamal - THIS METHOD NEEDS JAVADOCS
 93  0
                 return null;
 94  
         }
 95  
 
 96  
         @Override
 97  
         public List<String> findLuiPersonRelationIds(String personId, String luiId, ContextInfo context) throws DoesNotExistException, DisabledIdentifierException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 98  
                 // TODO Kamal - THIS METHOD NEEDS JAVADOCS
 99  0
                 return null;
 100  
         }
 101  
 
 102  
         @Override
 103  
         public List<LuiPersonRelationInfo> findLuiPersonRelationsForPerson(String personId, ContextInfo context) throws DoesNotExistException, DisabledIdentifierException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 104  
                 // TODO Kamal - THIS METHOD NEEDS JAVADOCS
 105  0
                 return null;
 106  
         }
 107  
 
 108  
         @Override
 109  
         public List<String> findLuiPersonRelationIdsForPerson(String personId, ContextInfo context) throws DoesNotExistException, DisabledIdentifierException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 110  
                 // TODO Kamal - THIS METHOD NEEDS JAVADOCS
 111  0
                 return null;
 112  
         }
 113  
 
 114  
         @Override
 115  
         public List<LuiPersonRelationInfo> findLuiPersonRelationsForLui(String luiId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 116  
                 // TODO Kamal - THIS METHOD NEEDS JAVADOCS
 117  0
                 return null;
 118  
         }
 119  
 
 120  
         @Override
 121  
         public List<String> findLuiPersonRelationIdsForLui(String luiId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 122  
                 // TODO Kamal - THIS METHOD NEEDS JAVADOCS
 123  0
                 return null;
 124  
         }
 125  
 
 126  
         @Override
 127  
         public List<ValidationResultInfo> validateLuiPersonRelation(String validationType,
 128  
           LuiPersonRelationInfo luiPersonRelationInfo,
 129  
           ContextInfo context)
 130  
           throws DoesNotExistException,
 131  
           InvalidParameterException,
 132  
           MissingParameterException,
 133  
           OperationFailedException,
 134  
           PermissionDeniedException {
 135  
                 // TODO Kamal - THIS METHOD NEEDS JAVADOCS
 136  0
                 return null;
 137  
         }
 138  
 
 139  
         @Override
 140  
         public List<String> findAllValidLuisForPerson(String personId, String luiPersonRelationType, String relationState, String atpId, ContextInfo context) throws DoesNotExistException, DisabledIdentifierException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 141  
                 // TODO Kamal - THIS METHOD NEEDS JAVADOCS
 142  0
                 return null;
 143  
         }
 144  
 
 145  
         @Override
 146  
         public List<String> searchForLuiPersonRelationIds(CriteriaInfo criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 147  
                 // TODO Kamal - THIS METHOD NEEDS JAVADOCS
 148  0
                 return null;
 149  
         }
 150  
 
 151  
         @Override
 152  
         public String createLuiPersonRelation(String personId, String luiId, String luiPersonRelationType, LuiPersonRelationInfo luiPersonRelationInfo, ContextInfo context) throws AlreadyExistsException, DoesNotExistException, DisabledIdentifierException, ReadOnlyException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 153  
                 // TODO Kamal - THIS METHOD NEEDS JAVADOCS
 154  0
                 return null;
 155  
         }
 156  
 
 157  
         @Override
 158  
         public List<String> createBulkRelationshipsForLui(String luiId, List<String> personIdList, String relationState, String luiPersonRelationType, LuiPersonRelationInfo luiPersonRelationInfo, ContextInfo context) throws AlreadyExistsException, DoesNotExistException, DisabledIdentifierException, ReadOnlyException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 159  
                 // TODO Kamal - THIS METHOD NEEDS JAVADOCS
 160  0
                 return null;
 161  
         }
 162  
 
 163  
         @Override
 164  
         public LuiPersonRelationInfo updateLuiPersonRelation(String luiPersonRelationId, LuiPersonRelationInfo luiPersonRelationInfo, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, ReadOnlyException, OperationFailedException, PermissionDeniedException {
 165  
                 // TODO Kamal - THIS METHOD NEEDS JAVADOCS
 166  0
                 return null;
 167  
         }
 168  
 
 169  
         @Override
 170  
         public StatusInfo deleteLuiPersonRelation(String luiPersonRelationId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 171  
                 // TODO Kamal - THIS METHOD NEEDS JAVADOCS
 172  0
                 return null;
 173  
         }
 174  
 
 175  
         @Override
 176  
         public StatusInfo updateRelationState(String luiPersonRelationId, LuiPersonRelationStateInfo relationState, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
 177  
                 // TODO Kamal - THIS METHOD NEEDS JAVADOCS
 178  0
                 return null;
 179  
         }
 180  
 
 181  
         @Override
 182  
         public DictionaryEntryInfo getDataDictionaryEntry(String entryKey, ContextInfo context) throws OperationFailedException, MissingParameterException, PermissionDeniedException, DoesNotExistException {
 183  
                 // TODO Kamal - THIS METHOD NEEDS JAVADOCS
 184  0
                 return null;
 185  
         }
 186  
 
 187  
         @Override
 188  
         public List<String> getDataDictionaryEntryKeys(ContextInfo context) throws OperationFailedException, MissingParameterException, PermissionDeniedException {
 189  
                 // TODO Kamal - THIS METHOD NEEDS JAVADOCS
 190  0
                 return null;
 191  
         }
 192  
 
 193  
     @Override
 194  
     public TypeInfo getType(String typeKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException {
 195  
         // TODO Kamal - THIS METHOD NEEDS JAVADOCS
 196  0
         return null;
 197  
     }
 198  
 
 199  
     @Override
 200  
     public List<TypeInfo> getTypesByRefObjectURI(String refObjectURI, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException {
 201  
         // TODO Kamal - THIS METHOD NEEDS JAVADOCS
 202  0
         return null;
 203  
     }
 204  
 
 205  
     @Override
 206  
     public List<TypeInfo> getAllowedTypesForType(String ownerTypeKey, String relatedRefObjectURI, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException {
 207  
         // TODO Kamal - THIS METHOD NEEDS JAVADOCS
 208  0
         return null;
 209  
     }
 210  
 
 211  
     @Override
 212  
     public List<TypeTypeRelationInfo> getTypeRelationsByOwnerType(String ownerTypeKey, String relationTypeKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException {
 213  
         // TODO Kamal - THIS METHOD NEEDS JAVADOCS
 214  0
         return null;
 215  
     }
 216  
 }