public interface CourseWaitlistService
Modifier and Type | Method and Description |
---|---|
StatusInfo |
deleteCourseWaitlistEntry(String courseWaitlistEntryId,
ContextInfo context)
Deletes a course waitlist entry
|
Integer |
getAvailableSeatsForCourseOffering(String courseOfferingId,
ContextInfo context)
Retrieves the open seat count for a particular course offering.
|
Integer |
getAvailableSeatsForRegGroup(String regGroupId,
ContextInfo context)
Get available seats for the registration group.
|
Integer |
getAvailableSeatsForStudentInRegGroup(String studentId,
String regGroupId,
ContextInfo context)
Gets the number of seats available for a particular student in a
registration group.
|
Integer |
getAvailableSeatsInSeatpool(String seatpoolId,
ContextInfo context)
Returns the available seats in a particular seat pool.
|
List<CourseWaitlistEntryInfo> |
getCourseWaitlistEntriesForCourseOffering(String courseOfferingId,
ContextInfo context)
Gets the course waitlist entries for a course offering.
|
List<CourseWaitlistEntryInfo> |
getCourseWaitlistEntriesForRegGroup(String regGroupId,
ContextInfo context)
Gets the course waitlist entries for a reg group.
|
List<CourseWaitlistEntryInfo> |
getCourseWaitlistEntriesForStudentByTerm(String studentId,
String termId,
ContextInfo context)
Get all the waitlist the student is in for a term.
|
List<CourseWaitlistEntryInfo> |
getCourseWaitlistEntriesForStudentInCourseOffering(String courseOfferingId,
String studentId,
ContextInfo context)
Gets the waitlist entries for a course offering by student.
|
CourseWaitlistEntryInfo |
getCourseWaitlistEntry(String courseWaitlistEntryId,
ContextInfo context)
Gets a course waitlist entry by id.
|
CourseWaitlistEntryInfo |
getCourseWaitlistEntryForStudentInRegGroup(String regGroupId,
String studentId,
ContextInfo context)
Gets the waitlist for a reg group and student.
|
StatusInfo |
insertCourseWaitlistEntryAtPosition(String courseWaitlistEntryId,
Integer position,
ContextInfo context)
Insert a waitlist entry at a particular position in the waitlist.
|
RegistrationResponseInfo |
registerStudentFromWaitlist(String courseWaitlistEntryId,
ContextInfo context)
Register a student to a reg group from a waitlist.
|
StatusInfo |
removeCourseWaitlistEntry(String courseWaitlistEntryId,
ContextInfo context)
Remove the
CourseWaitlistEntryInfo , change its state to CANCELLED |
StatusInfo |
reorderCourseWaitlistEntries(List<String> courseWaitlistEntryIds,
ContextInfo context)
Reorder all the entries that are passed in in the input list, i.e.,
update each of the entries rank to begin from the top and push the
entries not in the list to the ranks after the entries.
|
List<CourseWaitlistEntryInfo> |
searchForCourseWaitlistEntries(QueryByCriteria criteria,
ContextInfo context)
This method ...
|
List<String> |
searchForCourseWaitlistEntryIds(QueryByCriteria criteria,
ContextInfo context)
This method ...
|
StatusInfo |
updateCourseWaitlistEntry(String courseWaitlistEntryId,
CourseWaitlistEntryInfo courseWaitlistEntryInfo,
ContextInfo context)
Updates a course waitlist entry
|
StatusInfo |
validateCourseWaitlistEntry(String validateTypeKey,
CourseWaitlistEntryInfo courseWaitlistEntryInfo,
ContextInfo context)
Validates a course waitlist entry.
|
Integer getAvailableSeatsForCourseOffering(String courseOfferingId, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
courseOfferingId
- context
- InvalidParameterException
- Invalid courseOfferingId in the inputMissingParameterException
- Missing courseOfferingId in the inputOperationFailedException
- Unable to complete requestPermissionDeniedException
- Not authorized to do this operationInteger getAvailableSeatsForRegGroup(String regGroupId, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
regGroupId
- Identifier of the registration groupcontext
- InvalidParameterException
- Invalid regGroupId in the inputMissingParameterException
- Missing regGroupId in the inputOperationFailedException
- Unable to complete requestPermissionDeniedException
- Not authorized to do this operationInteger getAvailableSeatsForStudentInRegGroup(String studentId, String regGroupId, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
Implementation notes : Seats available for a student taking seat pool (if any) into consideration.
studentId
- Identifier of the studentregGroupId
- Identifier of the registration groupcontext
- InvalidParameterException
- Invalid studentId or regGroupId in the
inputMissingParameterException
- Missing studentId or regGroupId in the
inputOperationFailedException
- Unable to complete requestPermissionDeniedException
- Not authorized to do this operationInteger getAvailableSeatsInSeatpool(String seatpoolId, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
studentId
- Identifier of the studentseatpoolId
- Identifier of the seatpoolcontext
- InvalidParameterException
- Invalid seatpool in the inputMissingParameterException
- Missing parameter seatpoolId in the
inputOperationFailedException
- Unable to complete requestPermissionDeniedException
- Not authorized to do this operationCourseWaitlistEntryInfo getCourseWaitlistEntry(String courseWaitlistEntryId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
courseWaitlistEntryId
- Id of the course waitlist entrycontext
- DoesNotExistException
- No courseWaitlistEntryId existsInvalidParameterException
- Invalid courseWaitlistEntryIdMissingParameterException
- Missing courseWaitlistEntryId in the
inputOperationFailedException
- Unable to complete requestPermissionDeniedException
- Not authorized to do this operationStatusInfo updateCourseWaitlistEntry(String courseWaitlistEntryId, CourseWaitlistEntryInfo courseWaitlistEntryInfo, ContextInfo context) throws DoesNotExistException, DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
courseWaitlistEntryId
- Id of the course waitlist entry to be
updatedcourseWaitlistEntryInfo
- The modified
CourseWaitlistEntryInfo
context
- AlreadyExistsException
DataValidationErrorException
- The courseWaitlistEntryInfo is not
validInvalidParameterException
- Invalid courseWaitlistEntryId or
courseWaitlistEntryInfo in the inputMissingParameterException
- Missing courseWaitlistEntryId or
courseWaitlistEntryInfo in the inputOperationFailedException
- Unable to complete requestPermissionDeniedException
- Not authorized to do this operationDoesNotExistException
StatusInfo reorderCourseWaitlistEntries(List<String> courseWaitlistEntryIds, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
courseWaitlistEntryId
- position
- context
- DataValidationErrorException
InvalidParameterException
- Invalid courseWaitlistEntryIds in the
inputMissingParameterException
- Missing courseWaitlistEntryIdsin the
inputOperationFailedException
- Unable to complete requestPermissionDeniedException
- Not authorized to do this operationDoesNotExistException
StatusInfo insertCourseWaitlistEntryAtPosition(String courseWaitlistEntryId, Integer position, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
courseWaitlistEntryId
- The id of the course waitlist entryposition
- The new rank for the waitlist entrycontext
- DoesNotExistException
- The courseWaitlistEntryId is not foundInvalidParameterException
- The courseWaitlistEntryId is invalidMissingParameterException
- Input courseWaitlistEntryId or position
is missingOperationFailedException
- Unable to complete requestPermissionDeniedException
- Not authorized to do this operationStatusInfo removeCourseWaitlistEntry(String courseWaitlistEntryId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseWaitlistEntryInfo
, change its state to CANCELLEDcourseWaitlistEntryId
- The id of the course waitlist entrycontext
- DoesNotExistException
- The courseWaitlistEntryId is not foundInvalidParameterException
- The courseWaitlistEntryId is invalidMissingParameterException
- Input courseWaitlistEntryId or position
is missingOperationFailedException
- Unable to complete requestPermissionDeniedException
- Not authorized to do this operationStatusInfo deleteCourseWaitlistEntry(String courseWaitlistEntryId, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
courseWaitlistEntryId
- context
- InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
StatusInfo validateCourseWaitlistEntry(String validateTypeKey, CourseWaitlistEntryInfo courseWaitlistEntryInfo, ContextInfo context) throws DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
validateTypeKey
- courseWaitlistEntryInfo
- context
- DataValidationErrorException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
RegistrationResponseInfo registerStudentFromWaitlist(String courseWaitlistEntryId, ContextInfo context) throws AlreadyExistsException, DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
regRequestInfo
- context
- AlreadyExistsException
DataValidationErrorException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
List<CourseWaitlistEntryInfo> getCourseWaitlistEntriesForCourseOffering(String courseOfferingId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
courseOfferingId
- context
- InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
DoesNotExistException
List<CourseWaitlistEntryInfo> getCourseWaitlistEntriesForRegGroup(String regGroupId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
courseOfferingId
- context
- InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
DoesNotExistException
List<CourseWaitlistEntryInfo> getCourseWaitlistEntriesForStudentInCourseOffering(String courseOfferingId, String studentId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
courseOfferingId
- context
- InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
DoesNotExistException
CourseWaitlistEntryInfo getCourseWaitlistEntryForStudentInRegGroup(String regGroupId, String studentId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
courseOfferingId
- context
- InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
DoesNotExistException
List<CourseWaitlistEntryInfo> getCourseWaitlistEntriesForStudentByTerm(String studentId, String termId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
studentId
- termId
- context
- InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
DoesNotExistException
List<CourseWaitlistEntryInfo> searchForCourseWaitlistEntries(QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
criteria
- InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
List<String> searchForCourseWaitlistEntryIds(QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
criteria
- InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.