@Transactional(readOnly=true, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public class AcademicCalendarServiceImpl extends Object implements AcademicCalendarService
Constructor and Description |
---|
AcademicCalendarServiceImpl() |
Modifier and Type | Method and Description |
---|---|
StatusInfo |
addTermToAcademicCalendar(String academicCalendarId,
String termId,
ContextInfo context)
Adds a Term to an AcademicCalendar.
|
StatusInfo |
addTermToTerm(String termId,
String includedTermId,
ContextInfo context)
Adds a Term as an included term within another Term.
|
AcalEventInfo |
calculateAcalEvent(String acalEventId,
ContextInfo contextInfo)
Calculates the dates in the AcalEvent based on a rule attached to the
AcalEvent Type.
|
HolidayInfo |
calculateHoliday(String holidayId,
ContextInfo contextInfo)
Calculates the dates in the Holiday based on a rule attached to the
Holiday Type.
|
KeyDateInfo |
calculateKeyDate(String keyDateId,
ContextInfo contextInfo)
Calculates the dates in the KeyDate based on a rule attached to the
KeyDate Type.
|
AcademicCalendarInfo |
copyAcademicCalendar(String academicCalendarId,
Date startDate,
Date endDate,
ContextInfo contextInfo)
Copy an AcademicCalendar.
|
HolidayCalendarInfo |
copyHolidayCalendar(String holidayCalendarId,
Date startDate,
Date endDate,
ContextInfo contextInfo)
Copy an HolidayCalendar.
|
AcademicCalendarInfo |
createAcademicCalendar(String academicCalendarTypeKey,
AcademicCalendarInfo academicCalendarInfo,
ContextInfo context)
Creates a new AcademicCalendar.
|
AcalEventInfo |
createAcalEvent(String academicCalendarId,
String acalEventTypeKey,
AcalEventInfo acalEventInfo,
ContextInfo contextInfo)
Creates a new AcalEvent.
|
HolidayInfo |
createHoliday(String holidayCalendarId,
String holidayTypeKey,
HolidayInfo holidayInfo,
ContextInfo contextInfo)
Creates a new Holiday.
|
HolidayCalendarInfo |
createHolidayCalendar(String holidayCalendarTypeKey,
HolidayCalendarInfo holidayCalendarInfo,
ContextInfo context)
Creates a new HolidayCalendar.
|
KeyDateInfo |
createKeyDate(String termId,
String keyDateTypeKey,
KeyDateInfo keyDateInfo,
ContextInfo contextInfo)
Creates a new KeyDate.
|
TermInfo |
createTerm(String termTypeKey,
TermInfo termInfo,
ContextInfo context)
Creates a new Term.
|
StatusInfo |
deleteAcademicCalendar(String academicCalendarKey,
ContextInfo context)
Deletes an existing AcademicCalendar.
|
StatusInfo |
deleteAcalEvent(String acalEventId,
ContextInfo contextInfo)
Deletes an existing AcalEvent.
|
StatusInfo |
deleteHoliday(String holidayId,
ContextInfo context)
Deletes an existing Holiday.
|
StatusInfo |
deleteHolidayCalendar(String holidayCalendarId,
ContextInfo context)
Deletes an existing HolidayCalendar.
|
StatusInfo |
deleteKeyDate(String keyDateId,
ContextInfo context)
Deletes an existing KeyDate.
|
StatusInfo |
deleteTerm(String termId,
ContextInfo context)
Deletes an existing Term.
|
AcademicCalendarInfo |
getAcademicCalendar(String academicCalendarKey,
ContextInfo context)
Retrieves a single AcademicCalendar by an AcademicCalendar Id.
|
String |
getAcademicCalendarData(String academicCalendarId,
String calendarDataFormatTypeKey,
ContextInfo contextInfo)
Generates calendaring data for the Terms and key dates in an Academic
Calendar.
|
List<String> |
getAcademicCalendarIdsByType(String academicCalendarTypeKey,
ContextInfo context)
Retrieves a list of AcademicCalendar Ids by Type.
|
List<AcademicCalendarInfo> |
getAcademicCalendarsByIds(List<String> academicCalendarKeyList,
ContextInfo context)
Retrieves a list AcademicCalendars from a list of AcademicCalendar Ids.
|
List<AcademicCalendarInfo> |
getAcademicCalendarsByStartYear(Integer year,
ContextInfo context)
Retrieves a list of AcademicCalendars that start in the given year.
|
List<AcademicCalendarInfo> |
getAcademicCalendarsForTerm(String termId,
ContextInfo contextInfo)
Gets the list of academic calendars that use this term.
|
StateInfo |
getAcademicCalendarState(String academicCalendarStateKey,
ContextInfo context)
Gets an AcademicCalendar State by key.
|
List<StateInfo> |
getAcademicCalendarStates(ContextInfo context)
Gets the valid AcademicCalendar States.
|
TypeInfo |
getAcademicCalendarType(String academicCalendarTypeKey,
ContextInfo context)
Retrieves an AcademicCalendar Type by Type key.
|
List<TypeInfo> |
getAcademicCalendarTypes(ContextInfo context)
Gets the valid AcademicCalendar types.
|
AcademicCalendarAssembler |
getAcalAssembler() |
AcalEventInfo |
getAcalEvent(String acalEventId,
ContextInfo contextInfo)
Retrieves a single AcalEvent by an AcalEvent Id.
|
AcalEventAssembler |
getAcalEventAssembler() |
List<String> |
getAcalEventIdsByType(String acalEventTypeKey,
ContextInfo contextInfo)
Retrieves a list of AcalEvent Ids by Type.
|
List<AcalEventInfo> |
getAcalEventsByIds(List<String> acalEventIds,
ContextInfo contextInfo)
Retrieves a list AcalEvents from a list of AcalEvent Ids.
|
List<AcalEventInfo> |
getAcalEventsForAcademicCalendar(String academicCalendarId,
ContextInfo contextInfo)
Retrieves a list of AcalEvents immediately mapped to an AcademicCalendar
ordered by date.
|
List<AcalEventInfo> |
getAcalEventsForAcademicCalendarByDate(String academicCalendarId,
Date startDate,
Date endDate,
ContextInfo contextInfo)
Retrieves a list of AcalEvents immediately mapped to an AcademicCalendar
that fall within the given date range inclusive ordered by date.
|
StateInfo |
getAcalEventState(String acalEventStateKey,
ContextInfo contextInfo)
Gets a AcalEvent State by key.
|
List<StateInfo> |
getAcalEventStates(ContextInfo contextInfo)
Gets the valid AcalEvent States.
|
TypeInfo |
getAcalEventType(String acalEventTypeKey,
ContextInfo contextInfo)
Rerieves a AcalEvent Type by Type key.
|
List<TypeInfo> |
getAcalEventTypes(ContextInfo contextInfo)
Gets the valid AcalEvent types.
|
List<TypeInfo> |
getAcalEventTypesForAcademicCalendarType(String academicCalendarTypeKey,
ContextInfo contextInfo)
This method returns the valid AcalEvent Types for the given
AcademicCalendar Type.
|
AtpService |
getAtpService() |
List<TermInfo> |
getContainingTerms(String termId,
ContextInfo context)
Gets the containing terms of a given term.
|
List<TermInfo> |
getCurrentTerms(String processKey,
ContextInfo context)
Convenience method added for core-slice development to get a current
term.
|
DataDictionaryService |
getDataDictionaryService() |
HolidayInfo |
getHoliday(String holidayId,
ContextInfo contextInfo)
Retrieves a single Holiday by a Holiday Id.
|
HolidayAssembler |
getHolidayAssembler() |
HolidayCalendarInfo |
getHolidayCalendar(String holidayCalendarId,
ContextInfo contextInfo)
Retrieves a single HolidayCalendar by a HolidayCalendar Id.
|
HolidayCalendarAssembler |
getHolidayCalendarAssembler() |
List<String> |
getHolidayCalendarIdsByType(String holidayCalendarTypeKey,
ContextInfo contextInfo)
Retrieves a list of HolidayCalendar Ids by Type.
|
List<HolidayCalendarInfo> |
getHolidayCalendarsByIds(List<String> holidayCalendarIds,
ContextInfo context)
Retrieves a list HolidayCalendars from a list of HolidayCalendar Ids.
|
List<HolidayCalendarInfo> |
getHolidayCalendarsByStartYear(Integer year,
ContextInfo contextInfo)
Retrieves a list of HolidayCalendars that start in the given year.
|
StateInfo |
getHolidayCalendarState(String holidayCalendarStateKey,
ContextInfo contextInfo)
Gets a HolidayCalendar State by key.
|
List<StateInfo> |
getHolidayCalendarStates(ContextInfo contextInfo)
Gets the valid HolidayCalendar States.
|
TypeInfo |
getHolidayCalendarType(String holidayCalendarTypeKey,
ContextInfo contextInfo)
Rerieves a HolidayCalendar Type by Type key.
|
List<TypeInfo> |
getHolidayCalendarTypes(ContextInfo contextInfo)
Gets the valid HolidayCalendar types.
|
List<String> |
getHolidayIdsByType(String holidayTypeKey,
ContextInfo contextInfo)
Retrieves a list of Holiday Ids by Type.
|
List<HolidayInfo> |
getHolidaysByDateForAcademicCalendar(String academicCalendarId,
Date startDate,
Date endDate,
ContextInfo contextInfo)
Gets a list of holidays for a particular Academic Calendar further
qualified by the dates.
|
List<HolidayInfo> |
getHolidaysByIds(List<String> holidayIds,
ContextInfo contextInfo)
Retrieves a list Holidays from a list of Holiday Ids.
|
List<HolidayInfo> |
getHolidaysForHolidayCalendar(String holidayCalendarId,
ContextInfo contextInfo)
Retrieves a list of Holidays immediately mapped to a HolidayCalendar
ordered by date.
|
List<HolidayInfo> |
getHolidaysForHolidayCalendarByDate(String holidayCalendarId,
Date startDate,
Date endDate,
ContextInfo contextInfo)
Retrieves a list of Holidays immediately mapped to a HolidayCalendar that
fall within the given date range inclusive ordered by date.
|
StateInfo |
getHolidayState(String holidayStateKey,
ContextInfo contextInfo)
Gets a Holiday State by key.
|
List<StateInfo> |
getHolidayStates(ContextInfo contextInfo)
Gets the valid Holiday States.
|
TypeInfo |
getHolidayType(String holidayTypeKey,
ContextInfo context)
Rerieves a Holiday Type by Type key.
|
List<TypeInfo> |
getHolidayTypes(ContextInfo contextInfo)
Gets the valid Holiday types.
|
List<TypeInfo> |
getHolidayTypesForHolidayCalendarType(String holidayCalendarTypeKey,
ContextInfo contextInfo)
This method returns the valid Holiday Types for the given HolidayCalendar
Type.
|
List<AcalEventInfo> |
getImpactedAcalEvents(String acalEventId,
ContextInfo contextInfo)
Gets a list of AcalEvents impacted by a change to a given AcalEvent.
|
List<HolidayInfo> |
getImpactedHolidays(String holidayId,
ContextInfo contextInfo)
Gets a list of Holidays impacted by a change to a given Holiday.
|
List<KeyDateInfo> |
getImpactedKeyDates(String keyDateId,
ContextInfo contextInfo)
Gets a list of KeyDates impacted by a change to a given KeyDate.
|
List<TermInfo> |
getIncludedTermsInTerm(String termId,
ContextInfo context)
Retrieves a list Terms included immediately inside the given Term ordered
by Term start date.
|
Integer |
getInstructionalDaysForTerm(String termId,
ContextInfo contextInfo)
Calculates the number of instructional days for a Term.
|
KeyDateInfo |
getKeyDate(String keyDateId,
ContextInfo context)
Retrieves a single KeyDate by a KeyDate Id.
|
KeyDateAssembler |
getKeyDateAssembler() |
List<String> |
getKeyDateIdsByType(String keyDateTypeKey,
ContextInfo contextInfo)
Retrieves a list of KeyDate Ids by Type.
|
List<String> |
getKeyDateIdsByTypeForTerm(String keyDateTypeKey,
String termId,
ContextInfo contextInfo)
Retrieves a list of KeyDate Ids by Type and for a specific Term
|
List<KeyDateInfo> |
getKeyDatesByIds(List<String> keyDateIds,
ContextInfo context)
Retrieves a list KeyDates from a list of KeyDate Ids.
|
List<KeyDateInfo> |
getKeyDatesForTerm(String termId,
ContextInfo context)
Retrieves a list of KeyDates immediately mapped to a Term ordered by
date.
|
List<KeyDateInfo> |
getKeyDatesForTermByDate(String termId,
Date startDate,
Date endDate,
ContextInfo context)
Retrieves a list of KeyDates immediately mapped to a Term that fall
within the given date range inclusive ordered by date.
|
StateInfo |
getKeyDateState(String keyDateStateKey,
ContextInfo contextInfo)
Gets a KeyDate State by key.
|
List<StateInfo> |
getKeyDateStates(ContextInfo contextInfo)
Gets the valid KeyDate States.
|
TypeInfo |
getKeyDateType(String keyDateTypeKey,
ContextInfo context)
Rerieves a KeyDate Type by Type key.
|
List<TypeInfo> |
getKeyDateTypes(ContextInfo contextInfo)
Gets the valid KeyDate types.
|
List<TypeInfo> |
getKeyDateTypesForTermType(String termTypeKey,
ContextInfo context)
This method returns the valid KeyDate Types for the given Term Type.
|
StateService |
getStateService() |
TermInfo |
getTerm(String termId,
ContextInfo context)
Retrieves a single Term by a Term Id.
|
TermAssembler |
getTermAssembler() |
List<String> |
getTermIdsByType(String termTypeKey,
ContextInfo contextInfo)
Retrieves a list of Term Ids by Type.
|
List<TermInfo> |
getTermsByCode(String code,
ContextInfo contextInfo)
Gets a list of Terms by Code.
|
List<TermInfo> |
getTermsByIds(List<String> termIds,
ContextInfo context)
Retrieves a list Terms from a list of Term Ids.
|
List<TermInfo> |
getTermsForAcademicCalendar(String academicCalendarId,
ContextInfo context)
Retrieves a list of the top level Terms mapped to the given
AcademicCalendar ordered by Term start date.
|
StateInfo |
getTermState(String termStateKey,
ContextInfo context)
Gets a Term State by key.
|
List<StateInfo> |
getTermStates(ContextInfo context)
Gets the valid Term States.
|
TypeInfo |
getTermType(String termTypeKey,
ContextInfo context)
Retrieves a Term Type by Type key.
|
List<TypeInfo> |
getTermTypes(ContextInfo context)
Gets the valid Term types.
|
List<TypeInfo> |
getTermTypesForAcademicCalendarType(String academicCalendarTypeKey,
ContextInfo context)
This method returns the valid Term types for an AcademicCalendar Type.
|
List<TypeInfo> |
getTermTypesForTermType(String termTypeKey,
ContextInfo context)
This method returns the valid Term types for a Term Type.
|
TypeService |
getTypeService() |
StatusInfo |
removeTermFromAcademicCalendar(String academicCalendarKey,
String termId,
ContextInfo context)
Removes a Term from an AcademicCalendar.
|
StatusInfo |
removeTermFromTerm(String termId,
String includedTermId,
ContextInfo context)
Removes an included Term from a Term.
|
List<String> |
searchForAcademicCalendarIds(QueryByCriteria criteria,
ContextInfo contextInfo)
Searches for AcademicCalendars that meet the given search criteria.
|
List<AcademicCalendarInfo> |
searchForAcademicCalendars(QueryByCriteria criteria,
ContextInfo context)
Searches for AcademicCalendars that meet the given search criteria.
|
List<String> |
searchForAcalEventIds(QueryByCriteria criteria,
ContextInfo contextInfo)
Searches for AcalEvents that meet the given search criteria.
|
List<AcalEventInfo> |
searchForAcalEvents(QueryByCriteria criteria,
ContextInfo contextInfo)
Searches for AcalEvents that meet the given search criteria.
|
List<String> |
searchForHolidayCalendarIds(QueryByCriteria criteria,
ContextInfo contextInfo)
Searches for HolidayCalendars that meet the given search criteria.
|
List<HolidayCalendarInfo> |
searchForHolidayCalendars(QueryByCriteria criteria,
ContextInfo contextInfo)
Searches for HolidayCalendars that meet the given search criteria.
|
List<String> |
searchForHolidayIds(QueryByCriteria criteria,
ContextInfo contextInfo)
Searches for Holidays that meet the given search criteria.
|
List<HolidayInfo> |
searchForHolidays(QueryByCriteria criteria,
ContextInfo context)
Searches for Holidays that meet the given search criteria.
|
List<String> |
searchForKeyDateIds(QueryByCriteria criteria,
ContextInfo contextInfo)
Searches for KeyDates that meet the given search criteria.
|
List<KeyDateInfo> |
searchForKeyDates(QueryByCriteria criteria,
ContextInfo context)
Searches for KeyDates that meet the given search criteria.
|
List<String> |
searchForTermIds(QueryByCriteria criteria,
ContextInfo contextInfo)
Searches for Terms that meet the given search criteria.
|
List<TermInfo> |
searchForTerms(QueryByCriteria criteria,
ContextInfo context)
Searches for Terms that meet the given search criteria.
|
void |
setAcalAssembler(AcademicCalendarAssembler acalAssembler) |
void |
setAcalEventAssembler(AcalEventAssembler acalEventAssembler) |
void |
setAtpService(AtpService atpService) |
void |
setDataDictionaryService(DataDictionaryService dataDictionaryService) |
void |
setHolidayAssembler(HolidayAssembler holidayAssembler) |
void |
setHolidayCalendarAssembler(HolidayCalendarAssembler holidayCalendarAssembler) |
void |
setKeyDateAssembler(KeyDateAssembler keyDateAssembler) |
void |
setStateService(StateService stateService) |
void |
setTermAssembler(TermAssembler termAssembler) |
void |
setTypeService(TypeService typeService) |
AcademicCalendarInfo |
updateAcademicCalendar(String academicCalendarId,
AcademicCalendarInfo academicCalendarInfo,
ContextInfo context)
Updates an existing AcademicCalendar.
|
AcalEventInfo |
updateAcalEvent(String acalEventId,
AcalEventInfo acalEventInfo,
ContextInfo contextInfo)
Updates an existing AcalEvent.
|
HolidayInfo |
updateHoliday(String holidayId,
HolidayInfo holidayInfo,
ContextInfo context)
Updates an existing Holiday.
|
HolidayCalendarInfo |
updateHolidayCalendar(String holidayCalendarId,
HolidayCalendarInfo holidayCalendarInfo,
ContextInfo contextInfo)
Updates an existing Holiday Calendar.
|
KeyDateInfo |
updateKeyDate(String keyDateId,
KeyDateInfo keyDateInfo,
ContextInfo context)
Updates an existing KeyDate.
|
TermInfo |
updateTerm(String termId,
TermInfo termInfo,
ContextInfo context)
Updates an existing Term.
|
List<ValidationResultInfo> |
validateAcademicCalendar(String validationTypeKey,
String academicCalendarTypeKey,
AcademicCalendarInfo academicCalendarInfo,
ContextInfo contextInfo)
Validates an AcademicCalendar.
|
List<ValidationResultInfo> |
validateAcalEvent(String validationTypeKey,
String termId,
String acalEventTypeKey,
AcalEventInfo acalEventInfo,
ContextInfo contextInfo)
Validates an AcalEvent.
|
List<ValidationResultInfo> |
validateHoliday(String validationTypeKey,
String holidayCalendarId,
String holidayTypeKey,
HolidayInfo holidayInfo,
ContextInfo contextInfo)
Validates a Holiday.
|
List<ValidationResultInfo> |
validateHolidayCalendar(String validationTypeKey,
String holidayCalendarTypeKey,
HolidayCalendarInfo holidayCalendarInfo,
ContextInfo contextInfo)
Validates a HolidayCalendar.
|
List<ValidationResultInfo> |
validateKeyDate(String validationTypeKey,
String termId,
String keyDateTypeKey,
KeyDateInfo keyDateInfo,
ContextInfo contextInfo)
Validates a KeyDate.
|
List<ValidationResultInfo> |
validateTerm(String validationTypeKey,
String termTypeKey,
TermInfo termInfo,
ContextInfo context)
Validates a Term.
|
public AcademicCalendarServiceImpl()
public AcalEventAssembler getAcalEventAssembler()
public void setAcalEventAssembler(AcalEventAssembler acalEventAssembler)
public KeyDateAssembler getKeyDateAssembler()
public void setKeyDateAssembler(KeyDateAssembler keyDateAssembler)
public HolidayAssembler getHolidayAssembler()
public void setHolidayAssembler(HolidayAssembler holidayAssembler)
public HolidayCalendarAssembler getHolidayCalendarAssembler()
public void setHolidayCalendarAssembler(HolidayCalendarAssembler holidayCalendarAssembler)
public DataDictionaryService getDataDictionaryService()
public void setDataDictionaryService(DataDictionaryService dataDictionaryService)
public TypeService getTypeService()
public void setTypeService(TypeService typeService)
public StateService getStateService()
public void setStateService(StateService stateService)
public TypeInfo getAcademicCalendarType(String academicCalendarTypeKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
AcademicCalendarService
getAcademicCalendarType
in interface AcademicCalendarService
academicCalendarTypeKey
- the key of an AcademicCalendar Typecontext
- information containing the principalId and
locale information about the caller of
service operationDoesNotExistException
- academicCalendarTypeKey is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- academicCalendarTypeKey or contextInfo
is missing or nullOperationFailedException
- unable to complete requestpublic List<TypeInfo> getAcademicCalendarTypes(ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException
AcademicCalendarService
getAcademicCalendarTypes
in interface AcademicCalendarService
context
- information containing the principalId and locale
information about the caller of service operationInvalidParameterException
- contextInfo is not valueMissingParameterException
- contextInfo is missing or nullOperationFailedException
- unable to complete requestpublic StateInfo getAcademicCalendarState(String academicCalendarStateKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
AcademicCalendarService
getAcademicCalendarState
in interface AcademicCalendarService
academicCalendarStateKey
- a key for an AcademicCalendar Statecontext
- information containing the principalId
and locale information about the caller
of service operationDoesNotExistException
- academicCalendarStateKey is not foundInvalidParameterException
- contextInfo is invalidMissingParameterException
- academicCalendarStateKey or contextInfo
is missing or nullOperationFailedException
- unable to complete requestpublic List<StateInfo> getAcademicCalendarStates(ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getAcademicCalendarStates
in interface AcademicCalendarService
context
- information containing the principalId and locale
information about the caller of service operationInvalidParameterException
- contextInfo is not validMissingParameterException
- contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic AcademicCalendarInfo getAcademicCalendar(String academicCalendarKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getAcademicCalendar
in interface AcademicCalendarService
academicCalendarKey
- the identifier for the AcademicCalendar to be
retrievedcontext
- information containing the principalId and
locale information about the caller of service
operationDoesNotExistException
- academicCalendarIs is not foundInvalidParameterException
- contextInfo isnot validMissingParameterException
- academicCalendarId or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<AcademicCalendarInfo> getAcademicCalendarsByIds(List<String> academicCalendarKeyList, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getAcademicCalendarsByIds
in interface AcademicCalendarService
academicCalendarKeyList
- list of AcademicCalendar Idscontext
- information containing the principalId and
locale information about the caller of service
operationDoesNotExistException
- an academicCalendarId in list was not
foundInvalidParameterException
- contextInfo is not validMissingParameterException
- academicCalendarIds, an Id in
academicCalendarIds, or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<String> getAcademicCalendarIdsByType(String academicCalendarTypeKey, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getAcademicCalendarIdsByType
in interface AcademicCalendarService
academicCalendarTypeKey
- an identifier for an AcademicCalendar
Typecontext
- information containing the principalId and
locale information about the caller of
service operationInvalidParameterException
- contextInfo is not validMissingParameterException
- academicCalendarTypeKey or contextInfo
is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<AcademicCalendarInfo> getAcademicCalendarsByStartYear(Integer year, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getAcademicCalendarsByStartYear
in interface AcademicCalendarService
year
- calendar year during which the academic calendar
startscontext
- information containing the principalId and locale
information about the caller of service operationInvalidParameterException
- contextInfo i snot validMissingParameterException
- year or context is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=false) public AcademicCalendarInfo createAcademicCalendar(String academicCalendarTypeKey, AcademicCalendarInfo academicCalendarInfo, ContextInfo context) throws DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
createAcademicCalendar
in interface AcademicCalendarService
academicCalendarTypeKey
- the identifier for the Type of
AcademicCalendar to be createdacademicCalendarInfo
- the data with which to create the
AcademicCalendarcontext
- information containing the principalId and
locale information about the caller of
service operationDataValidationErrorException
- supplied data is invalidInvalidParameterException
- academicCalendarInfo or contextInfo
is not validMissingParameterException
- academicCalendarTypeKey, academicCalendarInfo,
or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=false) public AcademicCalendarInfo updateAcademicCalendar(String academicCalendarId, AcademicCalendarInfo academicCalendarInfo, ContextInfo context) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException
AcademicCalendarService
updateAcademicCalendar
in interface AcademicCalendarService
academicCalendarId
- the identifier for the AcademicCalendar to be
updatedacademicCalendarInfo
- the new data for the AcademicCalendarcontext
- information containing the principalId and
locale information about the caller of
service operationDataValidationErrorException
- supplied data is invalidDoesNotExistException
- AcademicCalendarId is not foundInvalidParameterException
- academicCalendarInfo or
contextInfo is not validMissingParameterException
- academicCalendarId,
academicCalendarInfo, or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure
occurredVersionMismatchException
- an optimistic locking failure
or the action was attempted on an out of date version@Transactional(readOnly=false) public StatusInfo deleteAcademicCalendar(String academicCalendarKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
deleteAcademicCalendar
in interface AcademicCalendarService
academicCalendarKey
- the identifier for the AcademicCalendar to be
deletedcontext
- information containing the principalId and
locale information about the caller of service
operationDoesNotExistException
- AcademicCalendarId is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- academicCalendarId or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic AcademicCalendarInfo copyAcademicCalendar(String academicCalendarId, Date startDate, Date endDate, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
copyAcademicCalendar
in interface AcademicCalendarService
academicCalendarId
- the identifier for the Academic Calendar to be
copiedstartDate
- the start of the new calendarendDate
- the end of the new calendarcontextInfo
- information containing the principalId and
locale information about the caller of service
operationDoesNotExistException
- academicCalendarId is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- academicCalendarId, startYear, endYear,
or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public HolidayCalendarInfo getHolidayCalendar(String holidayCalendarId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getHolidayCalendar
in interface AcademicCalendarService
holidayCalendarId
- the identifier for the HolidayCalendar to be
retrievedcontextInfo
- information containing the principalId and
locale information about the caller of service
operationDoesNotExistException
- holidayCalendarIs is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- holidayCalendarId or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<HolidayCalendarInfo> getHolidayCalendarsByIds(List<String> holidayCalendarIds, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getHolidayCalendarsByIds
in interface AcademicCalendarService
holidayCalendarIds
- list of HolidayCalendar Idscontext
- information containing the principalId and
locale information about the caller of service
operationDoesNotExistException
- a holidayCalendarId in list was not
foundInvalidParameterException
- contextInfo is not validMissingParameterException
- holidayCalendarIds, an Id in
holidayCalendarIds, or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=false) public HolidayCalendarInfo createHolidayCalendar(String holidayCalendarTypeKey, HolidayCalendarInfo holidayCalendarInfo, ContextInfo context) throws DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
createHolidayCalendar
in interface AcademicCalendarService
holidayCalendarTypeKey
- the identifier for the Type of
HolidayCalendar to be createdholidayCalendarInfo
- the data with which to create the
HolidayCalendarcontext
- information containing the principalId and
locale information about the caller of
service operationDataValidationErrorException
- supplied data is invalidInvalidParameterException
- holidayCalendarInfo or contextInfo
is not validMissingParameterException
- holidayCalendarTypeKey, holidayCalendarInfo,
or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=false) public HolidayCalendarInfo copyHolidayCalendar(String holidayCalendarId, Date startDate, Date endDate, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
copyHolidayCalendar
in interface AcademicCalendarService
holidayCalendarId
- the identifier for the Holiday
Calendar to be copiedstartDate
- the start of the new calendarendDate
- the end of the new calendarcontextInfo
- information containing the principalId and
locale information about the caller of service operationDoesNotExistException
- academicCalendarId is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- academicCalendarId, startYear,
endYear, or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=false) public HolidayCalendarInfo updateHolidayCalendar(String holidayCalendarId, HolidayCalendarInfo holidayCalendarInfo, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException
AcademicCalendarService
updateHolidayCalendar
in interface AcademicCalendarService
holidayCalendarId
- the identifier for the
HolidayCalendar to be updatedholidayCalendarInfo
- the new data for the HolidayCalendarcontextInfo
- information containing the principalId and
locale information about the caller of service
operationDataValidationErrorException
- supplied data is invalidDoesNotExistException
- HolidayCalendarId is not foundInvalidParameterException
- holidayCalendarInfo or contextInfo
is not validMissingParameterException
- holidayCalendarId, holidayCalendarInfo,
or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredReadOnlyException
- an attempt at changing information
designated as read onlyVersionMismatchException
- an optimistic locking failure or the
action was attempted on an out of
date version@Transactional(readOnly=false) public StatusInfo deleteHolidayCalendar(String holidayCalendarId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
deleteHolidayCalendar
in interface AcademicCalendarService
holidayCalendarId
- the identifier for the HolidayCalendar to be
deletedcontext
- information containing the principalId and
locale information about the caller of service
operationDoesNotExistException
- HolidayCalendarId is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- holidayCalendarId or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic TypeInfo getTermType(String termTypeKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getTermType
in interface AcademicCalendarService
termTypeKey
- the key of a Term Typecontext
- information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- termTypeKey is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- termTypeKey or contextInfo is missing
or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<TypeInfo> getTermTypes(ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getTermTypes
in interface AcademicCalendarService
context
- information containing the principalId and locale
information about the caller of service operationInvalidParameterException
- contextInfo is not valueMissingParameterException
- contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<TypeInfo> getTermTypesForAcademicCalendarType(String academicCalendarTypeKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getTermTypesForAcademicCalendarType
in interface AcademicCalendarService
academicCalendarTypeKey
- an identifier for an AcademicCalendar
Typecontext
- information containing the principalId and
locale information about the caller of
service operationDoesNotExistException
- academicCalendarTypeKey is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- academicCalendarTypeKey or contextInfo
is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<TypeInfo> getTermTypesForTermType(String termTypeKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getTermTypesForTermType
in interface AcademicCalendarService
termTypeKey
- a identifier for a Term Typecontext
- information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- termTypeKey is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- termTypeKey or contextInfo is missing
or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic StateInfo getTermState(String termStateKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getTermState
in interface AcademicCalendarService
termStateKey
- a key for a Term Statecontext
- information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- termStateKey is not foundInvalidParameterException
- contextInfo is invalidMissingParameterException
- termStateKey or contextInfo is missing
or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<StateInfo> getTermStates(ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getTermStates
in interface AcademicCalendarService
context
- information containing the principalId and locale
information about the caller of service operationInvalidParameterException
- contextInfo is not validMissingParameterException
- contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
public TermInfo getTerm(String termId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getTerm
in interface AcademicCalendarService
termId
- the identifier for the Term to be retrievedcontext
- information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- termIs is not foundInvalidParameterException
- contextInfo isnot validMissingParameterException
- termId or contextInfo is missing or
nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<TermInfo> getTermsByIds(List<String> termIds, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getTermsByIds
in interface AcademicCalendarService
termIds
- list of Term Idscontext
- information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- a termId in list was not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- termIds, an Id in termIds, or
contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<TermInfo> getTermsForAcademicCalendar(String academicCalendarId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getTermsForAcademicCalendar
in interface AcademicCalendarService
academicCalendarId
- an identifier for an AcademicCalendarcontext
- information containing the principalId and
locale information about the caller of service
operationDoesNotExistException
- academicCalendarId is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- academicCalendarId or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failurepublic List<TermInfo> getCurrentTerms(String processKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getCurrentTerms
in interface AcademicCalendarService
processKey
- we don't know what this meanscontext
- information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- usageKey is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- usageKey or contextInfo is missing or
nullOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failurepublic List<TermInfo> getIncludedTermsInTerm(String termId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getIncludedTermsInTerm
in interface AcademicCalendarService
termId
- an identifier for a Termcontext
- information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- termId is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- termId or contextInfo is missing or
nullOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failurepublic List<TermInfo> getContainingTerms(String termId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getContainingTerms
in interface AcademicCalendarService
termId
- an identifier for a Termcontext
- information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- termId is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- termId or contextInfo is missing or
nullOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failurepublic List<ValidationResultInfo> validateTerm(String validationTypeKey, String termTypeKey, TermInfo termInfo, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
AcademicCalendarService
validateTerm
in interface AcademicCalendarService
validationTypeKey
- the identifier for the validation TypetermTypeKey
- the identifier for the Term Type to be
validatedtermInfo
- the Term to be validatedcontext
- information containing the principalId and
locale information about the caller of service
operationDoesNotExistException
- validationTypeKey or termTypeKey is not
foundInvalidParameterException
- termInfo or contextInfo is not validMissingParameterException
- validationTypeKey, termTypeKey,
termInfo, or contextInfo is missing or
nullOperationFailedException
- unable to complete request@Transactional(readOnly=false) public TermInfo createTerm(String termTypeKey, TermInfo termInfo, ContextInfo context) throws DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
createTerm
in interface AcademicCalendarService
termTypeKey
- the identifier for the Type of Term to be createdtermInfo
- the data with which to create the Termcontext
- information containing the principalId and locale
information about the caller of service operationDataValidationErrorException
- supplied data is invalidInvalidParameterException
- termInfo or contextInfo is not
validMissingParameterException
- termTypeKey, termInfo, or
contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=false) public TermInfo updateTerm(String termId, TermInfo termInfo, ContextInfo context) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException
AcademicCalendarService
updateTerm
in interface AcademicCalendarService
termId
- the identifier for the Term to be updatedtermInfo
- the new data for the Termcontext
- information containing the principalId and locale
information about the caller of service operationDataValidationErrorException
- supplied data is invalidDoesNotExistException
- TermId is not foundInvalidParameterException
- termInfo or contextInfo is not
validMissingParameterException
- termId, termInfo, or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredVersionMismatchException
- an optimistic locking failure or the
action was attempted on an out of
date version@Transactional(readOnly=false) public StatusInfo deleteTerm(String termId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
deleteTerm
in interface AcademicCalendarService
termId
- the identifier for the Term to be deletedcontext
- information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- TermId is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- termId or contextInfo is missing or
nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=false) public StatusInfo addTermToAcademicCalendar(String academicCalendarId, String termId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, AlreadyExistsException
AcademicCalendarService
addTermToAcademicCalendar
in interface AcademicCalendarService
academicCalendarId
- an identifier for an AcademicCalendartermId
- the Id of Term to be addedcontext
- information containing the principalId and
locale information about the caller of service
operationDoesNotExistException
- academicCalendarId or termId is not
foundInvalidParameterException
- contextInfo is not validMissingParameterException
- academicCalendarId, termId, or
contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureAlreadyExistsException
- The Term is already mapped to the
AcademicCalendar@Transactional(readOnly=false) public StatusInfo removeTermFromAcademicCalendar(String academicCalendarKey, String termId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
removeTermFromAcademicCalendar
in interface AcademicCalendarService
academicCalendarKey
- an identifier for an AcademicCalendartermId
- the Id of Term to be unmappedcontext
- information containing the principalId and
locale information about the caller of service
operationDoesNotExistException
- termId or academicCalendarId is not
found or termId is not mapped to
academicCalendarIdInvalidParameterException
- contextInfo is not validMissingParameterException
- academicCalendarId, termId, or
contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure@Transactional(readOnly=false) public StatusInfo addTermToTerm(String termId, String includedTermId, ContextInfo context) throws AlreadyExistsException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
addTermToTerm
in interface AcademicCalendarService
termId
- an identifier for a TermincludedTermId
- the identifier for the Term to be includedcontext
- information containing the principalId and locale
information about the caller of service operationAlreadyExistsException
- includedTermId is already mapped to
termIdDoesNotExistException
- temId or includedTermId is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- temId, includedTermId, or contextInfo
is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure@Transactional(readOnly=false) public StatusInfo removeTermFromTerm(String termId, String includedTermId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
removeTermFromTerm
in interface AcademicCalendarService
termId
- an identifier for a TermincludedTermId
- the identifier for the Term to be removedcontext
- information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- termId or includedTermId is not found
or includedTermId is not mapped to
termIdInvalidParameterException
- contextInfo is not validMissingParameterException
- termId, includedTermId, or contextInfo
is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failurepublic TypeInfo getKeyDateType(String keyDateTypeKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
AcademicCalendarService
getKeyDateType
in interface AcademicCalendarService
keyDateTypeKey
- the key of a keyDate Typecontext
- information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- keyDateTypeKey is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- keyDateTypeKey or contextInfo is
missing or nullOperationFailedException
- unable to complete requestpublic List<TypeInfo> getKeyDateTypesForTermType(String termTypeKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
AcademicCalendarService
getKeyDateTypesForTermType
in interface AcademicCalendarService
termTypeKey
- identifier for a Term Typecontext
- information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- termTypeKey not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- termTypeKey or contextInfo is missing
or nullOperationFailedException
- unable to complete requestpublic KeyDateInfo getKeyDate(String keyDateId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getKeyDate
in interface AcademicCalendarService
keyDateId
- the identifier for the KeyDate to be retrievedcontext
- information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- keyDateIs is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- keyDateId or contextInfo is missing or
nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<KeyDateInfo> getKeyDatesByIds(List<String> keyDateIds, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getKeyDatesByIds
in interface AcademicCalendarService
keyDateIds
- list of KeyDate Idscontext
- information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- a keyDateId in list was not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- keyDateIds, an Id in keyDateIds, or
contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<KeyDateInfo> getKeyDatesForTerm(String termId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getKeyDatesForTerm
in interface AcademicCalendarService
termId
- an identifier for a termcontext
- information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- termId is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- termId or contextInfo is missing or
nullOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failurepublic List<KeyDateInfo> getKeyDatesForTermByDate(String termId, Date startDate, Date endDate, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getKeyDatesForTermByDate
in interface AcademicCalendarService
termId
- an identifier for a TermstartDate
- the start of date rangeendDate
- the end of date rangecontext
- information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- termId is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- termId, startDate, endDate, or
contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failurepublic List<KeyDateInfo> getImpactedKeyDates(String keyDateId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getImpactedKeyDates
in interface AcademicCalendarService
keyDateId
- an identifier for a KeyDatecontextInfo
- information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- keyDateId is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- keyDateId or contextInfo is missing or
nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=false) public KeyDateInfo updateKeyDate(String keyDateId, KeyDateInfo keyDateInfo, ContextInfo context) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException
AcademicCalendarService
updateKeyDate
in interface AcademicCalendarService
keyDateId
- the identifier for the KeyDate to be updatedkeyDateInfo
- the new data for the Key`Datecontext
- information containing the principalId and locale
information about the caller of service operationDataValidationErrorException
- supplied data is invalidDoesNotExistException
- KeyDateId is not foundInvalidParameterException
- keyDateInfo or contextInfo is not
validMissingParameterException
- keyDateId, keyDateInfo, or
contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredVersionMismatchException
- an optimistic locking failure or the
action was attempted on an out of
date version@Transactional(readOnly=false) public StatusInfo deleteKeyDate(String keyDateId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
deleteKeyDate
in interface AcademicCalendarService
keyDateId
- the identifier for the KeyDate to be deletedcontext
- information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- KeyDateId is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- keyDateId or contextInfo is missing or
nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=false) public KeyDateInfo calculateKeyDate(String keyDateId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
calculateKeyDate
in interface AcademicCalendarService
keyDateId
- an identifier for a KeyDatecontextInfo
- information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- keyDateId is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- keyDateId or contextInfo is missing or
nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic TypeInfo getHolidayType(String holidayTypeKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getHolidayType
in interface AcademicCalendarService
holidayTypeKey
- the key of a holiday Typecontext
- information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- holidayTypeKey is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- holidayTypeKey or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=false) public HolidayInfo updateHoliday(String holidayId, HolidayInfo holidayInfo, ContextInfo context) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException
AcademicCalendarService
updateHoliday
in interface AcademicCalendarService
holidayId
- the identifier for the Holiday to be updatedholidayInfo
- the new data for the Holidaycontext
- information containing the principalId and locale
information about the caller of service operationDataValidationErrorException
- supplied data is invalidDoesNotExistException
- HolidayId is not foundInvalidParameterException
- holidayInfo or contextInfo is not
validMissingParameterException
- holidayId, holidayInfo, or
contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredVersionMismatchException
- an optimistic locking failure or the
action was attempted on an out of
date version@Transactional(readOnly=false) public StatusInfo deleteHoliday(String holidayId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
deleteHoliday
in interface AcademicCalendarService
holidayId
- the identifier for the Holiday to be deletedcontext
- information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- HolidayId is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- holidayId or contextInfo is missing or
nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=false) public HolidayInfo calculateHoliday(String holidayId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
calculateHoliday
in interface AcademicCalendarService
holidayId
- an identifier for a HolidaycontextInfo
- information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- holidayId is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- holidayId or contextInfo is missing or
nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic AtpService getAtpService()
public void setAtpService(AtpService atpService)
public AcademicCalendarAssembler getAcalAssembler()
public void setAcalAssembler(AcademicCalendarAssembler acalAssembler)
public TermAssembler getTermAssembler()
public void setTermAssembler(TermAssembler termAssembler)
public List<AcademicCalendarInfo> searchForAcademicCalendars(QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
searchForAcademicCalendars
in interface AcademicCalendarService
criteria
- the search criteriacontext
- information containing the principalId and locale
information about the caller of service operationInvalidParameterException
- criteria or contextInfo is not validMissingParameterException
- criteria or contextInfo is missing or
nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<TermInfo> searchForTerms(QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
searchForTerms
in interface AcademicCalendarService
criteria
- the search criteriacontext
- information containing the principalId and locale
information about the caller of service operationInvalidParameterException
- criteria or contextInfo is not validMissingParameterException
- criteria or contextInfo is missing or
nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<KeyDateInfo> searchForKeyDates(QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
searchForKeyDates
in interface AcademicCalendarService
criteria
- the search criteriacontext
- information containing the principalId and locale
information about the caller of service operationInvalidParameterException
- criteria or contextInfo is not validMissingParameterException
- criteria or contextInfo is missing or
nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<HolidayInfo> searchForHolidays(QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
searchForHolidays
in interface AcademicCalendarService
criteria
- the search criteriacontext
- information containing the principalId and locale
information about the caller of service operationInvalidParameterException
- criteria or contextInfo is not validMissingParameterException
- criteria or contextInfo is missing or
nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<String> searchForAcademicCalendarIds(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
searchForAcademicCalendarIds
in interface AcademicCalendarService
criteria
- the search criteriacontextInfo
- information containing the principalId and locale
information about the caller of service operationInvalidParameterException
- criteria or contextInfo is not validMissingParameterException
- criteria or contextInfo is missing or
nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<ValidationResultInfo> validateAcademicCalendar(String validationTypeKey, String academicCalendarTypeKey, AcademicCalendarInfo academicCalendarInfo, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
validateAcademicCalendar
in interface AcademicCalendarService
validationTypeKey
- the identifier for the validation TypeacademicCalendarTypeKey
- the identifier for the AcademicCalendar
Type to be validatedacademicCalendarInfo
- the AcademicCalendar to be validatedcontextInfo
- information containing the principalId and
locale information about the caller of
service operationDoesNotExistException
- validationTypeKey or academicCalendarTypeKey
is not foundInvalidParameterException
- academicCalendarInfo or contextInfo is
not validMissingParameterException
- validationTypeKey, academicCalendarTypeKey,
academicCalendarInfo, or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic TypeInfo getHolidayCalendarType(String holidayCalendarTypeKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
AcademicCalendarService
getHolidayCalendarType
in interface AcademicCalendarService
holidayCalendarTypeKey
- the key of a HolidayCalendar TypecontextInfo
- information containing the principalId and
locale information about the caller of
service operationDoesNotExistException
- holidayCalendarTypeKey is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- holidayCalendarTypeKey or contextInfo
is missing or nullOperationFailedException
- unable to complete requestpublic List<TypeInfo> getHolidayCalendarTypes(ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException
AcademicCalendarService
getHolidayCalendarTypes
in interface AcademicCalendarService
contextInfo
- information containing the principalId and locale
information about the caller of service operationInvalidParameterException
- contextInfo is not valueMissingParameterException
- contextInfo is missing or nullOperationFailedException
- unable to complete requestpublic StateInfo getHolidayCalendarState(String holidayCalendarStateKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, PermissionDeniedException, OperationFailedException
AcademicCalendarService
getHolidayCalendarState
in interface AcademicCalendarService
holidayCalendarStateKey
- a key for a HolidayCalendar StatecontextInfo
- information containing the principalId and
locale information about the caller of
service operationDoesNotExistException
- holidayCalendarStateKey is not foundInvalidParameterException
- contextInfo is invalidMissingParameterException
- holidayCalendarStateKey or contextInfo
is missing or nullPermissionDeniedException
- an authorization failure occurredOperationFailedException
- unable to complete requestpublic List<StateInfo> getHolidayCalendarStates(ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getHolidayCalendarStates
in interface AcademicCalendarService
contextInfo
- information containing the principalId and locale
information about the caller of service operationInvalidParameterException
- contextInfo is not validMissingParameterException
- contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<String> getHolidayCalendarIdsByType(String holidayCalendarTypeKey, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getHolidayCalendarIdsByType
in interface AcademicCalendarService
holidayCalendarTypeKey
- an identifier for an HolidayCalendar TypecontextInfo
- information containing the principalId and
locale information about the caller of
service operationInvalidParameterException
- contextInfo is not validMissingParameterException
- holidayCalendarTypeKey or contextInfo
is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<HolidayCalendarInfo> getHolidayCalendarsByStartYear(Integer year, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getHolidayCalendarsByStartYear
in interface AcademicCalendarService
year
- calendar year during which the holiday calendar
startscontextInfo
- information containing the principalId and locale
information about the caller of service operationInvalidParameterException
- contextInfo i snot validMissingParameterException
- year or context is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<String> searchForHolidayCalendarIds(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
searchForHolidayCalendarIds
in interface AcademicCalendarService
criteria
- the search criteriacontextInfo
- information containing the principalId and locale
information about the caller of service operationInvalidParameterException
- criteria or contextInfo is not validMissingParameterException
- criteria or contextInfo is missing or
nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<HolidayCalendarInfo> searchForHolidayCalendars(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
searchForHolidayCalendars
in interface AcademicCalendarService
criteria
- the search criteriacontextInfo
- information containing the principalId and locale
information about the caller of service operationInvalidParameterException
- criteria or contextInfo is not validMissingParameterException
- criteria or contextInfo is missing or
nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<ValidationResultInfo> validateHolidayCalendar(String validationTypeKey, String holidayCalendarTypeKey, HolidayCalendarInfo holidayCalendarInfo, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
validateHolidayCalendar
in interface AcademicCalendarService
validationTypeKey
- the identifier for the validation TypeholidayCalendarTypeKey
- the identifier for the HolidayCalendar Type
to be validatedholidayCalendarInfo
- the HolidayCalendar to be validatedcontextInfo
- information containing the principalId and
locale information about the caller of
service operationDoesNotExistException
- validationTypeKey or holidayCalendarTypeKey
is not foundInvalidParameterException
- holidayCalendarInfo or contextInfo is
not validMissingParameterException
- validationTypeKey, holidayCalendarTypeKey,
holidayCalendarInfo, or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<String> getTermIdsByType(String termTypeKey, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getTermIdsByType
in interface AcademicCalendarService
termTypeKey
- an identifier for a Term TypecontextInfo
- information containing the principalId and locale
information about the caller of service operationInvalidParameterException
- contextInfo is not validMissingParameterException
- termTypeKey or contextInfo is missing
or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<TermInfo> getTermsByCode(String code, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getTermsByCode
in interface AcademicCalendarService
code
- a Term CodecontextInfo
- information containing the principalId and locale
information about the caller of service operationInvalidParameterException
- contextInfo is not validMissingParameterException
- code or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<String> searchForTermIds(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
searchForTermIds
in interface AcademicCalendarService
criteria
- the search criteriacontextInfo
- information containing the principalId and locale
information about the caller of service operationInvalidParameterException
- criteria or contextInfo is not validMissingParameterException
- criteria or contextInfo is missing or
nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<TypeInfo> getKeyDateTypes(ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException
AcademicCalendarService
getKeyDateTypes
in interface AcademicCalendarService
contextInfo
- information containing the principalId and locale
information about the caller of service operationInvalidParameterException
- contextInfo is not valueMissingParameterException
- contextInfo is missing or nullOperationFailedException
- unable to complete requestpublic StateInfo getKeyDateState(String keyDateStateKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
AcademicCalendarService
getKeyDateState
in interface AcademicCalendarService
keyDateStateKey
- a key for a keyDate StatecontextInfo
- information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- keyDateStateKey is not foundInvalidParameterException
- contextInfo is invalidMissingParameterException
- keyDateStateKey or contextInfo is
missing or nullOperationFailedException
- unable to complete requestpublic List<StateInfo> getKeyDateStates(ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException
AcademicCalendarService
getKeyDateStates
in interface AcademicCalendarService
contextInfo
- information containing the principalId and locale
information about the caller of service operationInvalidParameterException
- contextInfo is not validMissingParameterException
- contextInfo is missing or nullOperationFailedException
- unable to complete requestpublic List<String> getKeyDateIdsByType(String keyDateTypeKey, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getKeyDateIdsByType
in interface AcademicCalendarService
keyDateTypeKey
- an identifier for a KeyDate TypecontextInfo
- information containing the principalId and locale
information about the caller of service operationInvalidParameterException
- contextInfo is not validMissingParameterException
- keyDateTypeKey or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<String> getKeyDateIdsByTypeForTerm(String keyDateTypeKey, String termId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getKeyDateIdsByTypeForTerm
in interface AcademicCalendarService
keyDateTypeKey
- an identifier for a KeyDate TypetermId
- an identifier for a termcontextInfo
- information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- a keyDateTypeKey is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- keyDateTypeKey or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<String> searchForKeyDateIds(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
searchForKeyDateIds
in interface AcademicCalendarService
criteria
- the search criteriacontextInfo
- information containing the principalId and locale
information about the caller of service operationInvalidParameterException
- criteria or contextInfo is not validMissingParameterException
- criteria or contextInfo is missing or
nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<ValidationResultInfo> validateKeyDate(String validationTypeKey, String termId, String keyDateTypeKey, KeyDateInfo keyDateInfo, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
validateKeyDate
in interface AcademicCalendarService
validationTypeKey
- the identifier for the validation TypetermId
- the identifier for the TermkeyDateTypeKey
- the identifier for the KeyDate Type to be
validatedkeyDateInfo
- the KeyDate to be validatedcontextInfo
- information containing the principalId and
locale information about the caller of service
operationDoesNotExistException
- validationTypeKey, termId, or
keyDateTypeKey is not foundInvalidParameterException
- keyDateInfo or contextInfo is not
validMissingParameterException
- validationTypeKey, termId, keyDateTypeKey,
keyDateInfo, or contextInfo is missing
or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=false) public KeyDateInfo createKeyDate(String termId, String keyDateTypeKey, KeyDateInfo keyDateInfo, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException
AcademicCalendarService
createKeyDate
in interface AcademicCalendarService
termId
- the identifier for the Term in which to create the
KeyDatekeyDateTypeKey
- the identifier for the Type of KeyDate to be
createdkeyDateInfo
- the data with which to create the KeyDatecontextInfo
- information containing the principalId and locale
information about the caller of service operationDataValidationErrorException
- supplied data is invalidDoesNotExistException
- termId is not found or keyDateTypeKey
does not exist or is not supportedInvalidParameterException
- keyDateInfo or contextInfo is not
validMissingParameterException
- termId, keyDateTypeKey, keyDateInfo,
or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredReadOnlyException
- an attempt at supplying information
designated as read onlypublic TypeInfo getAcalEventType(String acalEventTypeKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
AcademicCalendarService
getAcalEventType
in interface AcademicCalendarService
acalEventTypeKey
- the key of a acalEvent TypecontextInfo
- information containing the principalId and locale
information about the caller of service
operationDoesNotExistException
- acalEventTypeKey is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- acalEventTypeKey or contextInfo is
missing or nullOperationFailedException
- unable to complete requestpublic List<TypeInfo> getAcalEventTypes(ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getAcalEventTypes
in interface AcademicCalendarService
contextInfo
- information containing the principalId and locale
information about the caller of service operationInvalidParameterException
- contextInfo is not valueMissingParameterException
- contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<TypeInfo> getAcalEventTypesForAcademicCalendarType(String academicCalendarTypeKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
AcademicCalendarService
getAcalEventTypesForAcademicCalendarType
in interface AcademicCalendarService
academicCalendarTypeKey
- identifier for an AcademicCalendar TypecontextInfo
- information containing the principalId and
locale information about the caller of
service operationDoesNotExistException
- academicCalendarTypeKey not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- academicCalendarTypeKey or contextInfo
is missing or nullOperationFailedException
- unable to complete requestpublic StateInfo getAcalEventState(String acalEventStateKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
AcademicCalendarService
getAcalEventState
in interface AcademicCalendarService
acalEventStateKey
- a key for a acalEvent StatecontextInfo
- information containing the principalId and
locale information about the caller of service
operationDoesNotExistException
- acalEventStateKey is not foundInvalidParameterException
- contextInfo is invalidMissingParameterException
- acalEventStateKey or contextInfo is
missing or nullOperationFailedException
- unable to complete requestpublic List<StateInfo> getAcalEventStates(ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException
AcademicCalendarService
getAcalEventStates
in interface AcademicCalendarService
contextInfo
- information containing the principalId and locale
information about the caller of service operationInvalidParameterException
- contextInfo is not validMissingParameterException
- contextInfo is missing or nullOperationFailedException
- unable to complete requestpublic AcalEventInfo getAcalEvent(String acalEventId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getAcalEvent
in interface AcademicCalendarService
acalEventId
- the identifier for the AcalEvent to be retrievedcontextInfo
- information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- acalEventIs is not foundInvalidParameterException
- contextInfo isnot validMissingParameterException
- acalEventKey or contextInfo is missing
or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<AcalEventInfo> getAcalEventsByIds(List<String> acalEventIds, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getAcalEventsByIds
in interface AcademicCalendarService
acalEventIds
- list of AcalEvent IdscontextInfo
- information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- an acalEventId in list was not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- acalEventIds, an Id in acalEventIds, or
contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<String> getAcalEventIdsByType(String acalEventTypeKey, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getAcalEventIdsByType
in interface AcademicCalendarService
acalEventTypeKey
- an identifier for an AcalEvent TypecontextInfo
- information containing the principalId and locale
information about the caller of service
operationInvalidParameterException
- contextInfo is not validMissingParameterException
- acalEventTypeKey or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<AcalEventInfo> getAcalEventsForAcademicCalendar(String academicCalendarId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getAcalEventsForAcademicCalendar
in interface AcademicCalendarService
academicCalendarId
- an identifier for an AcademicCalendarcontextInfo
- information containing the principalId and
locale information about the caller of service
operationDoesNotExistException
- academicCalendarId is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- academicCalendarId or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failurepublic List<AcalEventInfo> getAcalEventsForAcademicCalendarByDate(String academicCalendarId, Date startDate, Date endDate, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getAcalEventsForAcademicCalendarByDate
in interface AcademicCalendarService
academicCalendarId
- an identifier for an AcademicCalendarstartDate
- the start of date rangeendDate
- the end of date rangecontextInfo
- information containing the principalId and
locale information about the caller of service
operationDoesNotExistException
- academicCalendarId is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- academicCalendarId, startDate, endDate,
or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failurepublic List<AcalEventInfo> getImpactedAcalEvents(String acalEventId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getImpactedAcalEvents
in interface AcademicCalendarService
acalEventId
- an identifier for an AcalEventcontextInfo
- information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- keyDateId is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- acalEventId or contextInfo is missing
or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<String> searchForAcalEventIds(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
searchForAcalEventIds
in interface AcademicCalendarService
criteria
- the search criteriacontextInfo
- information containing the principalId and locale
information about the caller of service operationInvalidParameterException
- criteria or contextInfo is not validMissingParameterException
- criteria or contextInfo is missing or
nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<AcalEventInfo> searchForAcalEvents(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
searchForAcalEvents
in interface AcademicCalendarService
criteria
- the search criteriacontextInfo
- information containing the principalId and locale
information about the caller of service operationInvalidParameterException
- criteria or contextInfo is not validMissingParameterException
- criteria or contextInfo is missing or
nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<ValidationResultInfo> validateAcalEvent(String validationTypeKey, String termId, String acalEventTypeKey, AcalEventInfo acalEventInfo, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
validateAcalEvent
in interface AcademicCalendarService
validationTypeKey
- the identifier for the validation TypetermId
- the identifier for the TermacalEventTypeKey
- the identifier for the AcalEvent Type to be
validatedacalEventInfo
- the AcalEvent to be validatedcontextInfo
- information containing the principalId and
locale information about the caller of service
operationDoesNotExistException
- validationTypeKey, termId, or
acalEventTypeKey is not foundInvalidParameterException
- acalEventInfo or contextInfo is not
validMissingParameterException
- validationTypeKey, termId, acalEventTypeKey,
acalEventInfo, or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=false) public AcalEventInfo createAcalEvent(String academicCalendarId, String acalEventTypeKey, AcalEventInfo acalEventInfo, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException
AcademicCalendarService
createAcalEvent
in interface AcademicCalendarService
academicCalendarId
- the identifier for the AcademicCalendar in
which to create the AcalEventacalEventTypeKey
- the identifier for the Type of AcalEvent to be
createdacalEventInfo
- the data with which to create the AcalEventcontextInfo
- information containing the principalId and
locale information about the caller of service
operationDataValidationErrorException
- supplied data is invalidDoesNotExistException
- academicCalendarId is not found or
acalEventTypeKey does not exist or
is not supportedInvalidParameterException
- acalEventInfo or contextInfo is not
validMissingParameterException
- academicCalendarId, acalEventTypeKey,
acalEventInfo, or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredReadOnlyException
- an attempt at supplying information
designated as read only@Transactional(readOnly=false) public AcalEventInfo updateAcalEvent(String acalEventId, AcalEventInfo acalEventInfo, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException
AcademicCalendarService
updateAcalEvent
in interface AcademicCalendarService
acalEventId
- the identifier for the AcalEvent to be updatedacalEventInfo
- the new data for the AcalEventcontextInfo
- information containing the principalId and locale
information about the caller of service operationDataValidationErrorException
- supplied data is invalidDoesNotExistException
- AcalEventId is not foundInvalidParameterException
- acalEventInfo or contextInfo is not
validMissingParameterException
- acalEventId, acalEventInfo, or
contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredReadOnlyException
- an attempt at changing information
deisgnated as read onlyVersionMismatchException
- an optimistic locking failure or the
action was attempted on an out of
date version@Transactional(readOnly=false) public StatusInfo deleteAcalEvent(String acalEventId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
deleteAcalEvent
in interface AcademicCalendarService
acalEventId
- the identifier for the AcalEvent to be deletedcontextInfo
- information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- AcalEventId is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- acalEventId or contextInfo is missing
or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=false) public AcalEventInfo calculateAcalEvent(String acalEventId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
calculateAcalEvent
in interface AcademicCalendarService
acalEventId
- an identifier for a AcalEventcontextInfo
- information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- acalEventId is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- acalEventId or contextInfo is missing
or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<TypeInfo> getHolidayTypes(ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getHolidayTypes
in interface AcademicCalendarService
contextInfo
- information containing the principalId and locale
information about the caller of service operationInvalidParameterException
- contextInfo is not valueMissingParameterException
- contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<TypeInfo> getHolidayTypesForHolidayCalendarType(String holidayCalendarTypeKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
AcademicCalendarService
getHolidayTypesForHolidayCalendarType
in interface AcademicCalendarService
holidayCalendarTypeKey
- identifier for a HolidayCalendar TypecontextInfo
- information containing the principalId and
locale information about the caller of
service operationDoesNotExistException
- holidayCalendarTypeKey not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- holidayCalendarTypeKey or contextInfo
is missing or nullOperationFailedException
- unable to complete requestpublic StateInfo getHolidayState(String holidayStateKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getHolidayState
in interface AcademicCalendarService
holidayStateKey
- a key for a holiday StatecontextInfo
- information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- holidayStateKey is not foundInvalidParameterException
- contextInfo is invalidMissingParameterException
- holidayStateKey or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<StateInfo> getHolidayStates(ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getHolidayStates
in interface AcademicCalendarService
contextInfo
- information containing the principalId and locale
information about the caller of service operationInvalidParameterException
- contextInfo is not validMissingParameterException
- contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic HolidayInfo getHoliday(String holidayId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getHoliday
in interface AcademicCalendarService
holidayId
- the identifier for the Holiday to be retrievedcontextInfo
- information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- holidayIs is not foundInvalidParameterException
- contextInfo isnot validMissingParameterException
- holidayId or contextInfo is missing or
nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<HolidayInfo> getHolidaysByIds(List<String> holidayIds, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getHolidaysByIds
in interface AcademicCalendarService
holidayIds
- list of Holiday IdscontextInfo
- information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- a holidayId in list was not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- holidayIds, an Id in holidayIds, or
contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<String> getHolidayIdsByType(String holidayTypeKey, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getHolidayIdsByType
in interface AcademicCalendarService
holidayTypeKey
- an identifier for an Holiday TypecontextInfo
- information containing the principalId and locale
information about the caller of service operationInvalidParameterException
- contextInfo is not validMissingParameterException
- holidayTypeKey or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<HolidayInfo> getHolidaysForHolidayCalendar(String holidayCalendarId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getHolidaysForHolidayCalendar
in interface AcademicCalendarService
holidayCalendarId
- an identifier for a HolidayCalendarcontextInfo
- information containing the principalId and
locale information about the caller of service
operationDoesNotExistException
- holidayCalendarId is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- holidayCalendarId or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failurepublic List<HolidayInfo> getHolidaysForHolidayCalendarByDate(String holidayCalendarId, Date startDate, Date endDate, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getHolidaysForHolidayCalendarByDate
in interface AcademicCalendarService
holidayCalendarId
- an identifier for a HolidayCalendarstartDate
- the start of date rangeendDate
- the end of date rangecontextInfo
- information containing the principalId and
locale information about the caller of service
operationDoesNotExistException
- holidayCalendarId is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- holidayCalendarId, startDate, endDate,
or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failurepublic List<HolidayInfo> getImpactedHolidays(String holidayId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getImpactedHolidays
in interface AcademicCalendarService
holidayId
- an identifier for a HolidaycontextInfo
- information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- keyDateId is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- holidayId or contextInfo is missing or
nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<String> searchForHolidayIds(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
searchForHolidayIds
in interface AcademicCalendarService
criteria
- the search criteriacontextInfo
- information containing the principalId and locale
information about the caller of service operationInvalidParameterException
- criteria or contextInfo is not validMissingParameterException
- criteria or contextInfo is missing or
nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<ValidationResultInfo> validateHoliday(String validationTypeKey, String holidayCalendarId, String holidayTypeKey, HolidayInfo holidayInfo, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
validateHoliday
in interface AcademicCalendarService
validationTypeKey
- the identifier for the validation TypeholidayCalendarId
- the identifier for the HolidayCalendarholidayTypeKey
- the identifier for the Holiday Type to be
validatedholidayInfo
- the Holiday to be validatedcontextInfo
- information containing the principalId and
locale information about the caller of service
operationDoesNotExistException
- validationTypeKey, holidayCalendarId,
or holidayTypeKey is not foundInvalidParameterException
- holidayInfo or contextInfo is not
validMissingParameterException
- validationTypeKey, holidayCalendarId,
holidayTypeKey, holidayInfo, or
contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=false) public HolidayInfo createHoliday(String holidayCalendarId, String holidayTypeKey, HolidayInfo holidayInfo, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException
AcademicCalendarService
createHoliday
in interface AcademicCalendarService
holidayCalendarId
- the identifier for the HolidayCalendar in which
to create the HolidayholidayTypeKey
- the identifier for the Type of Holiday to be
createdholidayInfo
- the data with which to create the HolidaycontextInfo
- information containing the principalId and
locale information about the caller of service
operationDataValidationErrorException
- supplied data is invalidDoesNotExistException
- holidayCalendarId is not found or
holidayTypeKey does not exist or is
not supportedInvalidParameterException
- holidayInfo or contextInfo is not
validMissingParameterException
- holidayCalendarId, holidayTypeKey,
holidayInfo, or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredReadOnlyException
- an attempt at supplying information
designated as read onlypublic String getAcademicCalendarData(String academicCalendarId, String calendarDataFormatTypeKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getAcademicCalendarData
in interface AcademicCalendarService
academicCalendarId
- the key of the AcademicCalendar to be
retrievedcalendarDataFormatTypeKey
- the type of formatDoesNotExistException
- the AcademicCalendar or format type
does not existInvalidParameterException
- One or more parameters invalidMissingParameterException
- One or more parameters missingOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failurepublic Integer getInstructionalDaysForTerm(String termId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getInstructionalDaysForTerm
in interface AcademicCalendarService
termId
- an identifier for a TermcontextInfo
- information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- termId is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- termId or contextInfo is missing or
nullOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failurepublic List<AcademicCalendarInfo> getAcademicCalendarsForTerm(String termId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, DoesNotExistException
AcademicCalendarService
getAcademicCalendarsForTerm
in interface AcademicCalendarService
termId
- term identifiercontextInfo
- information containing the principalId and locale
information about the caller of service operationInvalidParameterException
- contextInfo is not validMissingParameterException
- termId or contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredDoesNotExistException
- termId is not foundpublic List<HolidayInfo> getHolidaysByDateForAcademicCalendar(String academicCalendarId, Date startDate, Date endDate, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
AcademicCalendarService
getHolidaysByDateForAcademicCalendar
in interface AcademicCalendarService
academicCalendarId
- an identifier for an Academic CalendarstartDate
- the start of date rangeendDate
- the end of date rangecontextInfo
- information containing the principalId and
locale information about the caller of service
operationDoesNotExistException
- academicCalendarId is not foundInvalidParameterException
- If the academicCalendarId is invalid or
the dates are out of the rangeMissingParameterException
- Missing dates or academic Calendar IdOperationFailedException
- unable to complete request for any
reasonPermissionDeniedException
- authorization failureCopyright © 2004-2013 The Kuali Foundation. All Rights Reserved.