Interface | osid.course.CourseCatalogLookupSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods for retrieving This session defines views that offer differing behaviors when retrieving multiple objects.
Generally, the comparative view should be used for most
applications as it permits operation even if there is data
that cannot be accessed. For example, a browsing application
may only need to examine the | ||
Method | canLookupCourseCatalogs | ||
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 | useComparativeCourseCatalogView | ||
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 | usePlenaryCourseCatalogView | ||
Description |
A complete view of the | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getCourseCatalog | ||
Description |
Gets the | ||
Parameters | osid.id.Id | courseCatalogId | Id of the CourseCatalog |
Return | osid.course.CourseCatalog | the course catalog | |
Errors | NOT_FOUND | courseCatalogId not found | |
NULL_ARGUMENT | courseCatalogId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getCourseCatalogsByIds | ||
Description |
Gets a | ||
Parameters | osid.id.IdList | courseCatalogIds | the list of Ids to retrieve |
Return | osid.course.CourseCatalogList | the returned CourseCatalog list | |
Errors | NOT_FOUND | an Id was not found | |
NULL_ARGUMENT | courseCatalogIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCourseCatalogsByGenusType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | courseCatalogGenusType | a course catalog genus type |
Return | osid.course.CourseCatalogList | the returned CourseCatalog list | |
Errors | NULL_ARGUMENT | courseCatalogGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCourseCatalogsByParentGenusType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | courseCatalogGenusType | a course catalog genus type |
Return | osid.course.CourseCatalogList | the returned CourseCatalog list | |
Errors | NULL_ARGUMENT | courseCatalogGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCourseCatalogsByRecordType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | courseCatalogRecordType | a course catalog record type |
Return | osid.course.CourseCatalogList | the returned CourseCatalog list | |
Errors | NULL_ARGUMENT | courseCatalogRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCourseCatalogsByProvider | ||
Description |
Gets a | ||
Parameters | osid.id.Id | resourceId | a resource Id |
Return | osid.course.CourseCatalogList | the returned CourseCatalog list | |
Errors | NULL_ARGUMENT | resourceId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCourseCatalogs | ||
Description |
Gets all | ||
Return | osid.course.CourseCatalogList | a list of CourseCatalogs | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |