Interface | osid.course.chronicle.CredentialEntryLookupSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session defines methods for retrieving entriesand entry components. This lookup session defines several views:
The methods Credential entries 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 | canLookupCredentialEntries | ||
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 | useComparativeCredentialEntryView | ||
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 | usePlenaryCredentialEntryView | ||
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 credential entries 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 | useEffectiveCredentialEntryView | ||
Description |
Only credential entries whose effective dates are current are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useAnyEffectiveCredentialEntryView | ||
Description |
All credential entries of any effective dates are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getCredentialEntry | ||
Description |
Gets the Otherwise, the returned In effective mode, credential entries are returned that are currently effective. In any effective mode, effective credential entries and those currently expired are returned. | ||
Parameters | osid.id.Id | credentialEntryId | the Id of the CredentialEntry to retrieve |
Return | osid.course.chronicle.CredentialEntry | the returned CredentialEntry | |
Errors | NOT_FOUND | no CredentialEntry found with the given Id | |
NULL_ARGUMENT | credentialEntryId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCredentialEntriesByIds | ||
Description |
Gets a In effective mode, credential entries are returned that are currently effective. In any effective mode, effective credential entries and those currently expired are returned. | ||
Parameters | osid.id.IdList | credentialEntryId | the list of Ids to retrieve |
Return | osid.course.chronicle.CredentialEntryList | the returned CredentialEntryList | |
Errors | NOT_FOUND | an Id was not found | |
NULL_ARGUMENT | credentialEntryId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCredentialEntriesByGenusType | ||
Description |
Gets a In effective mode, credential entries are returned that are currently effective. In any effective mode, effective credential entries and those currently expired are returned. | ||
Parameters | osid.type.Type | credentialEntryGenusType | a credential entry genus type |
Return | osid.course.chronicle.CredentialEntryList | the returned CredentialEntryList | |
Errors | NULL_ARGUMENT | credentialEntryGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCredentialEntriesByParentGenusType | ||
Description |
Gets a In effective mode, credential entries are returned that are currently effective. In any effective mode, effective credential entries and those currently expired are returned. | ||
Parameters | osid.type.Type | credentialEntryGenusType | a credential entry genus type |
Return | osid.course.chronicle.CredentialEntryList | the returned CredentialEntryList | |
Errors | NULL_ARGUMENT | credentialEntryGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCredentialEntriesByRecordType | ||
Description |
Gets a In plenary mode, the returned list contains all known credential entries or an error results. Otherwise, the returned list may contain only those credential entries that are accessible through this session. In effective mode, credential entries are returned that are currently effective. In any effective mode, effective credential entries and those currently expired are returned. | ||
Parameters | osid.type.Type | credentialEntryRecordType | a credential entry record type |
Return | osid.course.chronicle.CredentialEntryList | the returned CredentialEntryList list | |
Errors | NULL_ARGUMENT | credentialEntryRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCredentialEntriesOnDate | ||
Description |
Gets a In plenary mode, the returned list contains all known credential entries or an error results. Otherwise, the returned list may contain only those credential entries that are accessible through this session. In effective mode, credential entries are returned that are currently effective. In any effective mode, effective credential entries and those currently expired are returned. | ||
Parameters | osid.calendaring.DateTime | from | starting date |
osid.calendaring.DateTime | to | ending date | |
Return | osid.course.chronicle.CredentialEntryList | the returned CredentialEntryList 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 | getCredentialEntriesForStudent | ||
Description |
Gets a In plenary mode, the returned list contains all known credential entries or an error results. Otherwise, the returned list may contain only those credential entries that are accessible through this session. In effective mode, credential entries are returned that are currently effective. In any effective mode, effective credential entries and those currently expired are returned. | ||
Parameters | osid.id.Id | resourceId | a resource Id |
Return | osid.course.chronicle.CredentialEntryList | the returned CredentialEntryList 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 | getCredentialEntriesForStudentOnDate | ||
Description |
Gets a In plenary mode, the returned list contains all known credential entries or an error results. Otherwise, the returned list may contain only those credential entries that are accessible through this session. In effective mode, credential entries are returned that are currently effective. In any effective mode, effective credential entries and those currently expired are returned. | ||
Parameters | osid.id.Id | resourceId | a resource Id |
osid.calendaring.DateTime | from | starting date | |
osid.calendaring.DateTime | to | ending date | |
Return | osid.course.chronicle.CredentialEntryList | the returned CredentialEntryList list | |
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 | getCredentialEntriesForCredential | ||
Description |
Gets a In plenary mode, the returned list contains all known credential entries or an error results. Otherwise, the returned list may contain only those credential entries that are accessible through this session. In effective mode, credential entries are returned that are currently effective. In any effective mode, effective credential entries and those currently expired are returned. | ||
Parameters | osid.id.Id | credentialId | a credential Id |
Return | osid.course.chronicle.CredentialEntryList | the returned CredentialEntryList list | |
Errors | NULL_ARGUMENT | credentialId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCredentialEntriesForCredentialOnDate | ||
Description |
Gets a In plenary mode, the returned list contains all known credential entries or an error results. Otherwise, the returned list may contain only those credential entries that are accessible through this session. In effective mode, credential entries are returned that are currently effective. In any effective mode, effective credential entries and those currently expired are returned. | ||
Parameters | osid.id.Id | credentialId | a credential Id |
osid.calendaring.DateTime | from | starting date | |
osid.calendaring.DateTime | to | ending date | |
Return | osid.course.chronicle.CredentialEntryList | the returned CredentialEntryList list | |
Errors | INVALID_ARGUMENT | from is greater than to | |
NULL_ARGUMENT | credentialId, from , or to is null
| ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCredentialEntriesForStudentAndCredential | ||
Description |
Gets a In plenary mode, the returned list contains all known credential entries or an error results. Otherwise, the returned list may contain only those credential entries that are accessible through this session. In effective mode, credential entries are returned that are currently effective. In any effective mode, effective credential entries and those currently expired are returned. | ||
Parameters | osid.id.Id | resourceId | a resource Id |
osid.id.Id | credentialId | a credential Id | |
Return | osid.course.chronicle.CredentialEntryList | the returned CredentialEntryList list | |
Errors | NULL_ARGUMENT | resourceId or credentialId is null
| |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCredentialEntriesForStudentAndCredentialOnDate | ||
Description |
Gets a In plenary mode, the returned list contains all known credential entries or an error results. Otherwise, the returned list may contain only those credential entries that are accessible through this session. In effective mode, credential entries are returned that are currently effective. In any effective mode, effective credential entries and those currently expired are returned. | ||
Parameters | osid.id.Id | resourceId | a resource Id |
osid.id.Id | credentialId | a credential Id | |
osid.calendaring.DateTime | from | starting date | |
osid.calendaring.DateTime | to | ending date | |
Return | osid.course.chronicle.CredentialEntryList | the returned CredentialEntryList list | |
Errors | INVALID_ARGUMENT | from is greater than to | |
NULL_ARGUMENT | resourceId, credentialId, from , or to is
null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCredentialEntries | ||
Description |
Gets all In plenary mode, the returned list contains all known credential entries or an error results. Otherwise, the returned list may contain only those credential entries that are accessible through this session. In effective mode, credential entries are returned that are currently effective. In any effective mode, effective credential entries and those currently expired are returned. | ||
Return | osid.course.chronicle.CredentialEntryList | a list of CredentialEntries | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |