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