| 1 | |
package org.kuali.student.enrollment.classII.acal.service.impl; |
| 2 | |
|
| 3 | |
import java.util.Date; |
| 4 | |
import java.util.HashMap; |
| 5 | |
import java.util.List; |
| 6 | |
import java.util.Map; |
| 7 | |
|
| 8 | |
import javax.jws.WebService; |
| 9 | |
|
| 10 | |
import org.kuali.student.common.util.UUIDHelper; |
| 11 | |
import org.kuali.student.enrollment.acal.dto.AcademicCalendarInfo; |
| 12 | |
import org.kuali.student.enrollment.acal.dto.CampusCalendarInfo; |
| 13 | |
import org.kuali.student.enrollment.acal.dto.HolidayInfo; |
| 14 | |
import org.kuali.student.enrollment.acal.dto.KeyDateInfo; |
| 15 | |
import org.kuali.student.enrollment.acal.dto.RegistrationDateGroupInfo; |
| 16 | |
import org.kuali.student.enrollment.acal.dto.TermInfo; |
| 17 | |
import org.kuali.student.enrollment.acal.service.AcademicCalendarService; |
| 18 | |
import org.kuali.student.enrollment.classII.acal.service.assembler.AcademicCalendarAssembler; |
| 19 | |
import org.kuali.student.enrollment.classII.acal.service.assembler.TermAssembler; |
| 20 | |
import org.kuali.student.r2.common.datadictionary.dto.DictionaryEntryInfo; |
| 21 | |
import org.kuali.student.r2.common.dto.ContextInfo; |
| 22 | |
import org.kuali.student.r2.common.dto.StateInfo; |
| 23 | |
import org.kuali.student.r2.common.dto.StatusInfo; |
| 24 | |
import org.kuali.student.r2.common.dto.TypeInfo; |
| 25 | |
import org.kuali.student.r2.common.dto.ValidationResultInfo; |
| 26 | |
import org.kuali.student.r2.common.exceptions.AlreadyExistsException; |
| 27 | |
import org.kuali.student.r2.common.exceptions.DataValidationErrorException; |
| 28 | |
import org.kuali.student.r2.common.exceptions.DoesNotExistException; |
| 29 | |
import org.kuali.student.r2.common.exceptions.InvalidParameterException; |
| 30 | |
import org.kuali.student.r2.common.exceptions.MissingParameterException; |
| 31 | |
import org.kuali.student.r2.common.exceptions.OperationFailedException; |
| 32 | |
import org.kuali.student.r2.common.exceptions.PermissionDeniedException; |
| 33 | |
import org.kuali.student.r2.common.exceptions.VersionMismatchException; |
| 34 | |
import org.kuali.student.r2.core.atp.dto.AtpAtpRelationInfo; |
| 35 | |
import org.kuali.student.r2.core.atp.dto.AtpInfo; |
| 36 | |
import org.kuali.student.r2.core.atp.service.AtpService; |
| 37 | |
import org.springframework.transaction.annotation.Transactional; |
| 38 | |
|
| 39 | |
@WebService(name = "AcademicCalendarService", serviceName = "AcademicCalendarService", portName = "AcademicCalendarService", targetNamespace = "http://student.kuali.org/wsdl/acal") |
| 40 | |
@Transactional(readOnly=true,noRollbackFor={DoesNotExistException.class},rollbackFor={Throwable.class}) |
| 41 | 0 | public class AcademicCalendarServiceImpl implements AcademicCalendarService{ |
| 42 | |
private AtpService atpService; |
| 43 | |
private AcademicCalendarAssembler acalAssembler; |
| 44 | |
private TermAssembler termAssembler; |
| 45 | |
|
| 46 | |
@Override |
| 47 | |
public List<String> getDataDictionaryEntryKeys(ContextInfo context) throws OperationFailedException, |
| 48 | |
MissingParameterException, PermissionDeniedException { |
| 49 | |
|
| 50 | 0 | return null; |
| 51 | |
} |
| 52 | |
|
| 53 | |
@Override |
| 54 | |
public DictionaryEntryInfo getDataDictionaryEntry(String entryKey, ContextInfo context) |
| 55 | |
throws OperationFailedException, MissingParameterException, PermissionDeniedException, |
| 56 | |
DoesNotExistException { |
| 57 | |
|
| 58 | 0 | return null; |
| 59 | |
} |
| 60 | |
|
| 61 | |
@Override |
| 62 | |
public TypeInfo getAcademicCalendarType(String academicCalendarTypeKey, ContextInfo context) |
| 63 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 64 | |
OperationFailedException { |
| 65 | |
|
| 66 | 0 | return null; |
| 67 | |
} |
| 68 | |
|
| 69 | |
@Override |
| 70 | |
public List<TypeInfo> getAcademicCalendarTypes(ContextInfo context) throws InvalidParameterException, |
| 71 | |
MissingParameterException, OperationFailedException { |
| 72 | |
|
| 73 | 0 | return null; |
| 74 | |
} |
| 75 | |
|
| 76 | |
@Override |
| 77 | |
public StateInfo getAcademicCalendarState(String academicCalendarStateKey, ContextInfo context) |
| 78 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 79 | |
OperationFailedException { |
| 80 | |
|
| 81 | 0 | return null; |
| 82 | |
} |
| 83 | |
|
| 84 | |
@Override |
| 85 | |
public List<StateInfo> getAcademicCalendarStates(ContextInfo context) throws InvalidParameterException, |
| 86 | |
MissingParameterException, OperationFailedException, DoesNotExistException { |
| 87 | |
|
| 88 | 0 | return null; |
| 89 | |
} |
| 90 | |
|
| 91 | |
@Override |
| 92 | |
public AcademicCalendarInfo getAcademicCalendar(String academicCalendarKey, ContextInfo context) |
| 93 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 94 | |
OperationFailedException, PermissionDeniedException { |
| 95 | 0 | AtpInfo atp = atpService.getAtp(academicCalendarKey, context); |
| 96 | |
|
| 97 | 0 | return acalAssembler.assemble(atp, context); |
| 98 | |
} |
| 99 | |
|
| 100 | |
@Override |
| 101 | |
public List<AcademicCalendarInfo> getAcademicCalendarsByKeyList(List<String> academicCalendarKeyList, |
| 102 | |
ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 103 | |
OperationFailedException, PermissionDeniedException { |
| 104 | |
|
| 105 | 0 | return null; |
| 106 | |
} |
| 107 | |
|
| 108 | |
@Override |
| 109 | |
public List<String> getAcademicCalendarKeysByType(String academicCalendarTypeKey, ContextInfo context) |
| 110 | |
throws InvalidParameterException, MissingParameterException, OperationFailedException, |
| 111 | |
PermissionDeniedException { |
| 112 | |
|
| 113 | 0 | return null; |
| 114 | |
} |
| 115 | |
|
| 116 | |
@Override |
| 117 | |
public List<AcademicCalendarInfo> getAcademicCalendarsByYear(Integer year, ContextInfo context) |
| 118 | |
throws InvalidParameterException, MissingParameterException, OperationFailedException, |
| 119 | |
PermissionDeniedException { |
| 120 | |
|
| 121 | 0 | return null; |
| 122 | |
} |
| 123 | |
|
| 124 | |
@Override |
| 125 | |
public List<AcademicCalendarInfo> getAcademicCalendarsByCredentialProgramType(String credentialProgramTypeKey, |
| 126 | |
ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, |
| 127 | |
PermissionDeniedException { |
| 128 | |
|
| 129 | 0 | return null; |
| 130 | |
} |
| 131 | |
|
| 132 | |
@Override |
| 133 | |
public List<AcademicCalendarInfo> getAcademicCalendarsByCredentialProgramTypeForYear( |
| 134 | |
String credentialProgramTypeKey, Integer year, ContextInfo context) throws InvalidParameterException, |
| 135 | |
MissingParameterException, OperationFailedException, PermissionDeniedException { |
| 136 | |
|
| 137 | 0 | return null; |
| 138 | |
} |
| 139 | |
|
| 140 | |
@Override |
| 141 | |
public List<ValidationResultInfo> validateAcademicCalendar(String validationType, |
| 142 | |
AcademicCalendarInfo academicCalendarInfo, ContextInfo context) throws DoesNotExistException, |
| 143 | |
InvalidParameterException, MissingParameterException, OperationFailedException { |
| 144 | |
|
| 145 | 0 | return null; |
| 146 | |
} |
| 147 | |
|
| 148 | |
@Override |
| 149 | |
@Transactional(readOnly=false) |
| 150 | |
public AcademicCalendarInfo createAcademicCalendar(String academicCalendarKey, |
| 151 | |
AcademicCalendarInfo academicCalendarInfo, ContextInfo context) throws AlreadyExistsException, |
| 152 | |
DataValidationErrorException, InvalidParameterException, MissingParameterException, |
| 153 | |
OperationFailedException, PermissionDeniedException { |
| 154 | |
|
| 155 | 0 | AtpInfo atp = acalAssembler.disassemble(academicCalendarInfo, context); |
| 156 | |
try { |
| 157 | 0 | AtpInfo existing = atpService.getAtp(academicCalendarKey, context); |
| 158 | 0 | if(existing == null) |
| 159 | 0 | atpService.createAtp(academicCalendarKey, atp, context); |
| 160 | 0 | } catch (DoesNotExistException e1) { |
| 161 | 0 | atpService.createAtp(academicCalendarKey, atp, context); |
| 162 | 0 | } |
| 163 | |
|
| 164 | 0 | return academicCalendarInfo; |
| 165 | |
} |
| 166 | |
|
| 167 | |
@Override |
| 168 | |
public AcademicCalendarInfo updateAcademicCalendar(String academicCalendarKey, |
| 169 | |
AcademicCalendarInfo academicCalendarInfo, ContextInfo context) throws DataValidationErrorException, |
| 170 | |
DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, |
| 171 | |
PermissionDeniedException, VersionMismatchException { |
| 172 | |
|
| 173 | |
try{ |
| 174 | 0 | atpService.getAtp(academicCalendarKey, context); |
| 175 | |
AtpInfo atp; |
| 176 | |
|
| 177 | 0 | atp = acalAssembler.disassemble(academicCalendarInfo, context); |
| 178 | |
|
| 179 | 0 | if(atp != null) |
| 180 | 0 | atpService.updateAtp(academicCalendarKey, atp, context); |
| 181 | |
|
| 182 | 0 | } catch (DoesNotExistException e1) { |
| 183 | 0 | return null; |
| 184 | 0 | } |
| 185 | |
|
| 186 | 0 | return academicCalendarInfo; |
| 187 | |
} |
| 188 | |
|
| 189 | |
@Override |
| 190 | |
public StatusInfo deleteAcademicCalendar(String academicCalendarKey, ContextInfo context) |
| 191 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 192 | |
OperationFailedException, PermissionDeniedException { |
| 193 | |
|
| 194 | 0 | StatusInfo status = StatusInfo.newInstance(); |
| 195 | 0 | status.setSuccess(Boolean.TRUE); |
| 196 | |
|
| 197 | 0 | AtpInfo atp = atpService.getAtp(academicCalendarKey, context); |
| 198 | |
|
| 199 | 0 | if(atp != null){ |
| 200 | |
|
| 201 | 0 | atpService.deleteAtp(academicCalendarKey, context); |
| 202 | |
|
| 203 | |
|
| 204 | 0 | List<AtpAtpRelationInfo > atpRels = atpService.getAtpAtpRelationsByAtp(academicCalendarKey, context); |
| 205 | |
|
| 206 | 0 | for(AtpAtpRelationInfo atpRelInfo : atpRels){ |
| 207 | 0 | atpService.deleteAtpAtpRelation(atpRelInfo.getId(), context); |
| 208 | |
} |
| 209 | |
} |
| 210 | |
|
| 211 | 0 | return status; |
| 212 | |
} |
| 213 | |
|
| 214 | |
@Override |
| 215 | |
public AcademicCalendarInfo copyAcademicCalendar(String academicCalendarKey, String newAcademicCalendarKey, |
| 216 | |
ContextInfo context) throws AlreadyExistsException, DoesNotExistException, InvalidParameterException, |
| 217 | |
MissingParameterException, OperationFailedException, PermissionDeniedException { |
| 218 | |
|
| 219 | 0 | return null; |
| 220 | |
} |
| 221 | |
|
| 222 | |
@Override |
| 223 | |
public String getAcademicCalendarData(String academicCalendarKey, String calendarDataFormatTypeKey, |
| 224 | |
ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 225 | |
OperationFailedException, PermissionDeniedException { |
| 226 | |
|
| 227 | 0 | return null; |
| 228 | |
} |
| 229 | |
|
| 230 | |
@Override |
| 231 | |
public TypeInfo getCampusCalendarType(String campusCalendarTypeKey, ContextInfo context) |
| 232 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 233 | |
OperationFailedException { |
| 234 | |
|
| 235 | 0 | return null; |
| 236 | |
} |
| 237 | |
|
| 238 | |
@Override |
| 239 | |
public List<TypeInfo> getCampusCalendarTypes(ContextInfo context) throws InvalidParameterException, |
| 240 | |
MissingParameterException, OperationFailedException { |
| 241 | |
|
| 242 | 0 | return null; |
| 243 | |
} |
| 244 | |
|
| 245 | |
@Override |
| 246 | |
public StateInfo getCampusCalendarState(String campusCalendarStateKey, ContextInfo context) |
| 247 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 248 | |
OperationFailedException { |
| 249 | |
|
| 250 | 0 | return null; |
| 251 | |
} |
| 252 | |
|
| 253 | |
@Override |
| 254 | |
public List<StateInfo> getCampusCalendarStates(ContextInfo context) throws InvalidParameterException, |
| 255 | |
MissingParameterException, OperationFailedException, DoesNotExistException { |
| 256 | |
|
| 257 | 0 | return null; |
| 258 | |
} |
| 259 | |
|
| 260 | |
@Override |
| 261 | |
public CampusCalendarInfo getCampusCalendar(String campusCalendarKey, ContextInfo context) |
| 262 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 263 | |
OperationFailedException, PermissionDeniedException { |
| 264 | |
|
| 265 | 0 | return null; |
| 266 | |
} |
| 267 | |
|
| 268 | |
@Override |
| 269 | |
public List<CampusCalendarInfo> getCampusCalendarsByKeyList(List<String> campusCalendarKeyList, ContextInfo context) |
| 270 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 271 | |
OperationFailedException, PermissionDeniedException { |
| 272 | |
|
| 273 | 0 | return null; |
| 274 | |
} |
| 275 | |
|
| 276 | |
@Override |
| 277 | |
public List<String> getCampusCalendarKeysByType(String campusCalendarTypeKey, ContextInfo context) |
| 278 | |
throws InvalidParameterException, MissingParameterException, OperationFailedException, |
| 279 | |
PermissionDeniedException { |
| 280 | |
|
| 281 | 0 | return null; |
| 282 | |
} |
| 283 | |
|
| 284 | |
@Override |
| 285 | |
public List<CampusCalendarInfo> getCampusCalendarsByYear(Integer year, ContextInfo context) |
| 286 | |
throws InvalidParameterException, MissingParameterException, OperationFailedException, |
| 287 | |
PermissionDeniedException { |
| 288 | |
|
| 289 | 0 | return null; |
| 290 | |
} |
| 291 | |
|
| 292 | |
@Override |
| 293 | |
public List<ValidationResultInfo> validateCampusCalendar(String validationType, |
| 294 | |
CampusCalendarInfo campusCalendarInfo, ContextInfo context) throws DoesNotExistException, |
| 295 | |
InvalidParameterException, MissingParameterException, OperationFailedException { |
| 296 | |
|
| 297 | 0 | return null; |
| 298 | |
} |
| 299 | |
|
| 300 | |
@Override |
| 301 | |
public CampusCalendarInfo createCampusCalendar(String campusCalendarKey, CampusCalendarInfo campusCalendarInfo, |
| 302 | |
ContextInfo context) throws AlreadyExistsException, DataValidationErrorException, |
| 303 | |
InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
| 304 | |
|
| 305 | 0 | return null; |
| 306 | |
} |
| 307 | |
|
| 308 | |
@Override |
| 309 | |
public CampusCalendarInfo updateCampusCalendar(String campusCalendarKey, CampusCalendarInfo campusCalendarInfo, |
| 310 | |
ContextInfo context) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, |
| 311 | |
MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException { |
| 312 | |
|
| 313 | 0 | return null; |
| 314 | |
} |
| 315 | |
|
| 316 | |
@Override |
| 317 | |
public StatusInfo deleteCampusCalendar(String campusCalendarKey, ContextInfo context) throws DoesNotExistException, |
| 318 | |
InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
| 319 | |
|
| 320 | 0 | return null; |
| 321 | |
} |
| 322 | |
|
| 323 | |
@Override |
| 324 | |
public TypeInfo getTermType(String termTypeKey, ContextInfo context) throws DoesNotExistException, |
| 325 | |
InvalidParameterException, MissingParameterException, OperationFailedException { |
| 326 | |
|
| 327 | 0 | return null; |
| 328 | |
} |
| 329 | |
|
| 330 | |
@Override |
| 331 | |
public List<TypeInfo> getTermTypes(ContextInfo context) throws InvalidParameterException, |
| 332 | |
MissingParameterException, OperationFailedException { |
| 333 | |
|
| 334 | 0 | return null; |
| 335 | |
} |
| 336 | |
|
| 337 | |
@Override |
| 338 | |
public List<TypeInfo> getTermTypesForAcademicCalendarType(String academicCalendarTypeKey, ContextInfo context) |
| 339 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 340 | |
OperationFailedException { |
| 341 | |
|
| 342 | 0 | return null; |
| 343 | |
} |
| 344 | |
|
| 345 | |
@Override |
| 346 | |
public List<TypeInfo> getTermTypesForTermType(String termTypeKey, ContextInfo context) |
| 347 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 348 | |
OperationFailedException { |
| 349 | |
|
| 350 | 0 | return null; |
| 351 | |
} |
| 352 | |
|
| 353 | |
@Override |
| 354 | |
public StateInfo getTermState(String termStateKey, ContextInfo context) throws DoesNotExistException, |
| 355 | |
InvalidParameterException, MissingParameterException, OperationFailedException { |
| 356 | |
|
| 357 | 0 | return null; |
| 358 | |
} |
| 359 | |
|
| 360 | |
@Override |
| 361 | |
public List<StateInfo> getTermStates(ContextInfo context) throws InvalidParameterException, |
| 362 | |
MissingParameterException, OperationFailedException, DoesNotExistException { |
| 363 | |
|
| 364 | 0 | return null; |
| 365 | |
} |
| 366 | |
|
| 367 | |
@Override |
| 368 | |
public TermInfo getTerm(String termKey, ContextInfo context) throws DoesNotExistException, |
| 369 | |
InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
| 370 | 0 | AtpInfo atp = atpService.getAtp(termKey, context); |
| 371 | |
|
| 372 | 0 | return termAssembler.assemble(atp, context); |
| 373 | |
} |
| 374 | |
|
| 375 | |
@Override |
| 376 | |
public List<TermInfo> getTermsByKeyList(List<String> termKeyList, ContextInfo context) |
| 377 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 378 | |
OperationFailedException, PermissionDeniedException { |
| 379 | |
|
| 380 | 0 | return null; |
| 381 | |
} |
| 382 | |
|
| 383 | |
@Override |
| 384 | |
public List<String> getTermKeysByType(String termTypeKey, ContextInfo context) throws InvalidParameterException, |
| 385 | |
MissingParameterException, OperationFailedException, PermissionDeniedException { |
| 386 | |
|
| 387 | 0 | return null; |
| 388 | |
} |
| 389 | |
|
| 390 | |
@Override |
| 391 | |
public List<TermInfo> getTermsForAcademicCalendar(String academicCalendarKey, ContextInfo context) |
| 392 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 393 | |
OperationFailedException, PermissionDeniedException { |
| 394 | |
|
| 395 | 0 | return null; |
| 396 | |
} |
| 397 | |
|
| 398 | |
@Override |
| 399 | |
public List<TermInfo> getIncludedTermsInTerm(String termKey, ContextInfo context) throws DoesNotExistException, |
| 400 | |
InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
| 401 | |
|
| 402 | 0 | return null; |
| 403 | |
} |
| 404 | |
|
| 405 | |
@Override |
| 406 | |
public List<TermInfo> getContainingTerms(String termKey, ContextInfo context) throws DoesNotExistException, |
| 407 | |
InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
| 408 | |
|
| 409 | 0 | return null; |
| 410 | |
} |
| 411 | |
|
| 412 | |
@Override |
| 413 | |
public List<ValidationResultInfo> validateTerm(String validationType, TermInfo termInfo, ContextInfo context) |
| 414 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 415 | |
OperationFailedException { |
| 416 | |
|
| 417 | 0 | return null; |
| 418 | |
} |
| 419 | |
|
| 420 | |
@Override |
| 421 | |
public TermInfo createTerm(String termKey, TermInfo termInfo, ContextInfo context) throws AlreadyExistsException, |
| 422 | |
DataValidationErrorException, InvalidParameterException, MissingParameterException, |
| 423 | |
OperationFailedException, PermissionDeniedException { |
| 424 | 0 | AtpInfo atp = termAssembler.disassemble(termInfo, context); |
| 425 | |
try { |
| 426 | 0 | AtpInfo existing = atpService.getAtp(termKey, context); |
| 427 | 0 | if(existing == null) |
| 428 | 0 | atpService.createAtp(termKey, atp, context); |
| 429 | 0 | } catch (DoesNotExistException e1) { |
| 430 | 0 | atpService.createAtp(termKey, atp, context); |
| 431 | 0 | } |
| 432 | 0 | return termInfo; |
| 433 | |
} |
| 434 | |
|
| 435 | |
@Override |
| 436 | |
public TermInfo updateTerm(String termKey, TermInfo termInfo, ContextInfo context) |
| 437 | |
throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, |
| 438 | |
MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException { |
| 439 | |
|
| 440 | 0 | return null; |
| 441 | |
} |
| 442 | |
|
| 443 | |
@Override |
| 444 | |
public StatusInfo deleteTerm(String termKey, ContextInfo context) throws DoesNotExistException, |
| 445 | |
InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
| 446 | |
|
| 447 | 0 | return null; |
| 448 | |
} |
| 449 | |
|
| 450 | |
@Override |
| 451 | |
public StatusInfo addTermToAcademicCalendar(String academicCalendarKey, String termKey, ContextInfo context) |
| 452 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 453 | |
OperationFailedException, PermissionDeniedException, AlreadyExistsException { |
| 454 | |
|
| 455 | 0 | return null; |
| 456 | |
} |
| 457 | |
|
| 458 | |
@Override |
| 459 | |
public StatusInfo removeTermFromAcademicCalendar(String academicCalendarKey, String termKey, ContextInfo context) |
| 460 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 461 | |
OperationFailedException, PermissionDeniedException { |
| 462 | |
|
| 463 | 0 | return null; |
| 464 | |
} |
| 465 | |
|
| 466 | |
@Override |
| 467 | |
public StatusInfo addTermToTerm(String termKey, String includedTermKey, ContextInfo context) |
| 468 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 469 | |
OperationFailedException, PermissionDeniedException { |
| 470 | |
|
| 471 | 0 | return null; |
| 472 | |
} |
| 473 | |
|
| 474 | |
@Override |
| 475 | |
public StatusInfo removeTermFromTerm(String termKey, String includedTermKey, ContextInfo context) |
| 476 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 477 | |
OperationFailedException, PermissionDeniedException { |
| 478 | |
|
| 479 | 0 | return null; |
| 480 | |
} |
| 481 | |
|
| 482 | |
@Override |
| 483 | |
public TypeInfo getKeyDateType(String keyDateTypeKey, ContextInfo context) throws DoesNotExistException, |
| 484 | |
InvalidParameterException, MissingParameterException, OperationFailedException { |
| 485 | |
|
| 486 | 0 | return null; |
| 487 | |
} |
| 488 | |
|
| 489 | |
@Override |
| 490 | |
public List<TypeInfo> getKeyDateTypesForTermType(String termTypeKey, ContextInfo context) |
| 491 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 492 | |
OperationFailedException { |
| 493 | |
|
| 494 | 0 | return null; |
| 495 | |
} |
| 496 | |
|
| 497 | |
@Override |
| 498 | |
public KeyDateInfo getKeyDate(String keyDateKey, ContextInfo context) throws DoesNotExistException, |
| 499 | |
InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
| 500 | |
|
| 501 | 0 | return null; |
| 502 | |
} |
| 503 | |
|
| 504 | |
@Override |
| 505 | |
public List<KeyDateInfo> getKeyDatesByKeyList(List<String> keyDateKeyList, ContextInfo context) |
| 506 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 507 | |
OperationFailedException, PermissionDeniedException { |
| 508 | |
|
| 509 | 0 | return null; |
| 510 | |
} |
| 511 | |
|
| 512 | |
@Override |
| 513 | |
public List<String> getKeyDateKeysByType(String keyDateTypeKey, ContextInfo context) |
| 514 | |
throws InvalidParameterException, MissingParameterException, OperationFailedException, |
| 515 | |
PermissionDeniedException { |
| 516 | |
|
| 517 | 0 | return null; |
| 518 | |
} |
| 519 | |
|
| 520 | |
@Override |
| 521 | |
public List<KeyDateInfo> getKeyDatesForAcademicCalendar(String academicCalendarKey, ContextInfo context) |
| 522 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 523 | |
OperationFailedException, PermissionDeniedException { |
| 524 | |
|
| 525 | 0 | return null; |
| 526 | |
} |
| 527 | |
|
| 528 | |
@Override |
| 529 | |
public List<KeyDateInfo> getKeyDatesForAcademicCalendarByDate(String academicCalendarKey, Date startDate, |
| 530 | |
Date endDate, ContextInfo context) throws DoesNotExistException, InvalidParameterException, |
| 531 | |
MissingParameterException, OperationFailedException, PermissionDeniedException { |
| 532 | |
|
| 533 | 0 | return null; |
| 534 | |
} |
| 535 | |
|
| 536 | |
@Override |
| 537 | |
public List<KeyDateInfo> getKeyDatesForTerm(String termKey, ContextInfo context) throws DoesNotExistException, |
| 538 | |
InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
| 539 | |
|
| 540 | 0 | return null; |
| 541 | |
} |
| 542 | |
|
| 543 | |
@Override |
| 544 | |
public List<KeyDateInfo> getKeyDatesForTermByDate(String termKey, Date startDate, Date endDate, ContextInfo context) |
| 545 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 546 | |
OperationFailedException, PermissionDeniedException { |
| 547 | |
|
| 548 | 0 | return null; |
| 549 | |
} |
| 550 | |
|
| 551 | |
@Override |
| 552 | |
public List<KeyDateInfo> getAllKeyDatesForTerm(String termKey, ContextInfo context) throws DoesNotExistException, |
| 553 | |
InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
| 554 | |
|
| 555 | 0 | return null; |
| 556 | |
} |
| 557 | |
|
| 558 | |
@Override |
| 559 | |
public List<KeyDateInfo> getKeyDatesForAllTermsByDate(String termKey, Date startDate, Date endDate, |
| 560 | |
ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 561 | |
OperationFailedException, PermissionDeniedException { |
| 562 | |
|
| 563 | 0 | return null; |
| 564 | |
} |
| 565 | |
|
| 566 | |
@Override |
| 567 | |
public List<ValidationResultInfo> validateKeyDate(String validationType, KeyDateInfo keyDateInfo, |
| 568 | |
ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 569 | |
OperationFailedException { |
| 570 | |
|
| 571 | 0 | return null; |
| 572 | |
} |
| 573 | |
|
| 574 | |
@Override |
| 575 | |
public KeyDateInfo createKeyDateForTerm(String termKey, String keyDateKey, KeyDateInfo keyDateInfo, |
| 576 | |
ContextInfo context) throws AlreadyExistsException, DataValidationErrorException, |
| 577 | |
InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
| 578 | |
|
| 579 | 0 | return null; |
| 580 | |
} |
| 581 | |
|
| 582 | |
@Override |
| 583 | |
public KeyDateInfo updateKeyDate(String keyDateKey, KeyDateInfo keyDateInfo, ContextInfo context) |
| 584 | |
throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, |
| 585 | |
MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException { |
| 586 | |
|
| 587 | 0 | return null; |
| 588 | |
} |
| 589 | |
|
| 590 | |
@Override |
| 591 | |
public StatusInfo deleteKeyDate(String keyDateKey, ContextInfo context) throws DoesNotExistException, |
| 592 | |
InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
| 593 | |
|
| 594 | 0 | return null; |
| 595 | |
} |
| 596 | |
|
| 597 | |
@Override |
| 598 | |
public TypeInfo getHolidayType(String holidayTypeKey, ContextInfo context) throws DoesNotExistException, |
| 599 | |
InvalidParameterException, MissingParameterException, OperationFailedException { |
| 600 | |
|
| 601 | 0 | return null; |
| 602 | |
} |
| 603 | |
|
| 604 | |
@Override |
| 605 | |
public List<TypeInfo> getHolidayTypesForCampusCalendarType(String campusCalendarTypeKey, ContextInfo context) |
| 606 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 607 | |
OperationFailedException { |
| 608 | |
|
| 609 | 0 | return null; |
| 610 | |
} |
| 611 | |
|
| 612 | |
@Override |
| 613 | |
public List<HolidayInfo> getHolidaysForAcademicCalendar(String academicCalendarKey, ContextInfo context) |
| 614 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 615 | |
OperationFailedException, PermissionDeniedException { |
| 616 | |
|
| 617 | 0 | return null; |
| 618 | |
} |
| 619 | |
|
| 620 | |
@Override |
| 621 | |
public List<ValidationResultInfo> validateHoliday(String validationType, HolidayInfo holidayInfo, |
| 622 | |
ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 623 | |
OperationFailedException { |
| 624 | |
|
| 625 | 0 | return null; |
| 626 | |
} |
| 627 | |
|
| 628 | |
@Override |
| 629 | |
public HolidayInfo createHolidayForCampusCalendar(String campusCalendarKey, String holidayKey, |
| 630 | |
HolidayInfo holidayInfo, ContextInfo context) throws AlreadyExistsException, DataValidationErrorException, |
| 631 | |
InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
| 632 | |
|
| 633 | 0 | return null; |
| 634 | |
} |
| 635 | |
|
| 636 | |
@Override |
| 637 | |
public HolidayInfo updateHoliday(String holidayKey, HolidayInfo holidayInfo, ContextInfo context) |
| 638 | |
throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, |
| 639 | |
MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException { |
| 640 | |
|
| 641 | 0 | return null; |
| 642 | |
} |
| 643 | |
|
| 644 | |
@Override |
| 645 | |
public StatusInfo deleteHoliday(String holidayKey, ContextInfo context) throws DoesNotExistException, |
| 646 | |
InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
| 647 | |
|
| 648 | 0 | return null; |
| 649 | |
} |
| 650 | |
|
| 651 | |
@Override |
| 652 | |
public RegistrationDateGroupInfo getRegistrationDateGroup(String termKey, ContextInfo context) |
| 653 | |
throws DoesNotExistException, InvalidParameterException, MissingParameterException, |
| 654 | |
OperationFailedException, PermissionDeniedException { |
| 655 | |
|
| 656 | 0 | return null; |
| 657 | |
} |
| 658 | |
|
| 659 | |
@Override |
| 660 | |
public List<ValidationResultInfo> validateRegistrationDateGroup(String validationType, |
| 661 | |
RegistrationDateGroupInfo registrationDateGroupInfo, ContextInfo context) throws DoesNotExistException, |
| 662 | |
InvalidParameterException, MissingParameterException, OperationFailedException { |
| 663 | |
|
| 664 | 0 | return null; |
| 665 | |
} |
| 666 | |
|
| 667 | |
@Override |
| 668 | |
public RegistrationDateGroupInfo updateRegistrationDateGroup(String termKey, |
| 669 | |
RegistrationDateGroupInfo registrationDateGroupInfo, ContextInfo context) |
| 670 | |
throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, |
| 671 | |
MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException { |
| 672 | |
|
| 673 | 0 | return null; |
| 674 | |
} |
| 675 | |
|
| 676 | |
@Override |
| 677 | |
public Integer getInstructionalDaysForTerm(String termKey, ContextInfo context) throws DoesNotExistException, |
| 678 | |
InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
| 679 | |
|
| 680 | 0 | return null; |
| 681 | |
} |
| 682 | |
|
| 683 | |
public AtpService getAtpService() { |
| 684 | 0 | return atpService; |
| 685 | |
} |
| 686 | |
|
| 687 | |
public void setAtpService(AtpService atpService) { |
| 688 | 0 | this.atpService = atpService; |
| 689 | 0 | } |
| 690 | |
|
| 691 | |
public AcademicCalendarAssembler getAcalAssembler() { |
| 692 | 0 | return acalAssembler; |
| 693 | |
} |
| 694 | |
|
| 695 | |
public void setAcalAssembler(AcademicCalendarAssembler acalAssembler) { |
| 696 | 0 | this.acalAssembler = acalAssembler; |
| 697 | 0 | } |
| 698 | |
|
| 699 | |
public TermAssembler getTermAssembler() { |
| 700 | 0 | return termAssembler; |
| 701 | |
} |
| 702 | |
|
| 703 | |
public void setTermAssembler(TermAssembler termAssembler) { |
| 704 | 0 | this.termAssembler = termAssembler; |
| 705 | 0 | } |
| 706 | |
|
| 707 | |
} |