public class CourseOfferingServiceImpl extends Object implements CourseOfferingService
Constructor and Description |
---|
CourseOfferingServiceImpl() |
Modifier and Type | Method and Description |
---|---|
StatusInfo |
addSeatPoolDefinitionToActivityOffering(String seatPoolDefinitionId,
String activityOfferingId,
ContextInfo contextInfo)
Add a SeatPoolDefinition to an ActivityOffering
|
protected QueryByCriteria |
buildScheduleRequestSetQBC(String luiId)
Because the ScheduleRequestService does not have an "exists" check
we need to get the schedule request sets via a queryByCriteria search
method.
|
Float |
calculateInClassContactHoursForTerm(String activityOfferingId,
ContextInfo context)
When/for how long does the offering meet in class during the term.
|
Float |
calculateOutofClassContactHoursForTerm(String activityOfferingId,
ContextInfo context)
When/for how long does the offering meet out of class during the term.
|
Float |
calculateTotalContactHoursForTerm(String activityOfferingId,
ContextInfo context)
When/for how long does the offering meet in total during the term.
|
StatusInfo |
changeActivityOfferingClusterState(String activityOfferingClusterId,
String nextStateKey,
ContextInfo contextInfo)
Changes the state of an existing ActivityOfferingCluster to another state
provided that it is valid to do so.
|
StatusInfo |
changeActivityOfferingState(String activityOfferingId,
String nextStateKey,
ContextInfo contextInfo)
Changes the state of an existing ActivityOffering to another state
provided that it is valid to do so.
|
StatusInfo |
changeCourseOfferingState(String courseOfferingId,
String nextStateKey,
ContextInfo contextInfo)
Changes the state of an existing CourseOffering into another state
provided that it is valid to do so.
|
StatusInfo |
changeFormatOfferingState(String formatOfferingId,
String nextStateKey,
ContextInfo contextInfo)
Changes the state of an existing FormatOffering to another state provided
that it is valid to do so.
|
StatusInfo |
changeRegistrationGroupState(String registrationGroupId,
String nextStateKey,
ContextInfo contextInfo)
Changes the state of an existing RegistrationGroup to another state
provided that it is valid to do so.
|
StatusInfo |
changeSeatPoolDefinitionState(String seatPoolDefinitionId,
String nextStateKey,
ContextInfo contextInfo)
Changes the state of an existing SeatPoolDefinition to another state
provided that it is valid to do so.
|
ActivityOfferingInfo |
copyActivityOffering(String activityOfferingId,
ContextInfo context)
Creates a new Activity Offering from another activity offering, the
generated activity offering is the same format offering, type and
canonical activity as the source activity fofering
|
ActivityOfferingInfo |
createActivityOffering(String formatOfferingId,
String activityId,
String activityOfferingTypeKey,
ActivityOfferingInfo aoInfo,
ContextInfo context)
Creates a new Activity Offering for a format offering.
|
ActivityOfferingClusterInfo |
createActivityOfferingCluster(String formatOfferingId,
String activityOfferingClusterTypeKey,
ActivityOfferingClusterInfo activityOfferingClusterInfo,
ContextInfo contextInfo)
Creates a new Activity Offering Cluster from the given Format Offering
|
CourseOfferingInfo |
createCourseOffering(String courseId,
String termId,
String courseOfferingTypeKey,
CourseOfferingInfo coInfo,
List<String> optionKeys,
ContextInfo context)
Creates a new course offering from a canonical course.
|
FormatOfferingInfo |
createFormatOffering(String courseOfferingId,
String formatId,
String formatOfferingType,
FormatOfferingInfo foInfo,
ContextInfo context)
Creates an Format Offering for a course offering
|
RegistrationGroupInfo |
createRegistrationGroup(String formatOfferingId,
String activityOfferingClusterId,
String registrationGroupTypeKey,
RegistrationGroupInfo registrationGroupInfo,
ContextInfo context)
Creates a new Registration Group.
|
SeatPoolDefinitionInfo |
createSeatPoolDefinition(SeatPoolDefinitionInfo seatPoolDefinitionInfo,
ContextInfo context)
Creates a new Seat Pool
|
StatusInfo |
deleteActivityOffering(String activityOfferingId,
ContextInfo context)
Deletes an existing ActivityOffering.
|
StatusInfo |
deleteActivityOfferingCascaded(String activityOfferingId,
ContextInfo context)
Deletes an existing ActivityOffering cascaded style.
|
StatusInfo |
deleteActivityOfferingCluster(String activityOfferingClusterId,
ContextInfo context)
Deletes an activity offering cluster based on the identifier
|
StatusInfo |
deleteActivityOfferingClusterCascaded(String activityOfferingClusterId,
ContextInfo contextInfo)
Deletes an existing ActivityOfferingCluster cascaded style.
|
StatusInfo |
deleteCourseOffering(String courseOfferingId,
ContextInfo context)
Deletes an existing CourseOffering.
|
StatusInfo |
deleteCourseOfferingCascaded(String courseOfferingId,
ContextInfo context)
Deletes an existing CourseOffering cascaded style.
|
StatusInfo |
deleteFormatOffering(String formatOfferingId,
ContextInfo context)
Deletes an Format Offering
|
StatusInfo |
deleteFormatOfferingCascaded(String formatOfferingId,
ContextInfo context)
Deletes an Format Offering with dependent Activity Offering and
Registration group
|
List<BulkStatusInfo> |
deleteGeneratedRegistrationGroupsByFormatOffering(String formatOfferingId,
ContextInfo context)
Deletes all generated Registration Groups for a Format Offering.
|
StatusInfo |
deleteRegistrationGroup(String registrationGroupId,
ContextInfo context)
Deletes an existing Registration Group.
|
List<BulkStatusInfo> |
deleteRegistrationGroupsByFormatOffering(String formatOfferingId,
ContextInfo context)
Deletes all Registration Groups for a Format Offering.
|
List<BulkStatusInfo> |
deleteRegistrationGroupsForCluster(String activityOfferingClusterId,
ContextInfo contextInfo)
Deletes all Registration Groups associated with an Activity Offering
Cluster
|
StatusInfo |
deleteSeatPoolDefinition(String seatPoolDefinitionId,
ContextInfo context)
Deletes an existing SeatPoolDefinition.
|
List<ActivityOfferingInfo> |
generateActivityOfferings(String formatOfferingId,
String activityOfferingType,
Integer quantity,
ContextInfo context)
Generates activity offerings based on a format offering.
|
List<BulkStatusInfo> |
generateRegistrationGroupsForCluster(String activityOfferingClusterId,
ContextInfo contextInfo)
Generates all possible registration groups for the Activity Offering
Cluster
|
List<BulkStatusInfo> |
generateRegistrationGroupsForFormatOffering(String formatOfferingId,
ContextInfo context)
This is a bulk create method for generateRegistrationGroupsForAOC().
|
AcademicCalendarService |
getAcalService() |
ActivityOfferingInfo |
getActivityOffering(String activityOfferingId,
ContextInfo context)
Retrieve information about an ActivityOffering
|
ActivityOfferingClusterInfo |
getActivityOfferingCluster(String activityOfferingClusterId,
ContextInfo contextInfo)
Gets an Activity Offering Cluster based on the Identifier
|
List<ActivityOfferingClusterInfo> |
getActivityOfferingClustersByFormatOffering(String formatOfferingId,
ContextInfo contextInfo)
Retrieves a list of ActivityOfferingClusters associated with a
FormatOffering
|
List<ActivityOfferingClusterInfo> |
getActivityOfferingClustersByIds(List<String> activityOfferingClusterIds,
ContextInfo contextInfo)
Retrieves a list of activity offering clusters using the given id list.
|
List<String> |
getActivityOfferingClustersIdsByFormatOffering(String formatOfferingId,
ContextInfo contextInfo)
Retrieves a list of ActivityOfferingCluster Id's associated with a
FormatOffering
|
ActivityOfferingDisplayInfo |
getActivityOfferingDisplay(String activityOfferingId,
ContextInfo contextInfo)
Retrieves a single ActivityOfferingDisplay by a ActivityOffering Id.
|
List<ActivityOfferingDisplayInfo> |
getActivityOfferingDisplaysByIds(List<String> activityOfferingIds,
ContextInfo contextInfo)
Retrieve a list of ActivitAOfferingAdminDisplays corresponding to a list
of ActivityOffering Ids.
|
List<ActivityOfferingDisplayInfo> |
getActivityOfferingDisplaysForCourseOffering(String courseOfferingId,
ContextInfo contextInfo)
Retrieve a list of ActivityOfferingDisplays corresponding to a
CourseOffering Id.
|
List<ActivityOfferingInfo> |
getActivityOfferingsByCluster(String activityOfferingClusterId,
ContextInfo contextInfo)
Retrieves a list of ActivityOffering records that belongs to an
ActivityOfferingCluster.
|
List<ActivityOfferingInfo> |
getActivityOfferingsByCourseOffering(String courseOfferingId,
ContextInfo context)
Retrieves a list of ActivityOffering records that belongs to a
CourseOffering.
|
List<ActivityOfferingInfo> |
getActivityOfferingsByFormatOffering(String formatOfferingId,
ContextInfo contextInfo)
Retrieves a list of ActivityOffering records that belongs to a
CourseOffering.
|
List<ActivityOfferingInfo> |
getActivityOfferingsByFormatOfferingWithoutRegGroup(String formatOfferingId,
ContextInfo context)
Retrieves the Activity Offerings by actvity offering template id which
don't have registration groups created for them yet.
|
List<ActivityOfferingInfo> |
getActivityOfferingsByIds(List<String> luiIds,
ContextInfo contextInfo)
Retrieves a list of activity offerings by id list.
|
List<ActivityOfferingInfo> |
getActivityOfferingsForSeatPoolDefinition(String seatPoolDefinitionId,
ContextInfo context)
Retrieves a list of ActivityOffering records that are associated to a specific
SeatPoolDefinition.
|
List<ActivityOfferingInfo> |
getActivityOfferingsWithoutClusterByFormatOffering(String formatOfferingId,
ContextInfo contextInfo)
Retrieves a list of ActivityOffering records that belongs to a
FormatOffering that are not associated with a cluster
|
TypeInfo |
getActivityOfferingType(String activityOfferingTypeKey,
ContextInfo context)
This method returns the TypeInfo for a given activity offering type key.
|
List<TypeInfo> |
getActivityOfferingTypes(ContextInfo context)
This method returns the valid activity offering types.
|
List<TypeInfo> |
getActivityOfferingTypesForActivityType(String activityTypeKey,
ContextInfo context)
This method returns the valid activity offering types for a given
canonical activity type
|
List<String> |
getAllowedTimeSlotIdsForActivityOffering(String activityOfferingId,
ContextInfo contextInfo)
Retrieves a list of allowed time slots Ids for an activity offering
|
List<TimeSlotInfo> |
getAllowedTimeSlotsByDaysAndStartTimeForActivityOffering(String activityOfferingId,
List<Integer> daysOfWeek,
TimeOfDayInfo startTime,
ContextInfo contextInfo)
Retrieves a list of allowed time slots for given days, startTime
and for an activity offering
|
List<TimeSlotInfo> |
getAllowedTimeSlotsForActivityOffering(String activityOfferingId,
ContextInfo contextInfo)
Provides a list of valid
TimeSlotInfo s for a given Activity Offering. |
AtpService |
getAtpService() |
CourseOfferingInfo |
getCourseOffering(String courseOfferingId,
ContextInfo context)
Retrieves a single CourseOffering by a CourseOffering Id.
|
CourseOfferingDisplayInfo |
getCourseOfferingDisplay(String courseOfferingId,
ContextInfo context)
Retrieves a single CourseOfferingDisplayInfo by a CourseOffering Id.
|
List<CourseOfferingDisplayInfo> |
getCourseOfferingDisplaysByIds(List<String> courseOfferingIds,
ContextInfo context)
Retrieve a list of CourseOfferingDisplays corresponding to a list of
CourseOfferingIds.
|
List<String> |
getCourseOfferingIdsByTerm(String termId,
Boolean useIncludedTerm,
ContextInfo context)
Retrieves a list of CourseOffering Ids for CourseOfferings offered in a
given term.
|
List<String> |
getCourseOfferingIdsByTermAndSubjectArea(String termId,
String subjectArea,
ContextInfo context)
Retrieve a list of CourseOffering Ids for CourseOfferings of a given
subject area offered in the given Term.
|
List<String> |
getCourseOfferingIdsByTermAndUnitsContentOwner(String termId,
String unitsContentOwnerId,
ContextInfo context)
Retrieves a list of CourseOffering Ids for CourseOfferings offered in a
given Term by a units content owner.
|
List<String> |
getCourseOfferingIdsByType(String typeKey,
ContextInfo context)
Retrieve a list of CourseOffering Ids by CourseOffering Type.
|
List<CourseOfferingInfo> |
getCourseOfferingsByCourse(String courseId,
ContextInfo context)
Retrieve CourseOfferings by canonical Course Id across all Terms.
|
List<CourseOfferingInfo> |
getCourseOfferingsByCourseAndTerm(String courseId,
String termId,
ContextInfo context)
Retrieve a list of CourseOfferings by canonical Course Id and Term.
|
List<CourseOfferingInfo> |
getCourseOfferingsByIds(List<String> courseOfferingIds,
ContextInfo context)
Retrieves a list of CourseOfferings from a list of CourseOffering Ids.
|
List<CourseOfferingInfo> |
getCourseOfferingsByTermAndInstructor(String termId,
String instructorId,
ContextInfo context)
Retrieves a list of CourseOfferings for a given Term and Instructor.
|
CourseOfferingServiceExtender |
getCourseOfferingServiceExtender() |
TypeInfo |
getCourseOfferingType(String courseOfferingTypeKey,
ContextInfo context)
This method returns the TypeInfo for a given course offering type key.
|
List<TypeInfo> |
getCourseOfferingTypes(ContextInfo context)
This method returns the valid course offering types.
|
CourseService |
getCourseService() |
CourseWaitListService |
getCourseWaitListService() |
ExamOfferingService |
getExamOfferingService() |
FormatOfferingInfo |
getFormatOffering(String formatOfferingId,
ContextInfo context)
Gets an format offering based on Id.
|
List<FormatOfferingInfo> |
getFormatOfferingsByCourseOffering(String courseOfferingId,
ContextInfo context)
Gets a list of format offering by a course offering id they belong to.
|
List<TypeInfo> |
getInstructorTypesForActivityOfferingType(String activityOfferingTypeKey,
ContextInfo context)
This method returns the valid instructor (lpr) types for an activity
offering type.
|
List<TypeInfo> |
getInstructorTypesForCourseOfferingType(String courseOfferingTypeKey,
ContextInfo context)
This method returns the valid instructor (LPR) types for a CourseOffering
type.
|
LprService |
getLprService() |
LuiService |
getLuiService() |
protected String |
getNextActivityOfferingCode(CourseOfferingInfo coInfo,
List<String> existingAoCodes,
ContextInfo context)
When generating activity codes we need to make sure there are no duplicates.
|
RegistrationGroupInfo |
getRegistrationGroup(String registrationGroupId,
ContextInfo context)
Retrieve a RegistrationGroup based on id
|
List<RegistrationGroupInfo> |
getRegistrationGroupsByActivityOffering(String activityOfferingId,
ContextInfo context)
Returns all registration groups that contain activityOfferingId in the list of AOs associated with
the registration group.
|
List<RegistrationGroupInfo> |
getRegistrationGroupsByActivityOfferingCluster(String activityOfferingClusterId,
ContextInfo contextInfo)
Retrieves a list of RegistrationGroup records that belongs to a specified
ActivityOfferingCluster.
|
List<RegistrationGroupInfo> |
getRegistrationGroupsByFormatOffering(String formatOfferingId,
ContextInfo context)
Retrieves a list of RegistrationGroup records that belongs to a
CourseOffering for a given canonical format type
|
List<RegistrationGroupInfo> |
getRegistrationGroupsByIds(List<String> registrationGroupsIds,
ContextInfo contextInfo)
Retrieves a list of registration group by id list.
|
List<RegistrationGroupInfo> |
getRegistrationGroupsForCourseOffering(String courseOfferingId,
ContextInfo context)
Retrieves a list of RegistrationGroup records that belongs to a
CourseOffering
|
List<RegistrationGroupInfo> |
getRegistrationGroupsWithActivityOfferings(List<String> activityOfferingIds,
ContextInfo context)
Retrieves a list of RegistrationGroup records that contain all the
activity offerings in the input list.
|
RoomService |
getRoomService() |
SchedulingService |
getSchedulingService() |
SearchService |
getSearchService() |
SeatPoolDefinitionInfo |
getSeatPoolDefinition(String seatPoolDefinitionId,
ContextInfo context)
Retrieve information about a SeatPoolDefinition
|
List<SeatPoolDefinitionInfo> |
getSeatPoolDefinitionsForActivityOffering(String activityOfferingId,
ContextInfo context)
Retrieves a list of SeatPoolDefinitions records that belongs to an
ActivityOffering.
|
StateService |
getStateService() |
StateTransitionsHelper |
getStateTransitionsHelper() |
TypeService |
getTypeService() |
List<String> |
getValidCanonicalCourseToCourseOfferingOptionKeys(ContextInfo context)
Get the valid options that can be specified to control canonical Course
to CourseOffering operations.
|
List<String> |
getValidRolloverOptionKeys(ContextInfo context)
Get the valid rollover option keys.
|
protected boolean |
luiExists(String luiId,
ContextInfo context) |
StatusInfo |
removeSeatPoolDefinitionFromActivityOffering(String seatPoolDefinitionId,
String activityOfferingId,
ContextInfo contextInfo)
Removes a SeatPoolDefinition from an ActivityOffering.
|
SocRolloverResultItemInfo |
rolloverCourseOffering(String sourceCourseOfferingId,
String targetTermId,
List<String> optionKeys,
ContextInfo context)
Creates a new course offering based on the source course offering.
|
StatusInfo |
scheduleActivityOffering(String activityOfferingId,
ContextInfo contextInfo)
This implementation is the work-around for M5 that lacks an actual scheduler.
|
List<String> |
searchForActivityOfferingClusterIds(QueryByCriteria criteria,
ContextInfo contextInfo)
Searches for Activity Offering Clusters that meet the given search criteria.
|
List<ActivityOfferingClusterInfo> |
searchForActivityOfferingClusters(QueryByCriteria criteria,
ContextInfo contextInfo)
Searches for Activity Offering Clusters that meet the given search criteria.
|
List<String> |
searchForActivityOfferingIds(QueryByCriteria criteria,
ContextInfo context)
Searches for ActivityOfferings that meet the given search criteria.
|
List<ActivityOfferingInfo> |
searchForActivityOfferings(QueryByCriteria criteria,
ContextInfo context)
Searches for ActivityOfferings that meet the given search criteria.
|
List<String> |
searchForCourseOfferingIds(QueryByCriteria criteria,
ContextInfo context)
This method allows you to search for Course Offering Ids by Criteria.
|
List<CourseOfferingInfo> |
searchForCourseOfferings(QueryByCriteria criteria,
ContextInfo context)
Searches for CourseOfferings that meet the given search criteria.
|
List<String> |
searchForFormatOfferingIds(QueryByCriteria criteria,
ContextInfo contextInfo)
Searches for FormatOfferings that meet the given search criteria.
|
List<FormatOfferingInfo> |
searchForFormatOfferings(QueryByCriteria criteria,
ContextInfo contextInfo)
Searches for FormatOfferings that meet the given search criteria.
|
List<String> |
searchForRegistrationGroupIds(QueryByCriteria criteria,
ContextInfo context)
Searches for RegistrationGroups that meet the given search criteria.
|
List<RegistrationGroupInfo> |
searchForRegistrationGroups(QueryByCriteria criteria,
ContextInfo context)
Searches for RegistrationGroups that meet the given search criteria.
|
List<String> |
searchForSeatpoolDefinitionIds(QueryByCriteria criteria,
ContextInfo context)
Searches for SeatPoolDefinitions that meet the given search criteria.
|
List<SeatPoolDefinitionInfo> |
searchForSeatpoolDefinitions(QueryByCriteria criteria,
ContextInfo context)
Searches for SeatPoolDefinitions that meet the given search criteria.
|
void |
setAcalService(AcademicCalendarService acalService) |
void |
setActivityOfferingClusterDao(ActivityOfferingClusterDaoApi activityOfferingClusterDao) |
void |
setActivityOfferingTransformer(ActivityOfferingTransformer activityOfferingTransformer) |
void |
setAtpService(AtpService atpService) |
void |
setBusinessLogic(CourseOfferingServiceBusinessLogic businessLogic) |
void |
setCourseOfferingServiceExtender(CourseOfferingServiceExtender extender) |
void |
setCourseOfferingTransformer(CourseOfferingTransformer courseOfferingTransformer) |
void |
setCourseService(CourseService courseService) |
void |
setCourseWaitListService(CourseWaitListService courseWaitListService) |
void |
setCriteriaLookupService(CriteriaLookupService criteriaLookupService) |
void |
setExamOfferingService(ExamOfferingService examOfferingService) |
void |
setLprService(LprService lprService) |
void |
setLrcService(LRCService lrcService) |
void |
setLuiService(LuiService luiService) |
void |
setOfferingCodeGenerator(CourseOfferingCodeGenerator offeringCodeGenerator) |
void |
setRegistrationGroupTransformer(RegistrationGroupTransformer registrationGroupTransformer) |
void |
setRgAssembler(RegistrationGroupAssembler rgAssembler) |
void |
setRoomService(RoomService roomService) |
void |
setSchedulingService(SchedulingService schedulingService) |
void |
setSearchService(SearchService searchService) |
void |
setSeatPoolDefinitionDao(SeatPoolDefinitionDaoApi seatPoolDefinitionDao) |
void |
setStateService(StateService stateService) |
void |
setStateTransitionsHelper(StateTransitionsHelper stateTransitionsHelper) |
void |
setTypeService(TypeService typeService) |
ActivityOfferingInfo |
updateActivityOffering(String activityOfferingId,
ActivityOfferingInfo activityOfferingInfo,
ContextInfo context)
Updates an existing ActivityOffering.
|
ActivityOfferingClusterInfo |
updateActivityOfferingCluster(String formatOfferingId,
String activityOfferingClusterId,
ActivityOfferingClusterInfo activityOfferingClusterInfo,
ContextInfo contextInfo)
Updates an ActivityOfferingCluster based on the info object
|
CourseOfferingInfo |
updateCourseOffering(String courseOfferingId,
CourseOfferingInfo coInfo,
ContextInfo context)
Updates an existing CourseOffering.
|
CourseOfferingInfo |
updateCourseOfferingFromCanonical(String courseOfferingId,
List<String> optionKeys,
ContextInfo context)
Updates an existing CourseOffering from its canonical.
|
FormatOfferingInfo |
updateFormatOffering(String formatOfferingId,
FormatOfferingInfo formatOfferingInfo,
ContextInfo context)
Update a Format Offering
|
RegistrationGroupInfo |
updateRegistrationGroup(String registrationGroupId,
RegistrationGroupInfo registrationGroupInfo,
ContextInfo context)
Updates an existing RegistrationGroup.
|
SeatPoolDefinitionInfo |
updateSeatPoolDefinition(String seatPoolDefinitionId,
SeatPoolDefinitionInfo seatPoolDefinitionInfo,
ContextInfo context)
Updates an existing SeatPoolDefinition.
|
List<ValidationResultInfo> |
validateActivityOffering(String validationType,
ActivityOfferingInfo activityOfferingInfo,
ContextInfo context)
Validates an activity offering.
|
List<ValidationResultInfo> |
validateActivityOfferingCluster(String validationTypeKey,
String formatOfferingId,
ActivityOfferingClusterInfo activityOfferingClusterInfo,
ContextInfo contextInfo)
Validates an Activity Offering Cluster.
|
List<ValidationResultInfo> |
validateCourseOffering(String validationType,
CourseOfferingInfo courseOfferingInfo,
ContextInfo context)
Validates a CourseOffering.
|
List<ValidationResultInfo> |
validateCourseOfferingFromCanonical(CourseOfferingInfo courseOfferingInfo,
List<String> optionKeys,
ContextInfo context)
Validates / Compares a course offering against it's canonical course.
|
List<ValidationResultInfo> |
validateFormatOffering(String validationType,
FormatOfferingInfo formatOfferingInfo,
ContextInfo context)
Validates a format offering.
|
List<ValidationResultInfo> |
validateRegistrationGroup(String validationType,
String activityOfferingClusterId,
String registrationGroupType,
RegistrationGroupInfo registrationGroupInfo,
ContextInfo context)
Validates a registration group.
|
List<ValidationResultInfo> |
validateSeatPoolDefinition(String validationTypeKey,
SeatPoolDefinitionInfo seatPoolDefinitionInfo,
ContextInfo context)
Validate a seat pool definition
|
AOClusterVerifyResultsInfo |
verifyActivityOfferingClusterForGeneration(String activityOfferingClusterId,
ContextInfo contextInfo)
Verifies an Activity Offering Cluster's completeness for the generation
of Registration Group's.
|
List<ValidationResultInfo> |
verifyRegistrationGroup(String registrationGroupId,
ContextInfo contextInfo)
Verifies a Registration Group applying rules such as:
Registration Group has one ActivityOffering for each Format Offering
activityOfferingType
ActivityOffering's don't have any time conflicts (if scheduling
has already happened)
ActivityOffering's are all offered at the same campus
ActivityOffering's don't have conflicting seatpool/enrollment
restrictions
|
public CourseOfferingServiceImpl()
@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public StatusInfo deleteCourseOfferingCascaded(String courseOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
deleteCourseOfferingCascaded
in interface CourseOfferingService
courseOfferingId
- the Id of the ActivityOffering to be deletedcontext
- Context information containing the principalId
and locale information about the caller of
service operationDoesNotExistException
- the CourseOffering does not existInvalidParameterException
- One or more parameters invalidMissingParameterException
- One or more parameters missingOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure@Transactional(readOnly=true) public List<FormatOfferingInfo> getFormatOfferingsByCourseOffering(String courseOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getFormatOfferingsByCourseOffering
in interface CourseOfferingService
courseOfferingId
- Course offering identifiercontext
- Context information containing the principalId
and locale information about the caller of
service operationDoesNotExistException
- The course offering doesn't existInvalidParameterException
- Invalid course offering idMissingParameterException
- Missing course offering idOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public StatusInfo deleteFormatOfferingCascaded(String formatOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
deleteFormatOfferingCascaded
in interface CourseOfferingService
formatOfferingId
- The Id formatOffering to be deletedcontext
- Context information containing the principalId
and locale information about the caller of
service operationDoesNotExistException
- The formatOfferingId doesn't existInvalidParameterException
- Invalid formatOfferingIdMissingParameterException
- Missing formatOfferingIdOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public StatusInfo deleteCourseOffering(String courseOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
deleteCourseOffering
in interface CourseOfferingService
courseOfferingId
- the Id of the ActivityOffering to be deletedcontext
- Context information containing the principalId
and locale information about the caller of
service operationDoesNotExistException
- the CourseOffering does not
existInvalidParameterException
- One or more parameters invalidMissingParameterException
- One or more parameters missingOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public RegistrationGroupInfo createRegistrationGroup(String formatOfferingId, String activityOfferingClusterId, String registrationGroupTypeKey, RegistrationGroupInfo registrationGroupInfo, ContextInfo context) throws DoesNotExistException, DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException
CourseOfferingService
createRegistrationGroup
in interface CourseOfferingService
formatOfferingId
- formatOfferingId that the RegistrationGroup
is based onactivityOfferingClusterId
- Unique Id of the ActivityOfferingClusterregistrationGroupTypeKey
- the identifier for the RegistrationGroup
typeregistrationGroupInfo
- Details of the RegistrationGroup to be
createdcontext
- Context information containing the
principalId and locale information about
the caller of service operationDoesNotExistException
- courseOfferingId not foundDataValidationErrorException
- One or more values invalid for this
operationInvalidParameterException
- One or more parameters invalidMissingParameterException
- One or more parameters missingOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureReadOnlyException
@Transactional(readOnly=true) public CourseOfferingInfo getCourseOffering(String courseOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getCourseOffering
in interface CourseOfferingService
courseOfferingId
- the identifier for the CourseOffering to be
retrievedcontext
- information containing the principalId and locale
information about the caller of service
operationDoesNotExistException
- courseOfferingId is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- courseOfferingId or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public CourseOfferingDisplayInfo getCourseOfferingDisplay(String courseOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getCourseOfferingDisplay
in interface CourseOfferingService
courseOfferingId
- an identifier for a CourseOfferingcontext
- information containing the principalId and locale
information about the caller of service
operationDoesNotExistException
- courseOfferingId does not existInvalidParameterException
- contextInfo is not validMissingParameterException
- courseOfferingId or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<CourseOfferingDisplayInfo> getCourseOfferingDisplaysByIds(List<String> courseOfferingIds, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getCourseOfferingDisplaysByIds
in interface CourseOfferingService
courseOfferingIds
- a list of CourseOffering identifierscontext
- information containing the principalId and
locale information about the caller of service
operationDoesNotExistException
- a courseOfferingId in the list not
foundInvalidParameterException
- contextInfo is not validMissingParameterException
- courseOfferingIds, an Id in
courseOfferingIds, or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public ActivityOfferingDisplayInfo getActivityOfferingDisplay(String activityOfferingId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getActivityOfferingDisplay
in interface CourseOfferingService
activityOfferingId
- an identifier for an ActivityOfferingcontextInfo
- information containing the principalId and
locale information about the caller of service
operationDoesNotExistException
- activityOfferingId does not existInvalidParameterException
- contextInfo is not validMissingParameterException
- activityOfferingId or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<ActivityOfferingDisplayInfo> getActivityOfferingDisplaysByIds(List<String> activityOfferingIds, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getActivityOfferingDisplaysByIds
in interface CourseOfferingService
activityOfferingIds
- a list of ActivityOffering identifierscontextInfo
- information containing the principalId and
locale information about the caller of service
operationDoesNotExistException
- an activityOfferingId in the list not
foundInvalidParameterException
- contextInfo is not validMissingParameterException
- activityOfferingIds, an Id in
activityOfferingId, or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<ActivityOfferingDisplayInfo> getActivityOfferingDisplaysForCourseOffering(String courseOfferingId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getActivityOfferingDisplaysForCourseOffering
in interface CourseOfferingService
courseOfferingId
- the identifier for a CourseOfferingcontextInfo
- information containing the principalId and locale
information about the caller of service
operationDoesNotExistException
- courseOfferingId is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- courseOfferingId or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<CourseOfferingInfo> getCourseOfferingsByIds(List<String> courseOfferingIds, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getCourseOfferingsByIds
in interface CourseOfferingService
courseOfferingIds
- a list of CourseOffering identifierscontext
- information containing the principalId and
locale information about the caller of service
operationDoesNotExistException
- a courseOfferingId in the list is not
foundInvalidParameterException
- contextInfo is not validMissingParameterException
- courseOfferingIds, an Id in the
courseOfferingIds, or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<CourseOfferingInfo> getCourseOfferingsByCourse(String courseId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getCourseOfferingsByCourse
in interface CourseOfferingService
courseId
- the identifier for a Coursecontext
- information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- courseId is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- courseId orcontextInfo is missing or
nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<CourseOfferingInfo> getCourseOfferingsByCourseAndTerm(String courseId, String termId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getCourseOfferingsByCourseAndTerm
in interface CourseOfferingService
courseId
- the identifier for a CoursetermId
- the identifier for a Termcontext
- information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- courseId is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- courseId, termId, or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occured@Transactional(readOnly=true) public List<String> getCourseOfferingIdsByTerm(String termId, Boolean useIncludedTerm, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getCourseOfferingIdsByTerm
in interface CourseOfferingService
termId
- the identifier for a TermuseIncludedTerm
- true to include CourseOfferings of child Terms of
the given Term, false to include only
CourseOfferings offered in the given Termcontext
- information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- deprecatedInvalidParameterException
- contextInfo is not validMissingParameterException
- termId or contextInfo is missing or
nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<String> getCourseOfferingIdsByTermAndSubjectArea(String termId, String subjectArea, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getCourseOfferingIdsByTermAndSubjectArea
in interface CourseOfferingService
termId
- the identifier for a TermsubjectArea
- a subject areacontext
- information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- deprecatedInvalidParameterException
- contextInfo is not validMissingParameterException
- termId, subjectArea, or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<CourseOfferingInfo> getCourseOfferingsByTermAndInstructor(String termId, String instructorId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getCourseOfferingsByTermAndInstructor
in interface CourseOfferingService
termId
- the identifier for a TerminstructorId
- the Person Id for an instructorcontext
- information containing the principalId and locale
information about the caller of service operationDoesNotExistException
- deprecatedInvalidParameterException
- contextInfo is not validMissingParameterException
- termId, instructorId, or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<String> getCourseOfferingIdsByTermAndUnitsContentOwner(String termId, String unitsContentOwnerId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getCourseOfferingIdsByTermAndUnitsContentOwner
in interface CourseOfferingService
termId
- the identifier for a TermunitsContentOwnerId
- the Org Id of the units content ownercontext
- information containing the principalId and
locale information about the caller of service
operationDoesNotExistException
- deprecatedInvalidParameterException
- contextInfo is not validMissingParameterException
- termId, unisContentOwnerId, or
contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<String> getCourseOfferingIdsByType(String typeKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getCourseOfferingIdsByType
in interface CourseOfferingService
typeKey
- the identifier for a CourseOffering Typecontext
- information containing the principalId and
locale information about the caller of
service operationDoesNotExistException
- deprecatedInvalidParameterException
- contextInfo is not validMissingParameterException
- courseOfferingTypeKey or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<String> getValidCanonicalCourseToCourseOfferingOptionKeys(ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException
CourseOfferingService
getValidCanonicalCourseToCourseOfferingOptionKeys
in interface CourseOfferingService
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 occurredReadOnlyException
@Transactional(readOnly=true) public List<String> getValidRolloverOptionKeys(ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException
CourseOfferingService
getValidRolloverOptionKeys
in interface CourseOfferingService
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 occurredReadOnlyException
@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public SocRolloverResultItemInfo rolloverCourseOffering(String sourceCourseOfferingId, String targetTermId, List<String> optionKeys, ContextInfo context) throws AlreadyExistsException, DoesNotExistException, DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException
CourseOfferingService
rolloverCourseOffering
in interface CourseOfferingService
rolloverCourseOffering
in interface CourseOfferingServiceBusinessLogic
sourceCourseOfferingId
- The id of the course offering to be rolled
over.targetTermId
- Unique key of the term in which the course
is rolled over intooptionKeys
- keys that control optional processingcontext
- Context information containing the
principalId and locale information about
the caller of service operationAlreadyExistsException
- if the course offering already
exists in the target term and skip
if already exists option is
specifiedDoesNotExistException
- sourceCoId not foundDataValidationErrorException
- data in system is not valid or not
valid for an option key specifiedInvalidParameterException
- One or more parameters invalidMissingParameterException
- One or more parameters missingOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureReadOnlyException
@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public CourseOfferingInfo createCourseOffering(String courseId, String termId, String courseOfferingTypeKey, CourseOfferingInfo coInfo, List<String> optionKeys, ContextInfo context) throws DoesNotExistException, DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException
CourseOfferingService
createCourseOffering
in interface CourseOfferingService
courseId
- Canonical course Id of courseOffering Id that the
ActivityOffering will belong totermId
- Unique key of the term in which the course is being
offered course offeringoptionKeys
- options to use when copying data from the canonicalcontext
- Context information containing the principalId and
locale information about the caller of service
operationDoesNotExistException
- courseId not foundDataValidationErrorException
- One or more values invalid for this
operationInvalidParameterException
- One or more parameters invalidMissingParameterException
- One or more parameters missingOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureReadOnlyException
@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public CourseOfferingInfo updateCourseOffering(String courseOfferingId, CourseOfferingInfo coInfo, ContextInfo context) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException
CourseOfferingService
updateCourseOffering
in interface CourseOfferingService
courseOfferingId
- Id of CourseOffering to be updatedcoInfo
- Details of updates to the CourseOfferingcontext
- Context information containing the principalId
and locale information about the caller of
service operationDataValidationErrorException
- One or more values invalid for this
operationDoesNotExistException
- the CourseOffering does not existInvalidParameterException
- One or more parameters invalidMissingParameterException
- One or more parameters missingOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureVersionMismatchException
- The action was attempted on an out
of date version.ReadOnlyException
@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public CourseOfferingInfo updateCourseOfferingFromCanonical(String courseOfferingId, List<String> optionKeys, ContextInfo context) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException
CourseOfferingService
updateCourseOfferingFromCanonical
in interface CourseOfferingService
updateCourseOfferingFromCanonical
in interface CourseOfferingServiceBusinessLogic
courseOfferingId
- Id of CourseOffering to be updatedoptionKeys
- options to use when copying data from the
canonicalcontext
- Context information containing the principalId
and locale information about the caller of
service operationDataValidationErrorException
- One or more values invalid for this
operationDoesNotExistException
- the CourseOffering does not existInvalidParameterException
- One or more parameters invalidMissingParameterException
- One or more parameters missingOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureVersionMismatchException
- The action was attempted on an out
of date version.public List<ValidationResultInfo> validateCourseOffering(String validationType, CourseOfferingInfo courseOfferingInfo, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CourseOfferingService
validateCourseOffering
in interface CourseOfferingService
validationType
- the identifier for the validation TypecourseOfferingInfo
- the CourseOffering to be validatedcontext
- information containing the principalId and
locale information about the caller of
service operationDoesNotExistException
- validationTypeKey or courseOfferingTypeKey
is not foundInvalidParameterException
- courseOfferingInfo or contextInfo is
not validMissingParameterException
- validationTypeKey, courseOfferingTypeKey,
courseOfferingInfo, or contextInfo is
missing or nullOperationFailedException
- unable to complete requestpublic List<ValidationResultInfo> validateCourseOfferingFromCanonical(CourseOfferingInfo courseOfferingInfo, List<String> optionKeys, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
validateCourseOfferingFromCanonical
in interface CourseOfferingService
validateCourseOfferingFromCanonical
in interface CourseOfferingServiceBusinessLogic
courseOfferingInfo
- the course offering information to be tested.context
- Context information containing the principalId
and locale information about the caller of
service operationDoesNotExistException
- if the course associated with the
course offering does not existInvalidParameterException
- if a parameter is invalidMissingParameterException
- if a parameter is missingOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure@Transactional(readOnly=true) public FormatOfferingInfo getFormatOffering(String formatOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getFormatOffering
in interface CourseOfferingService
formatOfferingId
- The Format Offering identifiercontext
- Context information containing the principalId
and locale information about the caller of
service operationDoesNotExistException
- The Format Offering doesn't existInvalidParameterException
- Invalid formatOfferingIdMissingParameterException
- Missing formatOfferingIdOperationFailedException
- unable to complete requestPermissionDeniedException
@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public StatusInfo deleteFormatOffering(String formatOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, DependentObjectsExistException
CourseOfferingService
deleteFormatOffering
in interface CourseOfferingService
formatOfferingId
- The Id formatOffering to be deletedcontext
- Context information containing the principalId
and locale information about the caller of
service operationDoesNotExistException
- The formatOfferingId doesn't
existInvalidParameterException
- Invalid formatOfferingIdMissingParameterException
- Missing formatOfferingIdOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureDependentObjectsExistException
- When one or more Activity
Offering, Registration Group or
Seat Pool Definition exist for the
format offering.@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public FormatOfferingInfo updateFormatOffering(String formatOfferingId, FormatOfferingInfo formatOfferingInfo, ContextInfo context) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException
CourseOfferingService
updateFormatOffering
in interface CourseOfferingService
formatOfferingId
- The Id formatOffering to be updatedformatOfferingInfo
- The new formatOffering Infocontext
- Context information containing the principalId
and locale information about the caller of
service operationDataValidationErrorException
- One or more values invalid for this
operationDoesNotExistException
- The formatOfferingId doesn't existInvalidParameterException
- Invalid formatOfferingId or
formatOfferingMissingParameterException
- Missing formatOffering or
formatOfferingIdOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureVersionMismatchException
- stale version being updatedReadOnlyException
public List<ValidationResultInfo> validateFormatOffering(String validationType, FormatOfferingInfo formatOfferingInfo, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CourseOfferingService
validateFormatOffering
in interface CourseOfferingService
validationType
- Identifier of the extent of validationformatOfferingInfo
- the format offering information to be tested.context
- Context information containing the principalId
and locale information about the caller of
service operationDoesNotExistException
- validationTypeKey not foundInvalidParameterException
- invalid validationTypeKey, formatOfferingInfoMissingParameterException
- missing validationTypeKey, formatOfferingInfoOperationFailedException
- unable to complete request@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public FormatOfferingInfo createFormatOffering(String courseOfferingId, String formatId, String formatOfferingType, FormatOfferingInfo foInfo, ContextInfo context) throws DoesNotExistException, DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException
CourseOfferingService
createFormatOffering
in interface CourseOfferingService
courseOfferingId
- Course offering that the Format Offering
belongs toformatId
- the identifier for the FormatOfferingformatOfferingType
- the type key of the Format Offering templatefoInfo
- The Format Offering info objectDoesNotExistException
- if courseOfferingId or formatId does
not exist for the course in the
course offeringDataValidationErrorException
InvalidParameterException
- Invalid course offering idMissingParameterException
- Missing course offering id,
formatOfferingTemplate or
formatOfferingTypeOperationFailedException
- unable to complete requestPermissionDeniedException
ReadOnlyException
public List<ActivityOfferingInfo> getActivityOfferingsForSeatPoolDefinition(String seatPoolDefinitionId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getActivityOfferingsForSeatPoolDefinition
in interface CourseOfferingService
seatPoolDefinitionId
- Unique Id of the SeatPoolDefinitioncontext
- Context information containing the principalId
and locale information about the caller of
service operationDoesNotExistException
- no seat pool exists for seatPoolDefinitionIdInvalidParameterException
- contextInfo is null.MissingParameterException
- missing seatPoolDefinitionIdOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failurepublic TypeInfo getActivityOfferingType(String activityOfferingTypeKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getActivityOfferingType
in interface CourseOfferingService
activityOfferingTypeKey
- Key of the typecontext
- Context information containing the
principalId and locale information about
the caller of service operationDoesNotExistException
- activityOfferingTypeKey not foundInvalidParameterException
- invalid activityOfferingTypeKeyMissingParameterException
- missing activityOfferingTypeKeyOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure@Transactional(readOnly=true) public List<TypeInfo> getActivityOfferingTypes(ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getActivityOfferingTypes
in interface CourseOfferingService
context
- Context information containing the principalId and locale
information about the caller of service operationInvalidParameterException
- invalid contextMissingParameterException
- missing contextOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure@Transactional(readOnly=true) public List<TypeInfo> getActivityOfferingTypesForActivityType(String activityTypeKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getActivityOfferingTypesForActivityType
in interface CourseOfferingService
activityTypeKey
- Key of the canonical activity typecontext
- Context information containing the principalId and
locale information about the caller of service
operationDoesNotExistException
- activityOfferingTypeKey not foundInvalidParameterException
- invalid contextMissingParameterException
- missing contextOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure@Transactional(readOnly=true) public ActivityOfferingInfo getActivityOffering(String activityOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getActivityOffering
in interface CourseOfferingService
activityOfferingId
- Unique Id of the ActivityOfferingcontext
- Context information containing the principalId
and locale information about the caller of
service operationDoesNotExistException
- ActivityOffering with activityOfferingId not foundInvalidParameterException
- invalid activityOfferingIdMissingParameterException
- missing activityOfferingIdOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure@Transactional(readOnly=true) public List<ActivityOfferingInfo> getActivityOfferingsByIds(List<String> luiIds, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getActivityOfferingsByIds
in interface CourseOfferingService
luiIds
- List of unique Ids of ActivityCourseOfferingcontextInfo
- Context information containing the principalId
and locale information about the caller of
service operationDoesNotExistException
- activityOfferingId in the list not
foundInvalidParameterException
- invalid activityOfferingIdsMissingParameterException
- missing activityOfferingIdsOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure@Transactional(readOnly=true) public List<ActivityOfferingInfo> getActivityOfferingsByCourseOffering(String courseOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getActivityOfferingsByCourseOffering
in interface CourseOfferingService
courseOfferingId
- Unique Id of the CourseOfferingcontext
- Context information containing the principalId
and locale information about the caller of
service operationDoesNotExistException
- courseOfferingId not foundInvalidParameterException
- invalid courseOfferingIdMissingParameterException
- missing courseOfferingIdOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure@Transactional(readOnly=true) public List<ActivityOfferingInfo> getActivityOfferingsByFormatOffering(String formatOfferingId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getActivityOfferingsByFormatOffering
in interface CourseOfferingService
formatOfferingId
- Unique Id of the CourseOfferingcontextInfo
- Context information containing the principalId
and locale information about the caller of
service operationDoesNotExistException
- formatOfferingId not foundInvalidParameterException
- invalid courseOfferingIdMissingParameterException
- missing courseOfferingIdOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure@Transactional(readOnly=true) public List<ActivityOfferingInfo> getActivityOfferingsWithoutClusterByFormatOffering(String formatOfferingId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getActivityOfferingsWithoutClusterByFormatOffering
in interface CourseOfferingService
formatOfferingId
- Id of the CourseOfferingcontextInfo
- Context information containing the principalId
and locale information about the caller of
service operationDoesNotExistException
- formatOfferingId not foundInvalidParameterException
- invalid formatOfferingIdMissingParameterException
- formatOfferingId or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<ActivityOfferingInfo> getActivityOfferingsByFormatOfferingWithoutRegGroup(String formatOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getActivityOfferingsByFormatOfferingWithoutRegGroup
in interface CourseOfferingService
formatOfferingId
- The Id of the format offeringcontext
- Context information containing the principalId
and locale information about the caller of
service operationDoesNotExistException
- The formatOfferingId does not existInvalidParameterException
- Invalid formatOfferingIdMissingParameterException
- Missing formatOfferingIdOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failurepublic List<String> getAllowedTimeSlotIdsForActivityOffering(String activityOfferingId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getAllowedTimeSlotIdsForActivityOffering
in interface CourseOfferingService
activityOfferingId
- identifier for an activity offeringcontextInfo
- Context information containing the principalId and
locale information about the caller of service
operationDoesNotExistException
- activityOfferingId does not existInvalidParameterException
- invalid contextInfoMissingParameterException
- activityOfferingId or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<TimeSlotInfo> getAllowedTimeSlotsForActivityOffering(String activityOfferingId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
TimeSlotInfo
s for a given Activity Offering.getAllowedTimeSlotsForActivityOffering
in interface CourseOfferingService
activityOfferingId
- identifier for an activity offeringcontextInfo
- Context information containing the principalId and
locale information about the caller of service
operationDoesNotExistException
- activityOfferingId does not existInvalidParameterException
- invalid contextInfoMissingParameterException
- activityOfferingId or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurredpublic List<TimeSlotInfo> getAllowedTimeSlotsByDaysAndStartTimeForActivityOffering(String activityOfferingId, List<Integer> daysOfWeek, TimeOfDayInfo startTime, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getAllowedTimeSlotsByDaysAndStartTimeForActivityOffering
in interface CourseOfferingService
activityOfferingId
- identifier for an activity offeringdaysOfWeek
- days of the week of intereststartTime
- start time of interestcontextInfo
- Context information containing the principalId and
locale information about the caller of service
operationDoesNotExistException
- activityOfferingId does not existInvalidParameterException
- invalid daysOfWeek, startTime or contextInfoMissingParameterException
- activityOfferingId, daysOfWeek, startTime or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public ActivityOfferingInfo createActivityOffering(String formatOfferingId, String activityId, String activityOfferingTypeKey, ActivityOfferingInfo aoInfo, ContextInfo context) throws DoesNotExistException, DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException
CourseOfferingService
createActivityOffering
in interface CourseOfferingService
formatOfferingId
- courseOffering that the ActivityOffering
belongs toactivityId
- the canonical activity this is associated
withaoInfo
- Details of the ActivityOffering to be
createdcontext
- Context information containing the
principalId and locale information about the
caller of service operationDoesNotExistException
- if the format offering does not
existDataValidationErrorException
- One or more values invalid for this
operationInvalidParameterException
- One or more parameters invalidMissingParameterException
- One or more parameters missingOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureReadOnlyException
protected String getNextActivityOfferingCode(CourseOfferingInfo coInfo, List<String> existingAoCodes, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
coInfo
- context
- DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public ActivityOfferingInfo copyActivityOffering(String activityOfferingId, ContextInfo context) throws DoesNotExistException, DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException
CourseOfferingService
copyActivityOffering
in interface CourseOfferingService
activityOfferingId
- the activity offering used as sourcecontext
- Context information containing the principalId
and locale information about the caller of
service operationDoesNotExistException
- if the format offering does not
existDataValidationErrorException
- One or more values invalid for this
operationInvalidParameterException
- One or more parameters invalidMissingParameterException
- One or more parameters missingOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureReadOnlyException
@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public List<ActivityOfferingInfo> generateActivityOfferings(String formatOfferingId, String activityOfferingType, Integer quantity, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
generateActivityOfferings
in interface CourseOfferingService
formatOfferingId
- the identifier for the FormatOffering.activityOfferingType
- a key for an activity offering typequantity
- quantity of the activity offerings of that typecontext
- Context information containing the principalId
and locale information about the caller of
service operationInvalidParameterException
- formatOfferingId invalidMissingParameterException
- Missing formatOfferingId in the inputOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public ActivityOfferingInfo updateActivityOffering(String activityOfferingId, ActivityOfferingInfo activityOfferingInfo, ContextInfo context) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException
CourseOfferingService
updateActivityOffering
in interface CourseOfferingService
activityOfferingId
- Id of ActivitOffering to be updatedactivityOfferingInfo
- Details of updates to the ActivityOfferingcontext
- Context information containing the
principalId and locale information about the
caller of service operationDataValidationErrorException
- One or more values invalid for this
operationDoesNotExistException
- the ActivityOffering does not existInvalidParameterException
- One or more parameters invalidMissingParameterException
- One or more parameters missingOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureVersionMismatchException
- The action was attempted on an out
of date version.ReadOnlyException
@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public StatusInfo deleteActivityOffering(String activityOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
deleteActivityOffering
in interface CourseOfferingService
activityOfferingId
- the Id of the ActivityOffering to be deletedcontext
- Context information containing the principalId
and locale information about the caller of
service operationDoesNotExistException
- the identified ActivityOffering
does not existInvalidParameterException
- One or more parameters invalidMissingParameterException
- One or more parameters missingOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public StatusInfo deleteActivityOfferingCascaded(String activityOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
deleteActivityOfferingCascaded
in interface CourseOfferingService
activityOfferingId
- the Id of the ActivityOffering to be deletedcontext
- Context information containing the principalId
and locale information about the caller of
service operationDoesNotExistException
- the identified Activity o does not
existInvalidParameterException
- One or more parameters invalidMissingParameterException
- One or more parameters missingOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure@Transactional public StatusInfo scheduleActivityOffering(String activityOfferingId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
scheduleActivityOffering
in interface CourseOfferingService
activityOfferingId
- Id of the Activity Offering to be scheduled.contextInfo
- Context information containing the principalId
and locale information about the caller of
service operationDoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
public List<ValidationResultInfo> validateActivityOffering(String validationType, ActivityOfferingInfo activityOfferingInfo, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CourseOfferingService
validateActivityOffering
in interface CourseOfferingService
validationType
- Identifier of the extent of validationactivityOfferingInfo
- the activity offering information to be
tested.context
- Context information containing the
principalId and locale information about the
caller of service operationDoesNotExistException
- validationTypeKey not foundInvalidParameterException
- invalid validationTypeKey, academicCalendarInfoMissingParameterException
- missing validationTypeKey, academicCalendarInfoOperationFailedException
- unable to complete requestpublic Float calculateInClassContactHoursForTerm(String activityOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
calculateInClassContactHoursForTerm
in interface CourseOfferingService
activityOfferingId
- the Id of the ActivityOffering to be used for
contact hour calculationcontext
- Context information containing the principalId
and locale information about the caller of
service operationDoesNotExistException
- the ActivityOffering with activityOfferingId does not existInvalidParameterException
- One or more parameters invalidMissingParameterException
- One or more parameters missingOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failurepublic Float calculateOutofClassContactHoursForTerm(String activityOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
calculateOutofClassContactHoursForTerm
in interface CourseOfferingService
activityOfferingId
- the Id of the ActivityOffering to be used for
contact hour calculationcontext
- Context information containing the principalId
and locale information about the caller of
service operationDoesNotExistException
- the ActivityOffering with activityOfferingId does not existInvalidParameterException
- One or more parameters invalidMissingParameterException
- One or more parameters missingOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failurepublic Float calculateTotalContactHoursForTerm(String activityOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
calculateTotalContactHoursForTerm
in interface CourseOfferingService
activityOfferingId
- the Id of the ActivityOffering to be used for
contact hour calculationcontext
- Context information containing the principalId
and locale information about the caller of
service operationDoesNotExistException
- the ActivityOffering with activityOfferingId does not existInvalidParameterException
- One or more parameters invalidMissingParameterException
- One or more parameters missingOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure@Transactional(readOnly=true) public RegistrationGroupInfo getRegistrationGroup(String registrationGroupId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getRegistrationGroup
in interface CourseOfferingService
registrationGroupId
- Unique Id of the RegistrationGroupcontext
- Context information containing the principalId
and locale information about the caller of
service operationDoesNotExistException
- registrationGroupId not foundInvalidParameterException
- invalid registrationGroupIdMissingParameterException
- missing registrationGroupIdOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure@Transactional(readOnly=true) public List<RegistrationGroupInfo> getRegistrationGroupsByIds(List<String> registrationGroupsIds, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getRegistrationGroupsByIds
in interface CourseOfferingService
registrationGroupsIds
- List of unique Ids of RegistrationGroupcontextInfo
- Context information containing the
principalId and locale information about the
caller of service operationDoesNotExistException
- registrationGroupId in the list not
foundInvalidParameterException
- invalid registrationGroupIdsMissingParameterException
- missing registrationGroupIdsOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure@Transactional(readOnly=true) public List<RegistrationGroupInfo> getRegistrationGroupsForCourseOffering(String courseOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getRegistrationGroupsForCourseOffering
in interface CourseOfferingService
courseOfferingId
- Unique Id of the CourseOfferingcontext
- Context information containing the principalId
and locale information about the caller of
service operationDoesNotExistException
- courseOfferingId not foundInvalidParameterException
- invalid courseOfferingIdMissingParameterException
- missing courseOfferingIdOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure@Transactional(readOnly=true) public List<RegistrationGroupInfo> getRegistrationGroupsWithActivityOfferings(List<String> activityOfferingIds, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getRegistrationGroupsWithActivityOfferings
in interface CourseOfferingService
activityOfferingIds
- List of activityOffering Identifierscontext
- Context information containing the principalId
and locale information about the caller of
service operationDoesNotExistException
- One or more of the activityOfferingIds
doesn't existInvalidParameterException
- One or more invalid activityOfferingIdsMissingParameterException
- Missing activityOfferingIdsOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failurepublic List<RegistrationGroupInfo> getRegistrationGroupsByActivityOffering(String activityOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getRegistrationGroupsByActivityOffering
in interface CourseOfferingService
activityOfferingId
- An activity offering id.context
- Context information containing the principalId
and locale information about the caller of
service operationDoesNotExistException
- One or more of the activityOfferingIds
doesn't existInvalidParameterException
- One or more invalid activityOfferingIdsMissingParameterException
- Missing activityOfferingIdsOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure@Transactional(readOnly=true) public List<RegistrationGroupInfo> getRegistrationGroupsByFormatOffering(String formatOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getRegistrationGroupsByFormatOffering
in interface CourseOfferingService
formatOfferingId
- Unique Id of the CourseOfferingcontext
- information containing the principalId and locale
information about the caller of service
operationDoesNotExistException
- courseOfferingId or formatTypeKey not
foundInvalidParameterException
- invalid courseOfferingId or
formatTypeKeyMissingParameterException
- missing courseOfferingId or
formatTypeKeyOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public List<BulkStatusInfo> generateRegistrationGroupsForFormatOffering(String formatOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, DataValidationErrorException
CourseOfferingService
generateRegistrationGroupsForFormatOffering
in interface CourseOfferingService
generateRegistrationGroupsForFormatOffering
in interface CourseOfferingServiceBusinessLogic
formatOfferingId
- The identifier of the format offering to generate registration groups for.context
- Context information containing the principalId and locale information about the caller of service operationDoesNotExistException
- The formatOfferingId does not refer to an existing FormatOffering.InvalidParameterException
- The formatOfferingId or context is invalid.MissingParameterException
- the formatOfferingId or context is missing.OperationFailedException
- unable to complete request, can also occur when verification of any AOC in the format offering fails.PermissionDeniedException
- authorization failureDataValidationErrorException
- verification of any of the underlying Activity Offering Cluster's failed.@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public List<BulkStatusInfo> generateRegistrationGroupsForCluster(String activityOfferingClusterId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, DataValidationErrorException
CourseOfferingService
generateRegistrationGroupsForCluster
in interface CourseOfferingService
generateRegistrationGroupsForCluster
in interface CourseOfferingServiceBusinessLogic
activityOfferingClusterId
- identifier of the Activity Offering
ClustercontextInfo
- Context information containing the
principalId and locale information about
the caller of service operationDoesNotExistException
- activityOfferingClusterId does not
existInvalidParameterException
- invalid contextInfoMissingParameterException
- activityOfferingClusterId or
contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure has occurredDataValidationErrorException
- verification of the Activity Offering Cluster failed.@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public RegistrationGroupInfo updateRegistrationGroup(String registrationGroupId, RegistrationGroupInfo registrationGroupInfo, ContextInfo context) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException
CourseOfferingService
updateRegistrationGroup
in interface CourseOfferingService
registrationGroupId
- Id of RegistrationGroup to be updatedregistrationGroupInfo
- Details of updates to the RegistrationGroupcontext
- Context information containing the
principalId and locale information about the
caller of service operationDataValidationErrorException
- One or more values invalid for this
operationDoesNotExistException
- the registrationGroupId does not
existInvalidParameterException
- One or more parameters invalidMissingParameterException
- One or more parameters missingOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureVersionMismatchException
- The action was attempted on an out
of date version.ReadOnlyException
@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public StatusInfo deleteRegistrationGroup(String registrationGroupId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
deleteRegistrationGroup
in interface CourseOfferingService
registrationGroupId
- the Id of the RegistrationGroup to be deletedcontext
- Context information containing the principalId
and locale information about the caller of
service operationDoesNotExistException
- the RegistrationGroup does not existInvalidParameterException
- One or more parameters invalidMissingParameterException
- One or more parameters missingOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public List<BulkStatusInfo> deleteRegistrationGroupsByFormatOffering(String formatOfferingId, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
deleteRegistrationGroupsByFormatOffering
in interface CourseOfferingService
formatOfferingId
- the Id of the FormatOfferingcontext
- Context information containing the principalId
and locale information about the caller of
service operationInvalidParameterException
- One or more parameters invalidMissingParameterException
- One or more parameters missingOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public List<BulkStatusInfo> deleteGeneratedRegistrationGroupsByFormatOffering(String formatOfferingId, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
deleteGeneratedRegistrationGroupsByFormatOffering
in interface CourseOfferingService
formatOfferingId
- the Id of the FormatOfferingcontext
- Context information containing the principalId
and locale information about the caller of
service operationInvalidParameterException
- One or more parameters invalidMissingParameterException
- One or more parameters missingOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failurepublic List<BulkStatusInfo> deleteRegistrationGroupsForCluster(String activityOfferingClusterId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
deleteRegistrationGroupsForCluster
in interface CourseOfferingService
activityOfferingClusterId
- the Id of the FormatOfferingcontextInfo
- Context information containing the
principalId and locale information about
the caller of service operationInvalidParameterException
- invalid contextInfoMissingParameterException
- activityOfferingClusterId or
contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure has occurredpublic List<ValidationResultInfo> verifyRegistrationGroup(String registrationGroupId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CourseOfferingService
verifyRegistrationGroup
in interface CourseOfferingService
registrationGroupId
- the registrationGroup information to be
tested.contextInfo
- Context information containing the principalId
and locale information about the caller of
service operationDoesNotExistException
- contextInfo not foundInvalidParameterException
- invalid registrationGroupId or
contextInfoMissingParameterException
- registrationGroupId or contextInfo is
missing or nullOperationFailedException
- unable to complete requestpublic List<ValidationResultInfo> validateRegistrationGroup(String validationType, String activityOfferingClusterId, String registrationGroupType, RegistrationGroupInfo registrationGroupInfo, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
CourseOfferingService
validateRegistrationGroup
in interface CourseOfferingService
validationType
- Identifier of the extent of validationactivityOfferingClusterId
- Unique Id of the ActivityOfferingClusterregistrationGroupType
- the identifier for the RegistrationGroup
typeregistrationGroupInfo
- the registrationGroup information to be
tested.context
- Context information containing the
principalId and locale information about
the caller of service operationDoesNotExistException
- validationTypeKey not foundInvalidParameterException
- invalid validationTypeKey, academicCalendarInfoMissingParameterException
- missing validationTypeKey, academicCalendarInfoOperationFailedException
- unable to complete request@Transactional(readOnly=true) public ActivityOfferingClusterInfo getActivityOfferingCluster(String activityOfferingClusterId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getActivityOfferingCluster
in interface CourseOfferingService
activityOfferingClusterId
- Identifier of the Activity Offering
ClustercontextInfo
- Context information containing the
principalId and locale information about
the caller of service operationDoesNotExistException
- activityOfferingClusterId does not
existInvalidParameterException
- Invalid contextInfoMissingParameterException
- activityOfferingClusterId or
contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<ActivityOfferingClusterInfo> getActivityOfferingClustersByIds(List<String> activityOfferingClusterIds, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getActivityOfferingClustersByIds
in interface CourseOfferingService
activityOfferingClusterIds
- List of unique Ids of ActivityOfferingClusterscontextInfo
- Context information containing the principalId
and locale information about the caller of
service operationDoesNotExistException
- activityOfferingClusterId in the list not
foundInvalidParameterException
- invalid activityOfferingClusterIdsMissingParameterException
- missing activityOfferingClusterIdsOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure@Transactional(readOnly=true) public List<ActivityOfferingClusterInfo> getActivityOfferingClustersByFormatOffering(String formatOfferingId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getActivityOfferingClustersByFormatOffering
in interface CourseOfferingService
formatOfferingId
- Id of the FormatOfferingcontextInfo
- Context information containing the principalId
and locale information about the caller of
service operationDoesNotExistException
- courseOfferingId not foundInvalidParameterException
- invalid contextInfoMissingParameterException
- formatOfferingId or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public ActivityOfferingClusterInfo createActivityOfferingCluster(String formatOfferingId, String activityOfferingClusterTypeKey, ActivityOfferingClusterInfo activityOfferingClusterInfo, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException
CourseOfferingService
createActivityOfferingCluster
in interface CourseOfferingService
formatOfferingId
- Format Offering identifieractivityOfferingClusterTypeKey
- Activity Offering Cluster typeactivityOfferingClusterInfo
- Details of the ActivityOfferingCluster
to be createdcontextInfo
- Context information containing the
principalId and locale information
about the caller of service
operationDataValidationErrorException
- supplied data is invalidDoesNotExistException
- validationTypeKey or activityOfferingClusterTypeKey
not foundInvalidParameterException
- invalid activityOfferingClusterInfo
or contextInfoMissingParameterException
- validationTypeKey, activityOfferingClusterTypeKey
or activityOfferingClusterInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure has
occurredReadOnlyException
- an attempt at supplying information
designated as read onlypublic List<ValidationResultInfo> validateActivityOfferingCluster(String validationTypeKey, String formatOfferingId, ActivityOfferingClusterInfo activityOfferingClusterInfo, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
validateActivityOfferingCluster
in interface CourseOfferingService
validationTypeKey
- Identifier of the extent of
validationformatOfferingId
- Format Offering identifieractivityOfferingClusterInfo
- the Activity Offering Cluster
information to be validated.contextInfo
- Context information containing the
principalId and locale information
about the caller of service operationDoesNotExistException
- validationTypeKey or activityOfferingClusterTypeKey
not foundInvalidParameterException
- invalid activityOfferingClusterInfo or
contextInfoMissingParameterException
- validationTypeKey, activityOfferingClusterTypeKey,
activityOfferingClusterInfo or
contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failurepublic AOClusterVerifyResultsInfo verifyActivityOfferingClusterForGeneration(String activityOfferingClusterId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
verifyActivityOfferingClusterForGeneration
in interface CourseOfferingService
activityOfferingClusterId
- Activity Offering Cluster to be
verifiedcontextInfo
- Context information containing the
principalId and locale information about
the caller of service operationDoesNotExistException
- activityOfferingClusterId not foundInvalidParameterException
- invalid contextInfoMissingParameterException
- activityOfferingClusterId or
contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public ActivityOfferingClusterInfo updateActivityOfferingCluster(String formatOfferingId, String activityOfferingClusterId, ActivityOfferingClusterInfo activityOfferingClusterInfo, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException
CourseOfferingService
updateActivityOfferingCluster
in interface CourseOfferingService
formatOfferingId
- Format Offering identifieractivityOfferingClusterId
- Identifier of the Activity Offering
ClusteractivityOfferingClusterInfo
- ActivityOfferingCluster with new
informationcontextInfo
- Context information containing the
principalId and locale information
about the caller of service operationDataValidationErrorException
- supplied data is invalidDoesNotExistException
- activityOfferingClusterId does not
existInvalidParameterException
- Invalid activityOfferingClusterInfoMissingParameterException
- activityOfferingClusterId or
activityOfferingClusterInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure has
occurredReadOnlyException
- an attempt at supplying information
designated as read onlyVersionMismatchException
- optimistic locking failure or the
action was attempted on an out of
date version@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public StatusInfo deleteActivityOfferingCluster(String activityOfferingClusterId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, DependentObjectsExistException
CourseOfferingService
deleteActivityOfferingCluster
in interface CourseOfferingService
activityOfferingClusterId
- Identifier of the Activity Offering
Clustercontext
- Context information containing the
principalId and locale information about
the caller of service operationDoesNotExistException
- activityOfferingClusterId does not
existInvalidParameterException
- Invalid contextInfoMissingParameterException
- activityOfferingClusterId or
contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure has
occurredDependentObjectsExistException
- Registration Groups exist for this
cluster which prevents the delete
from occuring.@Transactional(readOnly=true) public SeatPoolDefinitionInfo getSeatPoolDefinition(String seatPoolDefinitionId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getSeatPoolDefinition
in interface CourseOfferingService
seatPoolDefinitionId
- Unique Id of the SeatPoolDefinitioncontext
- Context information containing the
principalId and locale information about the
caller of service operationDoesNotExistException
- seatPoolDefinitionId not foundInvalidParameterException
- invalid seatPoolDefinitionIdMissingParameterException
- missing seatPoolDefinitionIdOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure@Transactional(readOnly=true) public List<SeatPoolDefinitionInfo> getSeatPoolDefinitionsForActivityOffering(String activityOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getSeatPoolDefinitionsForActivityOffering
in interface CourseOfferingService
activityOfferingId
- Unique Id of the ActivityOfferingcontext
- Context information containing the principalId
and locale information about the caller of
service operationDoesNotExistException
- No ActivityOffering found for the specified activityOfferingIdInvalidParameterException
- context is nullMissingParameterException
- one or more missing parametersOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public SeatPoolDefinitionInfo createSeatPoolDefinition(SeatPoolDefinitionInfo seatPoolDefinitionInfo, ContextInfo context) throws DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException
CourseOfferingService
createSeatPoolDefinition
in interface CourseOfferingService
seatPoolDefinitionInfo
- Details of the SeatPoolDefinition to be
createdcontext
- Context information containing the
principalId and locale information about
the caller of service operationDataValidationErrorException
- One or more values invalid for this
operationInvalidParameterException
- One or more parameters invalidMissingParameterException
- One or more parameters missingOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureReadOnlyException
@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public SeatPoolDefinitionInfo updateSeatPoolDefinition(String seatPoolDefinitionId, SeatPoolDefinitionInfo seatPoolDefinitionInfo, ContextInfo context) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException
CourseOfferingService
updateSeatPoolDefinition
in interface CourseOfferingService
seatPoolDefinitionId
- Id of SeatPoolDefinition to be updatedseatPoolDefinitionInfo
- Details of updates to the SeatPoolDefinitioncontext
- Context information containing the
principalId and locale information about
the caller of service operationDataValidationErrorException
- One or more values invalid for this
operationDoesNotExistException
- the SeatPoolDefinition does not
existInvalidParameterException
- One or more parameters invalidMissingParameterException
- One or more parameters missingOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureVersionMismatchException
- The action was attempted on an out
of date version.ReadOnlyException
public List<ValidationResultInfo> validateSeatPoolDefinition(String validationTypeKey, SeatPoolDefinitionInfo seatPoolDefinitionInfo, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
validateSeatPoolDefinition
in interface CourseOfferingService
validationTypeKey
- * @param seatPoolDefinitionInfocontext
- Context information containing the
principalId and locale information about the
caller of service operationDoesNotExistException
- if validation type key is not foundInvalidParameterException
- the context or object is invalidMissingParameterException
- One or more parameters missingOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public StatusInfo deleteSeatPoolDefinition(String seatPoolDefinitionId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
deleteSeatPoolDefinition
in interface CourseOfferingService
seatPoolDefinitionId
- the Id of the SeatPoolDefinition to be
deletedcontext
- Context information containing the
principalId and locale information about the
caller of service operationDoesNotExistException
- the SeatPoolDefinition does not existInvalidParameterException
- One or more parameters invalidMissingParameterException
- One or more parameters missingOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure@Transactional(readOnly=true) public List<String> searchForCourseOfferingIds(QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
searchForCourseOfferingIds
in interface CourseOfferingService
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 occurred@Transactional(readOnly=true) public List<CourseOfferingInfo> searchForCourseOfferings(QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
searchForCourseOfferings
in interface CourseOfferingService
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<ActivityOfferingInfo> searchForActivityOfferings(QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
searchForActivityOfferings
in interface CourseOfferingService
criteria
- the search criteriacontext
- context 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 occurred@Transactional(readOnly=true) public List<String> searchForActivityOfferingIds(QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
searchForActivityOfferingIds
in interface CourseOfferingService
criteria
- the search criteriacontext
- context 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 occurred@Transactional(readOnly=true) public List<RegistrationGroupInfo> searchForRegistrationGroups(QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
searchForRegistrationGroups
in interface CourseOfferingService
criteria
- the search criteriacontext
- context 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 occurred@Transactional(readOnly=true) public List<String> searchForRegistrationGroupIds(QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
searchForRegistrationGroupIds
in interface CourseOfferingService
criteria
- the search criteriacontext
- context 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 occurred@Transactional(readOnly=true) public List<SeatPoolDefinitionInfo> searchForSeatpoolDefinitions(QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
searchForSeatpoolDefinitions
in interface CourseOfferingService
criteria
- the search criteriacontext
- context 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 occurred@Transactional(readOnly=true) public List<String> searchForSeatpoolDefinitionIds(QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
searchForSeatpoolDefinitionIds
in interface CourseOfferingService
criteria
- the search criteriacontext
- context 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 occurred@Transactional(readOnly=true) public TypeInfo getCourseOfferingType(String courseOfferingTypeKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getCourseOfferingType
in interface CourseOfferingService
courseOfferingTypeKey
- the unique identifier for the typecontext
- information containing the principalId and
locale information about the caller of
service operationDoesNotExistException
- courseOfferingTypeKey is not foundInvalidParameterException
- contextInfo is not validMissingParameterException
- courseOfferingTypeKey or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<TypeInfo> getCourseOfferingTypes(ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getCourseOfferingTypes
in interface CourseOfferingService
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 occurred@Transactional(readOnly=true) public List<TypeInfo> getInstructorTypesForCourseOfferingType(String courseOfferingTypeKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getInstructorTypesForCourseOfferingType
in interface CourseOfferingService
courseOfferingTypeKey
- a unqiue identifier for a CourseOffering
typecontext
- information containing the principalId and
locale information about the caller of
service operationDoesNotExistException
- deprecatedInvalidParameterException
- contextInfo is not validMissingParameterException
- courseOfferingTypeKey or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<TypeInfo> getInstructorTypesForActivityOfferingType(String activityOfferingTypeKey, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getInstructorTypesForActivityOfferingType
in interface CourseOfferingService
activityOfferingTypeKey
- a key for an activity offering typecontext
- information containing the principalId and
locale information about the caller of
service operationDoesNotExistException
- activityOfferingTypeKey not foundInvalidParameterException
- context is not valudMissingParameterException
- activityOfferingTypeKey or contextInfo
is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public StatusInfo addSeatPoolDefinitionToActivityOffering(String seatPoolDefinitionId, String activityOfferingId, ContextInfo contextInfo) throws AlreadyExistsException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
addSeatPoolDefinitionToActivityOffering
in interface CourseOfferingService
seatPoolDefinitionId
- a unique identifier for a SeatPoolDefinitionactivityOfferingId
- a unique identifier for an ActivityOfferingcontextInfo
- Context information containing the
principalId and locale information about the
caller of service operationAlreadyExistsException
- seatPoolDefinitionId already related to
activityOfferingIdDoesNotExistException
- seatPoolDefinitionId or activityOfferingId
not foundInvalidParameterException
- invalid seatPoolDefinitionId,
activityOfferingId, or contextInfoMissingParameterException
- missing seatPoolDefinitionId,
activityOfferingId, or contextInfoOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public StatusInfo removeSeatPoolDefinitionFromActivityOffering(String seatPoolDefinitionId, String activityOfferingId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
removeSeatPoolDefinitionFromActivityOffering
in interface CourseOfferingService
seatPoolDefinitionId
- a unique identifier for a SeatPoolDefinitionactivityOfferingId
- a unique identifier for an ActivityOfferingcontextInfo
- Context information containing the
principalId and locale information about the
caller of service operationDoesNotExistException
- seatPoolDefinitionId or activityOfferingId
not foundInvalidParameterException
- invalid seatPoolDefinitionId,
activityOfferingId, or contextInfoMissingParameterException
- missing seatPoolDefinitionId,
activityOfferingId, or contextInfoOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failurepublic StatusInfo changeCourseOfferingState(String courseOfferingId, String nextStateKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
changeCourseOfferingState
in interface CourseOfferingService
courseOfferingId
- Id of the CourseOffering to be changed.nextStateKey
- The State Key into which the identified
courseOffering will be placed if the operation
succeeds.contextInfo
- Context information containing the principalId
and locale information about the caller of
service operationDoesNotExistException
- the identified CourseOffering does not
existInvalidParameterException
- the contextInfo object is invalidMissingParameterException
- One or more parameters missingOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public StatusInfo changeFormatOfferingState(String formatOfferingId, String nextStateKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
changeFormatOfferingState
in interface CourseOfferingService
formatOfferingId
- Id of the FormatOffering to be changed.nextStateKey
- The State Key into which the identified
FormatOffering will be placed if the operation
succeeds.contextInfo
- Context information containing the principalId
and locale information about the caller of
service operationDoesNotExistException
- the identified FormatOffering does not
existInvalidParameterException
- the contextInfo object is invalidMissingParameterException
- One or more parameters missingOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public StatusInfo changeActivityOfferingState(String activityOfferingId, String nextStateKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
changeActivityOfferingState
in interface CourseOfferingService
activityOfferingId
- Id of the ActivityOffering to be changed.nextStateKey
- The State Key into which the identified
ActivityOffering will be placed if the
operation succeeds.contextInfo
- Context information containing the principalId
and locale information about the caller of
service operationDoesNotExistException
- the identified ActivityOffering does
not existInvalidParameterException
- the contextInfo object is invalidMissingParameterException
- One or more parameters missingOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public StatusInfo changeRegistrationGroupState(String registrationGroupId, String nextStateKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
changeRegistrationGroupState
in interface CourseOfferingService
registrationGroupId
- Id of the RegistrationGroup to be changed.nextStateKey
- The State Key into which the identified
RegistrationGroup will be placed if the
operation succeeds.contextInfo
- Context information containing the principalId
and locale information about the caller of
service operationDoesNotExistException
- the identified RegsitrationGroup does
not existInvalidParameterException
- the contextInfo object is invalidMissingParameterException
- One or more parameters missingOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public StatusInfo changeActivityOfferingClusterState(String activityOfferingClusterId, String nextStateKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
changeActivityOfferingClusterState
in interface CourseOfferingService
activityOfferingClusterId
- Id of the ActivityOfferingCluster to be
changed.nextStateKey
- The State Key into which the identified
ActivityOfferingCluster will be placed
if the operation succeeds.contextInfo
- Context information containing the
principalId and locale information about
the caller of service operationDoesNotExistException
- the identified ActivityOfferingCluster
does not existInvalidParameterException
- the contextInfo object is invalidMissingParameterException
- One or more parameters missingOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public StatusInfo changeSeatPoolDefinitionState(String seatPoolDefinitionId, String nextStateKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
changeSeatPoolDefinitionState
in interface CourseOfferingService
seatPoolDefinitionId
- Id of the SeatPoolDefinition to be changed.nextStateKey
- The State Key into which the identified
SeatPoolDefinition will be placed if the
operation succeeds.contextInfo
- Context information containing the
principalId and locale information about the
caller of service operationDoesNotExistException
- the identified SeatPoolDefinition does
not existInvalidParameterException
- the contextInfo object is invalidMissingParameterException
- One or more parameters missingOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure@Transactional(readOnly=true) public List<RegistrationGroupInfo> getRegistrationGroupsByActivityOfferingCluster(String activityOfferingClusterId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getRegistrationGroupsByActivityOfferingCluster
in interface CourseOfferingService
activityOfferingClusterId
- Unique Id of the ActivityOfferingClustercontextInfo
- information containing the principalId
and locale information about the caller
of service operationDoesNotExistException
- No ActivityOfferingCluster exists for
the specified activityOfferingClusterId.InvalidParameterException
- invalid contextInfo objectMissingParameterException
- one or more method parameters are
missing.OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure@Transactional(readOnly=true) public List<ActivityOfferingInfo> getActivityOfferingsByCluster(String activityOfferingClusterId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getActivityOfferingsByCluster
in interface CourseOfferingService
activityOfferingClusterId
- Unique Id of the ActivityOfferingClustercontextInfo
- Context information containing the
principalId and locale information about
the caller of service operationDoesNotExistException
- activityOfferingClusterId not foundInvalidParameterException
- invalid contextInfoMissingParameterException
- activityOfferingClusterId or
contextInfo is missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) public StatusInfo deleteActivityOfferingClusterCascaded(String activityOfferingClusterId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
deleteActivityOfferingClusterCascaded
in interface CourseOfferingService
activityOfferingClusterId
- the Id of the ActivityOfferingCluster to
be deletedcontextInfo
- Context information containing the
principalId and locale information about
the caller of service operationDoesNotExistException
- the identified Activity o does not
existInvalidParameterException
- One or more parameters invalidMissingParameterException
- One or more parameters missingOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure@Transactional(readOnly=true) public List<String> getActivityOfferingClustersIdsByFormatOffering(String formatOfferingId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
getActivityOfferingClustersIdsByFormatOffering
in interface CourseOfferingService
formatOfferingId
- Id of the FormatOfferingcontextInfo
- Context information containing the principalId
and locale information about the caller of
service operationDoesNotExistException
- courseOfferingId not foundInvalidParameterException
- invalid contextInfoMissingParameterException
- formatOfferingId or contextInfo is
missing or nullOperationFailedException
- unable to complete requestPermissionDeniedException
- an authorization failure occurred@Transactional(readOnly=true) public List<String> searchForActivityOfferingClusterIds(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
searchForActivityOfferingClusterIds
in interface CourseOfferingService
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 occurred@Transactional(readOnly=true) public List<ActivityOfferingClusterInfo> searchForActivityOfferingClusters(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
searchForActivityOfferingClusters
in interface CourseOfferingService
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 occurred@Transactional(readOnly=true) public List<String> searchForFormatOfferingIds(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
searchForFormatOfferingIds
in interface CourseOfferingService
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 occurred@Transactional(readOnly=true) public List<FormatOfferingInfo> searchForFormatOfferings(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseOfferingService
searchForFormatOfferings
in interface CourseOfferingService
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 occurredprotected boolean luiExists(String luiId, ContextInfo context)
protected QueryByCriteria buildScheduleRequestSetQBC(String luiId)
luiId
- public void setActivityOfferingClusterDao(ActivityOfferingClusterDaoApi activityOfferingClusterDao)
public void setActivityOfferingTransformer(ActivityOfferingTransformer activityOfferingTransformer)
public void setBusinessLogic(CourseOfferingServiceBusinessLogic businessLogic)
public void setCourseOfferingTransformer(CourseOfferingTransformer courseOfferingTransformer)
public void setOfferingCodeGenerator(CourseOfferingCodeGenerator offeringCodeGenerator)
public void setRegistrationGroupTransformer(RegistrationGroupTransformer registrationGroupTransformer)
public void setRgAssembler(RegistrationGroupAssembler rgAssembler)
public void setSeatPoolDefinitionDao(SeatPoolDefinitionDaoApi seatPoolDefinitionDao)
public StateTransitionsHelper getStateTransitionsHelper()
public void setStateTransitionsHelper(StateTransitionsHelper stateTransitionsHelper)
public AcademicCalendarService getAcalService()
public void setAcalService(AcademicCalendarService acalService)
public AtpService getAtpService()
public void setAtpService(AtpService atpService)
public CourseService getCourseService()
public void setCourseService(CourseService courseService)
public CourseWaitListService getCourseWaitListService()
public void setCourseWaitListService(CourseWaitListService courseWaitListService)
public ExamOfferingService getExamOfferingService()
public void setExamOfferingService(ExamOfferingService examOfferingService)
public void setCriteriaLookupService(CriteriaLookupService criteriaLookupService)
public LprService getLprService()
public void setLprService(LprService lprService)
public void setLrcService(LRCService lrcService)
public LuiService getLuiService()
public void setLuiService(LuiService luiService)
public RoomService getRoomService()
public void setRoomService(RoomService roomService)
public SchedulingService getSchedulingService()
public void setSchedulingService(SchedulingService schedulingService)
public SearchService getSearchService()
public void setSearchService(SearchService searchService)
public StateService getStateService()
public void setStateService(StateService stateService)
public TypeService getTypeService()
public void setTypeService(TypeService typeService)
public void setCourseOfferingServiceExtender(CourseOfferingServiceExtender extender)
public CourseOfferingServiceExtender getCourseOfferingServiceExtender()
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.