| Interface | osid.hold.HoldNotificationSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description |
This session defines methods to receive notifications on
adds/changes to The two views defined in this session correspond to the
views in 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 | canRegisterForHoldNotifications | ||
| Description |
Tests if this user can register for | ||
| Return | boolean | false if notification methods are not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | useFederatedOublietteView | ||
| Description |
Federates the view for methods in this session. A federated view will include holds 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 notifications to this oubliette only. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | reliableHoldNotifications | ||
| Description |
Reliable notifications are desired. In reliable mode,
notifications are to be acknowledged using | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | unreliableHoldNotifications | ||
| Description |
Unreliable notifications are desired. In unreliable mode, notifications do not need to be acknowledged. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | acknowledgeHoldNotification | ||
| Description |
Acknowledge a hold notification. | ||
| Parameters | osid.id.Id | notificationId | the Id of the notification |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForNewHolds | ||
| Description |
Register for notifications of new holds. | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForNewHoldsForResource | ||
| Description |
Register for notifications of new holds for the given
resource | ||
| Parameters | osid.id.Id | resourceId | the Id of the resource to monitor |
| Errors | NULL_ARGUMENT | resourceId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForNewHoldsForIssue | ||
| Description |
Register for notifications of new holds for the given
issue | ||
| Parameters | osid.id.Id | issueId | the Id of the issue to monitor |
| Errors | NULL_ARGUMENT | issueid is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedHolds | ||
| Description |
Registers for notification of updated holds. | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedHoldsForResource | ||
| Description |
Register for notifications of updated holds for the
given resource | ||
| Parameters | osid.id.Id | resourceId | the Id of the resource to monitor |
| Errors | NULL_ARGUMENT | resourceId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedHoldsForIssue | ||
| Description |
Register for notifications of updated holds for the
given issue | ||
| Parameters | osid.id.Id | issueId | the Id of the issue to monitor |
| Errors | NULL_ARGUMENT | issueId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedHold | ||
| Description |
Registers for notification of an updated hold. | ||
| Parameters | osid.id.Id | holdId | the Id of the Hold to monitor |
| Errors | NOT_FOUND | a hold was not found in this oubliette identified by the given Id
| |
| NULL_ARGUMENT | holdId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedHolds | ||
| Description |
Registers for notification of deleted holds. | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedHoldsForResource | ||
| Description |
Register for notifications of deleted holds for the
given resource | ||
| Parameters | osid.id.Id | resourceId | the Id of the resource to monitor |
| Errors | NULL_ARGUMENT | resourceId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedHoldsForIssue | ||
| Description |
Register for notifications of deleted holds for the
given issue | ||
| Parameters | osid.id.Id | issueId | the Id of the issue to monitor |
| Errors | NULL_ARGUMENT | issueId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedHold | ||
| Description |
Registers for notification of a deleted hold. | ||
| Parameters | osid.id.Id | holdId | the Id of the Hold to monitor |
| Errors | NOT_FOUND | a hold was not found identified by the given Id | |
| NULL_ARGUMENT | holdId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |