Interface | osid.course.syllabus.ModuleLookupSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session defines methods for retrieving modules. 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 | canLookupModules | ||
Description |
Tests if this user can lookup modules. A return of true
does not guarantee successful authorization. A return of
false indicates that it is known all methods in this
session will result in a | ||
Return | boolean | false if module lookup methods are not authorized,
true otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | useComparativeModuleView | ||
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 | usePlenaryModuleView | ||
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 modules in course catalogs which are children of this course 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 | useActiveModuleView | ||
Description |
Only active modules are returned from methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useAnyStatusModuleView | ||
Description |
Borth active and inactive modules are returned from methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getModule | ||
Description |
Gets the In active mode, modeules are returned that are currently active. In any status mode, active and inactive modules are returned. | ||
Parameters | osid.id.Id | moduleId | the Id of the Module to retrieve |
Return | osid.course.syllabus.Module | the returned Module | |
Errors | NOT_FOUND | no Module found with the given Id | |
NULL_ARGUMENT | moduleId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getModulesByIds | ||
Description |
Gets a In active mode, modeules are returned that are currently active. In any status mode, active and inactive modules are returned. | ||
Parameters | osid.id.IdList | moduleIds | the list of Ids to retrieve |
Return | osid.course.syllabus.ModuleList | the returned Module list | |
Errors | NOT_FOUND | an Id was not found | |
NULL_ARGUMENT | moduleIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getModulesByGenusType | ||
Description |
Gets a In active mode, modeules are returned that are currently active. In any status mode, active and inactive modules are returned. | ||
Parameters | osid.type.Type | moduleGenusType | a module genus type |
Return | osid.course.syllabus.ModuleList | the returned Module list | |
Errors | NULL_ARGUMENT | moduleGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getModulesByParentGenusType | ||
Description |
Gets a In plenary mode, the returned list contains all known modules or an error results. Otherwise, the returned list may contain only those modules that are accessible through this session. In active mode, modeules are returned that are currently active. In any status mode, active and inactive modules are returned. | ||
Parameters | osid.type.Type | moduleGenusType | a module genus type |
Return | osid.course.syllabus.ModuleList | the returned Module list | |
Errors | NULL_ARGUMENT | moduleGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getModulesByRecordType | ||
Description |
Gets a In active mode, modeules are returned that are currently active. In any status mode, active and inactive modules are returned. | ||
Parameters | osid.type.Type | moduleRecordType | a module record type |
Return | osid.course.syllabus.ModuleList | the returned Module list | |
Errors | NULL_ARGUMENT | moduleRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getModulesByProvider | ||
Description |
Gets a In active mode, modeules are returned that are currently active. In any status mode, active and inactive modules are returned. | ||
Parameters | osid.id.Id | resourceId | a resource Id |
Return | osid.course.syllabus.ModuleList | the returned Module 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 | getModulesForSyllabus | ||
Description |
Gets a In active mode, modeules are returned that are currently active. In any status mode, active and inactive modules are returned. | ||
Parameters | osid.id.Id | syllabusId | a syllabus Id |
Return | osid.course.syllabus.ModuleList | the returned Module list | |
Errors | NULL_ARGUMENT | syllabusId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getModules | ||
Description |
Gets all modules. In plenary mode, the returned list contains all known modules or an error results. Otherwise, the returned list may contain only those modules that are accessible through this session. In active mode, modeules are returned that are currently active. In any status mode, active and inactive modules are returned. | ||
Return | osid.course.syllabus.ModuleList | a list of modules | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |