| Interface | osid.hold.IssueLookupSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| 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 | getIssue | ||
| Description | 
                     Gets the   | ||
| 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   | ||
| 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   | ||
| 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   | ||
| 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   | ||
| 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 | getIssues | ||
| Description | 
                     Gets all issues.   | ||
| 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. | |