Interface | osid.course.program.EnrollmentLookupSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session defines methods for retrieving enrollments. An
This lookup session defines several views:
The methods Enrollments may have an additional records indicated by
their respective record types. The record may not be accessed
through a cast of the | ||
Method | getCourseCatalogId | ||
Description |
Gets the | ||
Return | osid.id.Id | the CourseCatalog Id associated with this session | |
Compliance | mandatory | This method must be implemented. | |
Method | getCourseCatalog | ||
Description |
Gets the | ||
Return | osid.course.CourseCatalog | the course catalog | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canLookupEnrollments | ||
Description |
Tests if this user can perform | ||
Return | boolean | false if lookup methods are not authorized, true
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | useComparativeEnrollmentView | ||
Description |
The returns from the lookup methods may omit or translate elements based on this session, such as authorization, and not result in an error. This view is used when greater interoperability is desired at the expense of precision. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | usePlenaryEnrollmentView | ||
Description |
A complete view of the | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useFederatedCourseCatalogView | ||
Description |
Federates the view for methods in this session. A federated view will include enrollments in catalogs which are children of this catalog in the course catalog hierarchy. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useIsolatedCourseCatalogView | ||
Description |
Isolates the view for methods in this session. An isolated view restricts retrievals to this course catalog only. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useEffectiveEnrollmentView | ||
Description |
Only enrollments whose effective dates are current are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useAnyEffectiveEnrollmentView | ||
Description |
All enrollments of any effective dates are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getEnrollment | ||
Description |
Gets the In effective mode, enrollments are returned that are currently effective. In any effective mode, effective enrollments and those currently expired are returned. | ||
Parameters | osid.id.Id | enrollmentId | the Id of the Enrollment to retrieve |
Return | osid.course.program.Enrollment | the returned Enrollment | |
Errors | NOT_FOUND | no Enrollment found with the given Id | |
NULL_ARGUMENT | enrollmentId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getEnrollmentsByIds | ||
Description |
Gets an In effective mode, enrollments are returned that are currently effective. In any effective mode, effective enrollments and those currently expired are returned. | ||
Parameters | osid.id.IdList | enrollmentIds | the list of Ids to retrieve |
Return | osid.course.program.EnrollmentList | the returned Enrollment list | |
Errors | NOT_FOUND | an Id was not found | |
NULL_ARGUMENT | enrollmentIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getEnrollmentsByGenusType | ||
Description |
Gets an In effective mode, enrollments are returned that are currently effective. In any effective mode, effective enrollments and those currently expired are returned. | ||
Parameters | osid.type.Type | enrollmentGenusType | an enrollment genus type |
Return | osid.course.program.EnrollmentList | the returned Enrollment list | |
Errors | NULL_ARGUMENT | enrollmentGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getEnrollmentsByParentGenusType | ||
Description |
Gets an In effective mode, enrollments are returned that are currently effective. In any effective mode, effective enrollments and those currently expired are returned. | ||
Parameters | osid.type.Type | enrollmentGenusType | an enrollment genus type |
Return | osid.course.program.EnrollmentList | the returned Enrollment list | |
Errors | NULL_ARGUMENT | enrollmentGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getEnrollmentsByRecordType | ||
Description |
Gets an In plenary mode, the returned list contains all known enrollments or an error results. Otherwise, the returned list may contain only those enrollments that are accessible through this session. In effective mode, enrollments are returned that are currently effective. In any effective mode, effective enrollments and those currently expired are returned. | ||
Parameters | osid.type.Type | enrollmentRecordType | an enrollment record type |
Return | osid.course.program.EnrollmentList | the returned Enrollment list | |
Errors | NULL_ARGUMENT | enrollmentRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getEnrollmentsOnDate | ||
Description |
Gets all In plenary mode, the returned list contains all known enrollments or an error results. Otherwise, the returned list may contain only those enrollments that are accessible through this session. In effective mode, enrollments are returned that are currently effective. In any effective mode, effective enrollments and those currently expired are returned. | ||
Parameters | osid.calendaring.DateTime | from | start of date range |
osid.calendaring.DateTime | to | end of date range | |
Return | osid.course.program.EnrollmentList | a list of Enrollments | |
Errors | INVALID_ARGUMENT | from is greater than to | |
NULL_ARGUMENT | from or to is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getEnrollmentsForProgramOffering | ||
Description |
Gets all In plenary mode, the returned list contains all known enrollments or an error results. Otherwise, the returned list may contain only those enrollments that are accessible through this session. In effective mode, enrollments are returned that are currently effective. In any effective mode, effective enrollments and those currently expired are returned. | ||
Parameters | osid.id.Id | programOfferingId | a program offering Id |
Return | osid.course.program.EnrollmentList | a list of Enrollments | |
Errors | NULL_ARGUMENT | programOfferingId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getEnrollmentsForProgramOfferingOnDate | ||
Description |
Gets all In plenary mode, the returned list contains all known enrollments or an error results. Otherwise, the returned list may contain only those enrollments that are accessible through this session. In effective mode, enrollments are returned that are currently effective. In any effective mode, effective enrollments and those currently expired are returned. | ||
Parameters | osid.id.Id | programOfferingId | a program offering Id |
osid.calendaring.DateTime | from | start of date range | |
osid.calendaring.DateTime | to | end of date range | |
Return | osid.course.program.EnrollmentList | a list of Enrollments | |
Errors | INVALID_ARGUMENT | from is greater than to | |
NULL_ARGUMENT | programOfferingId, from, or to is null
| ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getEnrollmentsForStudent | ||
Description |
Gets all In plenary mode, the returned list contains all known enrollments or an error results. Otherwise, the returned list may contain only those enrollments that are accessible through this session. In effective mode, enrollments are returned that are currently effective. In any effective mode, effective enrollments and those currently expired are returned. | ||
Parameters | osid.id.Id | resourceId | a resource Id |
Return | osid.course.program.EnrollmentList | a list of Enrollments | |
Errors | NULL_ARGUMENT | resourceId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getEnrollmentsForStudentOnDate | ||
Description |
Gets all In plenary mode, the returned list contains all known enrollments or an error results. Otherwise, the returned list may contain only those enrollments that are accessible through this session. In effective mode, enrollments are returned that are currently effective. In any effective mode, effective enrollments and those currently expired are returned. | ||
Parameters | osid.id.Id | resourceId | a resource Id |
osid.calendaring.DateTime | from | start of date range | |
osid.calendaring.DateTime | to | end of date range | |
Return | osid.course.program.EnrollmentList | a list of Enrollments | |
Errors | INVALID_ARGUMENT | from is greater than to | |
NULL_ARGUMENT | resourceId, from or to is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getEnrollmentsForProgramOfferingAndStudent | ||
Description |
Gets all In plenary mode, the returned list contains all known enrollments or an error results. Otherwise, the returned list may contain only those enrollments that are accessible through this session. In effective mode, enrollments are returned that are currently effective. In any effective mode, effective enrollments and those currently expired are returned. | ||
Parameters | osid.id.Id | programOfferingId | a program offering Id |
osid.id.Id | resourceId | a resource Id | |
Return | osid.course.program.EnrollmentList | a list of Enrollments | |
Errors | NULL_ARGUMENT | programOfferingId or resourceId is
null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getEnrollmentsForProgramOfferingAndStudentOnDate | ||
Description |
Gets all In plenary mode, the returned list contains all known enrollments or an error results. Otherwise, the returned list may contain only those enrollments that are accessible through this session. In effective mode, enrollments are returned that are currently effective. In any effective mode, effective enrollments and those currently expired are returned. | ||
Parameters | osid.id.Id | programOfferingId | a program offering Id |
osid.id.Id | resourceId | a resource Id | |
osid.calendaring.DateTime | from | start of date range | |
osid.calendaring.DateTime | to | end of date range | |
Return | osid.course.program.EnrollmentList | a list of Enrollments | |
Errors | INVALID_ARGUMENT | from is greater than to | |
NULL_ARGUMENT | programOfferingId, resourceId, from or to is
null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getEnrollmentsForProgram | ||
Description |
Gets all In plenary mode, the returned list contains all known enrollments or an error results. Otherwise, the returned list may contain only those enrollments that are accessible through this session. In effective mode, enrollments are returned that are currently effective. In any effective mode, effective enrollments and those currently expired are returned. | ||
Parameters | osid.id.Id | programId | a program Id |
Return | osid.course.program.EnrollmentList | a list of Enrollments | |
Errors | NULL_ARGUMENT | programId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getEnrollmentsForProgramOnDate | ||
Description |
Gets all In plenary mode, the returned list contains all known enrollments or an error results. Otherwise, the returned list may contain only those enrollments that are accessible through this session. In effective mode, enrollments are returned that are currently effective. In any effective mode, effective enrollments and those currently expired are returned. | ||
Parameters | osid.id.Id | programId | a program Id |
osid.calendaring.DateTime | from | start of date range | |
osid.calendaring.DateTime | to | end of date range | |
Return | osid.course.program.EnrollmentList | a list of Enrollments | |
Errors | INVALID_ARGUMENT | from is greater than to | |
NULL_ARGUMENT | programId, from or to is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getEnrollmentsForProgramAndStudent | ||
Description |
Gets all In plenary mode, the returned list contains all known enrollments or an error results. Otherwise, the returned list may contain only those enrollments that are accessible through this session. In effective mode, enrollments are returned that are currently effective. In any effective mode, effective enrollments and those currently expired are returned. | ||
Parameters | osid.id.Id | programId | a program Id |
osid.id.Id | resourceId | a resource Id | |
Return | osid.course.program.EnrollmentList | a list of Enrollments | |
Errors | NULL_ARGUMENT | programId or resourceId is null
| |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getEnrollmentsForProgramAndStudentOnDate | ||
Description |
Gets all In plenary mode, the returned list contains all known enrollments or an error results. Otherwise, the returned list may contain only those enrollments that are accessible through this session. In effective mode, enrollments are returned that are currently effective. In any effective mode, effective enrollments and those currently expired are returned. | ||
Parameters | osid.id.Id | programId | a program Id |
osid.id.Id | resourceId | a resource Id | |
osid.calendaring.DateTime | from | start of date range | |
osid.calendaring.DateTime | to | end of date range | |
Return | osid.course.program.EnrollmentList | a list of Enrollments | |
Errors | INVALID_ARGUMENT | from is greater than to | |
NULL_ARGUMENT | programId, resourceId, from, or to is
null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getEnrollments | ||
Description |
Gets all In plenary mode, the returned list contains all known enrollments or an error results. Otherwise, the returned list may contain only those enrollments that are accessible through this session. In effective mode, enrollments are returned that are currently effective. In any effective mode, effective enrollments and those currently expired are returned. | ||
Return | osid.course.program.EnrollmentList | a list of Enrollments | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |