| Interface | osid.course.syllabus.DocetLookupSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | This session provides methods for retrieving  This session defines views that offer differing behaviors when retrieving multiple objects. 
 | ||
| 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 | canLookupDocets | ||
| 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 | useComparativeDocetView | ||
| 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 | usePlenaryDocetView | ||
| 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 docetsin 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 | useEffectiveDocetView | ||
| Description | Only docets whose effective dates are current are returned by methods in this session. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useAnyEffectiveDocetView | ||
| Description | All docets of any effective dates are returned by all methods in this session. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getDocet | ||
| Description | Gets the    In effective mode, docets are returned that are currently effective. In any effective mode, effective docets and those currently expired are returned. | ||
| Parameters | osid.id.Id | docetId |  Id of the Docet  | 
| Return | osid.course.syllabus.Docet | the docet | |
| Errors | NOT_FOUND |  docetId not found | |
| NULL_ARGUMENT |  docetId is null  | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getDocetsByIds | ||
| Description | Gets an    In effective mode, docets are returned that are currently effective. In any effective mode, effective docets and those currently expired are returned. | ||
| Parameters | osid.id.IdList | docetIds | the list of  Ids to retrieve | 
| Return | osid.course.syllabus.DocetList | the returned  Docet list | |
| Errors | NOT_FOUND | an  Id was not found | |
| NULL_ARGUMENT |  docetIds is null  | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getDocetsByGenusType | ||
| Description | Gets an    In effective mode, docets are returned that are currently effective. In any effective mode, effective docets and those currently expired are returned. | ||
| Parameters | osid.type.Type | docetGenusType | a docet genus type | 
| Return | osid.course.syllabus.DocetList | the returned  Docet list | |
| Errors | NULL_ARGUMENT |  docetGenusType is null  | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getDocetsByParentGenusType | ||
| Description | Gets an    In effective mode, docets are returned that are currently effective. In any effective mode, effective docets and those currently expired are returned. | ||
| Parameters | osid.type.Type | docetGenusType | a docet genus type | 
| Return | osid.course.syllabus.DocetList | the returned  Docet list | |
| Errors | NULL_ARGUMENT |  docetGenusType is null  | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getDocetsByRecordType | ||
| Description | Gets an    In effective mode, docets are returned that are currently effective. In any effective mode, effective docets and those currently expired are returned. | ||
| Parameters | osid.type.Type | docetRecordType | a docet record type | 
| Return | osid.course.syllabus.DocetList | the returned  Docet list | |
| Errors | NULL_ARGUMENT |  docetRecordType is null  | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getDocetsOnDate | ||
| Description | Gets an  In plenary mode, the returned list contains all known docetsor an error results. Otherwise, the returned list may contain only those docets that are accessible through this session. In effective mode, docets are returned that are currently effective. In any effective mode, effective docets and those currently expired are returned. | ||
| Parameters | osid.calendaring.DateTime | from | s atsrting date | 
| osid.calendaring.DateTime | to | an ending date | |
| Return | osid.course.syllabus.DocetList | the returned  Docet list | |
| 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 | getDocetsForModule | ||
| Description | Gets an    In effective mode, docets are returned that are currently effective. In any effective mode, effective docets and those currently expired are returned. | ||
| Parameters | osid.id.Id | moduleId | a module  Id  | 
| Return | osid.course.syllabus.DocetList | the returned  Docet list | |
| Errors | NULL_ARGUMENT |  moduleId is null  | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getDocetsForModuleOnDate | ||
| Description | Gets an  In plenary mode, the returned list contains all known docetsor an error results. Otherwise, the returned list may contain only those docets that are accessible through this session. In effective mode, docets are returned that are currently effective. In any effective mode, effective docets and those currently expired are returned. | ||
| Parameters | osid.id.Id | moduleId | a module  Id  | 
| osid.calendaring.DateTime | from | s atsrting date | |
| osid.calendaring.DateTime | to | an ending date | |
| Return | osid.course.syllabus.DocetList | the returned  Docet list | |
| Errors | INVALID_ARGUMENT |  from is greater than to  | |
| NULL_ARGUMENT |  moduleId, from or to is null  | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getDocetsForActivityUnit | ||
| Description | Gets an    In effective mode, docets are returned that are currently effective. In any effective mode, effective docets and those currently expired are returned. | ||
| Parameters | osid.id.Id | activityUnitId | an activity unit  Id  | 
| Return | osid.course.syllabus.DocetList | the returned  Docet list | |
| Errors | NULL_ARGUMENT |  activityUnitId is null  | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getDocetsForActivityUnitOnDate | ||
| Description | Gets an  In plenary mode, the returned list contains all known docetsor an error results. Otherwise, the returned list may contain only those docets that are accessible through this session. In effective mode, docets are returned that are currently effective. In any effective mode, effective docets and those currently expired are returned. | ||
| Parameters | osid.id.Id | activityUnitId | an activity unit  Id  | 
| osid.calendaring.DateTime | from | s atsrting date | |
| osid.calendaring.DateTime | to | an ending date | |
| Return | osid.course.syllabus.DocetList | the returned  Docet list | |
| Errors | INVALID_ARGUMENT |  from is greater than to  | |
| NULL_ARGUMENT |  activityUnitId, from, or to is null 
 | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getDocetsForModuleAndActivityUnit | ||
| Description | Gets an    In effective mode, docets are returned that are currently effective. In any effective mode, effective docets and those currently expired are returned. | ||
| Parameters | osid.id.Id | moduleId | a module  Id  | 
| osid.id.Id | activityUnitId | an activity unit  Id  | |
| Return | osid.course.syllabus.DocetList | the returned  Docet list | |
| Errors | NULL_ARGUMENT |  moduleId or activityUnitId is null 
 | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getDocetsForModuleAndActivityUnitOnDate | ||
| Description | Gets an  In plenary mode, the returned list contains all known docetsor an error results. Otherwise, the returned list may contain only those docets that are accessible through this session. In effective mode, docets are returned that are currently effective. In any effective mode, effective docets and those currently expired are returned. | ||
| Parameters | osid.id.Id | moduleId | a module  Id  | 
| osid.id.Id | activityUnitId | an activity unit  Id  | |
| osid.calendaring.DateTime | from | s atsrting date | |
| osid.calendaring.DateTime | to | an ending date | |
| Return | osid.course.syllabus.DocetList | the returned  Docet list | |
| Errors | INVALID_ARGUMENT |  from is greater than to  | |
| NULL_ARGUMENT |  moduleId, activityUnitId, from, or to is null  | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getDocets | ||
| Description | Gets all  In plenary mode, the returned list contains all known docetsor an error results. Otherwise, the returned list may contain only those docets that are accessible through this session. In effective mode, docets are returned that are currently effective. In any effective mode, effective docets and those currently expired are returned. | ||
| Return | osid.course.syllabus.DocetList | a list of  Docets  | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |