Interface | osid.course.registration.ActivityBundleLookupSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session defines methods for retrieving activity
bundles. An This lookup session defines several views:
The methods | ||
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 | canLookupActivityBundles | ||
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 | useComparativeActivityBundleView | ||
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 | usePlenaryActivityBundleView | ||
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 activity bundles 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 | getActivityBundle | ||
Description |
Gets the | ||
Parameters | osid.id.Id | activityBundleId | the Id of the ActivityBundle to retrieve |
Return | osid.course.registration.ActivityBundle | the returned ActivityBundle | |
Errors | NOT_FOUND | no ActivityBundle found with the given Id | |
NULL_ARGUMENT | activityBundleId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getActivityBundlesByIds | ||
Description |
Gets an | ||
Parameters | osid.id.IdList | activityBundleIds | the list of Ids to retrieve |
Return | osid.course.registration.ActivityBundleList | the returned ActivityBundle list | |
Errors | NOT_FOUND | an Id was not found | |
NULL_ARGUMENT | activityBundleIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getActivityBundlesByGenusType | ||
Description |
Gets an | ||
Parameters | osid.type.Type | activityBundleGenusType | an activity bundle genus type |
Return | osid.course.registration.ActivityBundleList | the returned ActivityBundle list | |
Errors | NULL_ARGUMENT | activityBundleGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getActivityBundlesByParentGenusType | ||
Description |
Gets an | ||
Parameters | osid.type.Type | activityBundleGenusType | an activity bundle genus type |
Return | osid.course.registration.ActivityBundleList | the returned ActivityBundle list | |
Errors | NULL_ARGUMENT | activityBundleGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getActivityBundlesByRecordType | ||
Description |
Gets an | ||
Parameters | osid.type.Type | activityBundleRecordType | an activity bundle record type |
Return | osid.course.registration.ActivityBundleList | the returned ActivityBundle list | |
Errors | NULL_ARGUMENT | activityBundleRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getActivityBundlesForCourseOffering | ||
Description |
Gets an | ||
Parameters | osid.id.Id | courseOfferingId | a course offering Id |
Return | osid.course.registration.ActivityBundleList | the returned ActivityBundle list | |
Errors | NULL_ARGUMENT | courseOfferingId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getActivityBundlesByActivity | ||
Description |
Gets an | ||
Parameters | osid.id.Id | activityId | an activity Id |
Return | osid.course.registration.ActivityBundleList | the returned ActivityBundle list | |
Errors | NULL_ARGUMENT | activityId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getActivityBundles | ||
Description |
Gets all | ||
Return | osid.course.registration.ActivityBundleList | a list of ActivityBundles | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |