| Interface | osid.logging.LogLookupSession | ||
|---|---|---|---|
| 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 | canLookupLogs | ||
| 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 | useComparativeLogView | ||
| 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 | usePlenaryLogView | ||
| Description | 
                     A complete view of the   | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getLog | ||
| Description | 
                     Gets the   | ||
| Parameters | osid.id.Id | logId |  Id  of the  Log   | 
| Return | osid.logging.Log | the log | |
| Errors | NOT_FOUND |  logId  not found  |                 |
| NULL_ARGUMENT |  logId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getLogsByIds | ||
| Description | 
                     Gets a   | ||
| Parameters | osid.id.IdList | logIds | the list of  Ids  to retrieve  | 
| Return | osid.logging.LogList | the returned  Log list   | |
| Errors | NOT_FOUND | an  Id was  not found  |                 |
| NULL_ARGUMENT |  logIds  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getLogsByGenusType | ||
| Description | 
                     Gets a   | ||
| Parameters | osid.type.Type | logGenusType | a log genus type | 
| Return | osid.logging.LogList | the returned  Log list   | |
| Errors | NULL_ARGUMENT |  logGenusType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getLogsByParentGenusType | ||
| Description | 
                     Gets a   | ||
| Parameters | osid.type.Type | logGenusType | a log genus type | 
| Return | osid.logging.LogList | the returned  Log list   | |
| Errors | NULL_ARGUMENT |  logGenusType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getLogsByRecordType | ||
| Description | 
                     Gets a   | ||
| Parameters | osid.type.Type | logRecordType | a log record type | 
| Return | osid.logging.LogList | the returned  Log list   | |
| Errors | NULL_ARGUMENT |  logRecordType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getLogsByProvider | ||
| Description | 
                     Gets a   | ||
| Parameters | osid.id.Id | resourceId | a resource  Id   | 
| Return | osid.logging.LogList | the returned  Log 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 | getLogs | ||
| Description | 
                     Gets all   | ||
| Return | osid.logging.LogList | a list of  Logs   | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |