|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CourseWaitlistService
The Course Registration Service is a Class II service supporting the process of registering a student in course(s) for a term. The service provides operations for creating and validating registration requests , registering for a course, waitlist processing, and dropping a course. This service supports the concept of registration cart in the application and all of the transactional requests for registration are made through this service. As part of negotiating the student's registration, operations are provided to manage related exceptions and holds related to registration.
Method Summary | |
---|---|
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(org.kuali.rice.core.api.criteria.QueryByCriteria criteria,
ContextInfo context)
This method ... |
List<String> |
searchForCourseWaitlistEntryIds(org.kuali.rice.core.api.criteria.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. |
Method Detail |
---|
Integer getAvailableSeatsForCourseOffering(String courseOfferingId, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
courseOfferingId
- context
-
InvalidParameterException
- Invalid courseOfferingId in the input
MissingParameterException
- Missing courseOfferingId in the input
OperationFailedException
- Unable to complete request
PermissionDeniedException
- 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 input
MissingParameterException
- Missing regGroupId in the input
OperationFailedException
- Unable to complete request
PermissionDeniedException
- 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
input
MissingParameterException
- Missing studentId or regGroupId in the
input
OperationFailedException
- Unable to complete request
PermissionDeniedException
- 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 input
MissingParameterException
- Missing parameter seatpoolId in the
input
OperationFailedException
- Unable to complete request
PermissionDeniedException
- 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 exists
InvalidParameterException
- Invalid courseWaitlistEntryId
MissingParameterException
- Missing courseWaitlistEntryId in the
input
OperationFailedException
- Unable to complete request
PermissionDeniedException
- 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
valid
InvalidParameterException
- Invalid courseWaitlistEntryId or
courseWaitlistEntryInfo in the input
MissingParameterException
- Missing courseWaitlistEntryId or
courseWaitlistEntryInfo in the input
OperationFailedException
- Unable to complete request
PermissionDeniedException
- Not authorized to do this operation
DoesNotExistException
StatusInfo reorderCourseWaitlistEntries(List<String> courseWaitlistEntryIds, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
courseWaitlistEntryId
- position
- context
-
DataValidationErrorException
InvalidParameterException
- Invalid courseWaitlistEntryIds in the
input
MissingParameterException
- Missing courseWaitlistEntryIdsin the
input
OperationFailedException
- Unable to complete request
PermissionDeniedException
- Not authorized to do this operation
DoesNotExistException
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 found
InvalidParameterException
- The courseWaitlistEntryId is invalid
MissingParameterException
- Input courseWaitlistEntryId or position
is missing
OperationFailedException
- Unable to complete request
PermissionDeniedException
- Not authorized to do this operationStatusInfo removeCourseWaitlistEntry(String courseWaitlistEntryId, ContextInfo context) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
CourseWaitlistEntryInfo
, change its state to CANCELLED
courseWaitlistEntryId
- The id of the course waitlist entrycontext
-
DoesNotExistException
- The courseWaitlistEntryId is not found
InvalidParameterException
- The courseWaitlistEntryId is invalid
MissingParameterException
- Input courseWaitlistEntryId or position
is missing
OperationFailedException
- Unable to complete request
PermissionDeniedException
- 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(org.kuali.rice.core.api.criteria.QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
criteria
-
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
List<String> searchForCourseWaitlistEntryIds(org.kuali.rice.core.api.criteria.QueryByCriteria criteria, ContextInfo context) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
criteria
-
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |