| Interface | osid.hold.IssueLookupSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.hold.HoldManager | ||
osid.hold.HoldProxyManager | |||
| Description |
This session defines methods for retrieving issues. This lookup session defines several views:
The methods Issues may have an additional records indicated by their
respective record types. The record may not be accessed
through a cast of the | ||
| Method | getOublietteId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the Oubliette Id associated with this session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getOubliette | ||
| Description |
Gets the | ||
| Return | osid.hold.Oubliette | the oubliette | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canLookupIssues | ||
| 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 | useComparativeIssueView | ||
| 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 | usePlenaryIssueView | ||
| Description |
A complete view of the | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useFederatedOublietteView | ||
| Description |
Federates the view for methods in this session. A federated view will include issues in oubliettes which are children of this oubliette in the oubliette hierarchy. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedOublietteView | ||
| Description |
Isolates the view for methods in this session. An isolated view restricts retrievals to this oubliette only. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useActiveIssueView | ||
| Description |
Only active issues are returned from methods in this session. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useAnyStatusIssueView | ||
| Description |
Borth active and inactive issues are returned from methods in this session. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getIssue | ||
| Description |
Gets the In plenary mode, the exact In active mode, issues are returned that are currently active. In any status mode, active and inactive issues are returned. | ||
| Parameters | osid.id.Id | issueId | the Id of the Issue to retrieve |
| Return | osid.hold.Issue | the returned Issue | |
| Errors | NOT_FOUND | no Issue found with the given Id | |
| NULL_ARGUMENT | issueId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getIssuesByIds | ||
| Description |
Gets an In plenary mode, the returned list contains all of the
issues specified in the In active mode, issues are returned that are currently active. In any status mode, active and inactive issues are returned. | ||
| Parameters | osid.id.IdList | issueIds | the list of Ids to retrieve |
| Return | osid.hold.IssueList | the returned Issue list | |
| Errors | NOT_FOUND | an Id was not found | |
| NULL_ARGUMENT | issueIds is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getIssuesByGenusType | ||
| Description |
Gets an In plenary mode, the returned list contains all known issues or an error results. Otherwise, the returned list may contain only those issues that are accessible through this session. In active mode, issues are returned that are currently active. In any status mode, active and inactive issues are returned. | ||
| Parameters | osid.type.Type | issueGenusType | an issue genus type |
| Return | osid.hold.IssueList | the returned Issue list | |
| Errors | NULL_ARGUMENT | issueGenusType is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getIssuesByParentGenusType | ||
| Description |
Gets an In plenary mode, the returned list contains all known issues or an error results. Otherwise, the returned list may contain only those issues that are accessible through this session. In active mode, issues are returned that are currently active. In any status mode, active and inactive issues are returned. | ||
| Parameters | osid.type.Type | issueGenusType | an issue genus type |
| Return | osid.hold.IssueList | the returned Issue list | |
| Errors | NULL_ARGUMENT | issueGenusType is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getIssuesByRecordType | ||
| Description |
Gets an In plenary mode, the returned list contains all known issues or an error results. Otherwise, the returned list may contain only those issues that are accessible through this session. In active mode, issues are returned that are currently active. In any status mode, active and inactive issues are returned. | ||
| Parameters | osid.type.Type | issueRecordType | an issue record type |
| Return | osid.hold.IssueList | the returned Issue list | |
| Errors | NULL_ARGUMENT | issueRecordType is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getIssuesByBureau | ||
| Description |
Gets an In plenary mode, the returned list contains all known issues or an error results. Otherwise, the returned list may contain only those issues that are accessible through this session. In active mode, issues are returned that are currently active. In any status mode, active and inactive issues are returned. | ||
| Parameters | osid.id.Id | resourceId | a resource Id |
| Return | osid.hold.IssueList | the returned Issue 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 | getIssues | ||
| Description |
Gets all issues. In plenary mode, the returned list contains all of the
issues, including duplicates, or an error results if an
In active mode, issues are returned that are currently active. In any status mode, active and inactive issues are returned. | ||
| Return | osid.hold.IssueList | the returned Issue list | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |