Interface | osid.metering.UtilityNotificationSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session defines methods to receive notifications on
adds/changes to Notifications are triggered with changes to the | ||
Method | canRegisterForUtilityNotifications | ||
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 | registerForNewUtilities | ||
Description |
Register for notifications of new utilities. | ||
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForNewUtilityAncestors | ||
Description |
Registers for notification of an updated hierarchy
structure that introduces a new ancestor of the specified
utility. | ||
Parameters | osid.id.Id | utilityId | the Id of the Utility node to monitor |
Errors | NULL_ARGUMENT | utilityId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForNewUtilityDescendants | ||
Description |
Registers for notification of an updated hierarchy
structure that introduces a new descendant of the
specified utility. | ||
Parameters | osid.id.Id | utilityId | the Id of the Utility node to monitor |
Errors | NULL_ARGUMENT | utilityId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForChangedUtilities | ||
Description |
Registers for notification of updated utilities. | ||
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForChangedUtility | ||
Description |
Registers for notification of an updated utility.
| ||
Parameters | osid.id.Id | utilityId | the Id of the Utility to monitor |
Errors | NULL_ARGUMENT | utilityId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForDeletedUtilities | ||
Description |
Registers for notification of deleted utilities. | ||
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForDeletedUtility | ||
Description |
Registers for notification of a deleted utility. | ||
Parameters | osid.id.Id | utilityId | the Id of the Utility to monitor |
Errors | NULL_ARGUMENT | utilityId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForDeletedUtilityAncestors | ||
Description |
Registers for notification of an updated hierarchy
structure that removes an ancestor of the specified
utility. | ||
Parameters | osid.id.Id | utilityId | the Id of the Utility node to monitor |
Errors | NULL_ARGUMENT | utilityId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForDeletedUtilityDescendants | ||
Description |
Registers for notification of an updated hierarchy
structure that removes a descendant of the specified
utility. | ||
Parameters | osid.id.Id | utilityId | the Id of the Utility node to monitor |
Errors | NULL_ARGUMENT | utilityId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |