Interface | osid.tracking.LogEntryLookupSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods for retrieving premade 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. The methods | ||
Method | getFrontOfficeId | ||
Description |
Gets the | ||
Return | osid.id.Id | the FrontOffice Id associated with this session | |
Compliance | mandatory | This method must be implemented. | |
Method | getFrontOffice | ||
Description |
Gets the | ||
Return | osid.tracking.FrontOffice | the front office | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canLookupLogEntries | ||
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 | useComparativeLogEntryView | ||
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 | usePlenaryLogEntryView | ||
Description |
A complete view of the | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useFederatedFrontOfficeView | ||
Description |
Federates the view for methods in this session. A federated view will include log entries in front offices which are children of this front office in the front office hierarchy. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useIsolatedFrontOfficeView | ||
Description |
Isolates the view for methods in this session. An isolated view restricts lookups to this front office only. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getLogEntry | ||
Description |
Gets the | ||
Parameters | osid.id.Id | logEntryId | Id of the LogEntry |
Return | osid.tracking.LogEntry | the log entry | |
Errors | NOT_FOUND | logEntryId not found | |
NULL_ARGUMENT | logEntryId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getLogEntriesByIds | ||
Description |
Gets a | ||
Parameters | osid.id.IdList | logEntryIds | the list of Ids to retrieve |
Return | osid.tracking.LogEntryList | the returned LogEntry list | |
Errors | NOT_FOUND | an Id was not found | |
NULL_ARGUMENT | logEntryIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getLogEntriesByGenusType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | logEntryGenusType | a log entry genus type |
Return | osid.tracking.LogEntryList | the returned LogEntry list | |
Errors | NULL_ARGUMENT | logEntryGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getLogEntriesByParentGenusType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | logEntryGenusType | a log entry genus type |
Return | osid.tracking.LogEntryList | the returned LogEntry list | |
Errors | NULL_ARGUMENT | logEntryGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getLogEntriesByRecordType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | logEntryRecordType | a log entry record type |
Return | osid.tracking.LogEntryList | the returned LogEntry list | |
Errors | NULL_ARGUMENT | logEntryRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getLogEntriesByDate | ||
Description |
Gets a list of log entries logged in the date range. In plenary mode, the returned list contains all known availabilities or an error results. Otherwise, the returned list may contain only those log entries that are accessible through this session. | ||
Parameters | osid.calendaring.DateTime | from | start of date range |
osid.calendaring.DateTime | to | end of date range | |
Return | osid.tracking.LogEntryList | the returned LogEntry 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 | getLogEntriesForQueue | ||
Description |
Gets a | ||
Parameters | osid.id.Id | queueId | a queue Id |
Return | osid.tracking.LogEntryList | the returned LogEntry list | |
Errors | NULL_ARGUMENT | issueId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getLogEntriesByDateForQueue | ||
Description |
Gets a list of log entries logged in the date range in the given queue. In plenary mode, the returned list contains all known availabilities or an error results. Otherwise, the returned list may contain only those log entries that are accessible through this session. | ||
Parameters | osid.id.Id | queueId | a queue Id |
osid.calendaring.DateTime | from | start of date range | |
osid.calendaring.DateTime | to | end of date range | |
Return | osid.tracking.LogEntryList | the returned LogEntry list | |
Errors | INVALID_ARGUMENT | from is greater than to | |
NULL_ARGUMENT | queueId, from or to is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getLogEntriesForIssue | ||
Description |
Gets a | ||
Parameters | osid.id.Id | issueId | an issue Id |
Return | osid.tracking.LogEntryList | the returned LogEntry list | |
Errors | NULL_ARGUMENT | issueId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getLogEntriesByDateForIssue | ||
Description |
Gets a list of log entries logged in the date range in the given issue. In plenary mode, the returned list contains all known availabilities or an error results. Otherwise, the returned list may contain only those log entries that are accessible through this session. | ||
Parameters | osid.id.Id | issueId | an issue Id |
osid.calendaring.DateTime | from | start of date range | |
osid.calendaring.DateTime | to | end of date range | |
Return | osid.tracking.LogEntryList | the returned LogEntry list | |
Errors | INVALID_ARGUMENT | from is greater than to | |
NULL_ARGUMENT | issueId, from or to is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getLogEntries | ||
Description |
Gets all | ||
Return | osid.tracking.LogEntryList | a list of LogEntries | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |