| Interface | osid.hold.rules.IssueEnablerRuleLookupSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.hold.rules.HoldRulesManager | ||
osid.hold.rules.HoldRulesProxyManager | |||
| Description |
This session provides methods to retrieve
Th is lookup session defines several views:
| ||
| 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 | canLookupIssueEnablerRules | ||
| Description |
Tests if this user can perform lookups of issue
enabler/issue mappings. A return of true does not
guarantee successful authorization. A return of false
indicates that it is known lookup methods in this session
will result in a | ||
| Return | boolean | false if looking up mappings is not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | useComparativeIssueEnablerRuleView | ||
| 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 | usePlenaryIssueEnablerRuleView | ||
| 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 issue enablers 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 lookups to this oubliette only. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getIssueEnablerIdsForIssue | ||
| Description |
Gets the | ||
| Parameters | osid.id.Id | issueId | Id of the Issue |
| Return | osid.id.IdList | the issue enabler Ids | |
| Errors | NOT_FOUND | issueId is not found | |
| NULL_ARGUMENT | issueId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getIssueEnablersForIssue | ||
| Description |
Gets the | ||
| Parameters | osid.id.Id | issueId | Id of the Issue |
| Return | osid.hold.rules.IssueEnablerList | the issue enablers | |
| Errors | NOT_FOUND | issueId is not found | |
| NULL_ARGUMENT | issueId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getIssueIdsForIssueEnabler | ||
| Description |
Gets the | ||
| Parameters | osid.id.Id | issueEnablerId | Id of an IssueEnabler |
| Return | osid.id.IdList | list of issue Ids | |
| Errors | NOT_FOUND | issueEnablerId is not found | |
| NULL_ARGUMENT | issueEnablerId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getIssuesForIssueEnabler | ||
| Description |
Gets the | ||
| Parameters | osid.id.Id | issueEnablerId | Id of an IssueEnabler |
| Return | osid.hold.IssueList | list of issues | |
| Errors | NOT_FOUND | issueEnablerId is not found | |
| NULL_ARGUMENT | issueEnablerId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |