Interface | osid.resource.BinNotificationSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session defines methods to receive notifications on
adds/changes to | ||
Method | canRegisterForBinNotifications | ||
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 | registerForNewBins | ||
Description |
Register for notifications of new bins. | ||
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForNewBinAncestors | ||
Description |
Registers for notification if an ancestor is added to
the specified bin in the bin hierarchy. | ||
Parameters | osid.id.Id | binId | the Id of the bin to monitor |
Errors | NULL_ARGUMENT | binId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForNewBinDescendants | ||
Description |
Registers for notification if a descendant is added to
the specified bin in the bin hierarchy. | ||
Parameters | osid.id.Id | binId | the Id of the bin to monitor |
Errors | NULL_ARGUMENT | binId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForChangedBins | ||
Description |
Registers for notification of updated bins. | ||
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForChangedBin | ||
Description |
Registers for notification of an updated bin. | ||
Parameters | osid.id.Id | binId | the Id of the Bin to monitor |
Errors | NULL_ARGUMENT | binId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForDeletedBins | ||
Description |
Registers for notification of deleted bins. | ||
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForDeletedBin | ||
Description |
Registers for notification of a deleted bin. | ||
Parameters | osid.id.Id | binId | the Id of the Bin to monitor |
Errors | NULL_ARGUMENT | binId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForDeletedBinAncestors | ||
Description |
Registers for notification if an ancestor is removed
from the specified bin in the bin hierarchy. | ||
Parameters | osid.id.Id | binId | the Id of the bin to monitor |
Errors | NULL_ARGUMENT | binId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForDeletedBinDescendants | ||
Description |
Registers for notification if a descendant is removed
from fthe specified bin in the bin hierarchy. | ||
Parameters | osid.id.Id | binId | the Id of the bin to monitor |
Errors | NULL_ARGUMENT | binId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |