OSID Logo
OSID Specifications
provisioning package
Version 3.1.0
Interfaceosid.provisioning.DistributorNotificationSession
Implementsosid.OsidSession
Used Byosid.provisioning.ProvisioningManager
osid.provisioning.ProvisioningProxyManager
Description

This session defines methods to receive notifications on adds/changes to Distributor objects. This session is intended for consumers needing to synchronize their state with this service without the use of polling. Notifications are cancelled when this session is closed.

MethodcanRegisterForDistributorNotifications
Description

Tests if this user can register for Distributor notifications. A return of true does not guarantee successful authorization. A return of false indicates that it is known all methods in this session will result in a PERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer notification operations.

Returnboolean false if notification methods are not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodreliableDistributorNotifications
Description

Reliable notifications are desired. In reliable mode, notifications are to be acknowledged using acknowledgeDistributorNotification().

Compliancemandatory This method is must be implemented.
MethodunreliableDistributorNotifications
Description

Unreliable notifications are desired. In unreliable mode, notifications do not need to be acknowledged.

Compliancemandatory This method is must be implemented.
MethodacknowledgeDistributorNotification
Description

Acknowledge a distributor notification.

Parametersosid.id.IdnotificationId the Id of the notification
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForNewDistributors
Description

Register for notifications of new distributors. DistributorReceiver.newDistributors() is invoked when a new Distributor is created.

ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForChangedDistributors
Description

Registers for notification of updated distributors. DistributorReceiver.changedDistributors() is invoked when a distributor is changed.

ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForChangedDistributor
Description

Registers for notification of an updated distributor. DistributorReceiver.changedDistributors() is invoked when the specified distributor is changed.

Parametersosid.id.IddistributorId the Id of the Distributor to monitor
ErrorsNULL_ARGUMENT distributorId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForDeletedDistributors
Description

Registers for notification of deleted distributors. DistributorReceiver.deletedDistributors() is invoked when a distributor is deleted.

ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForDeletedDistributor
Description

Registers for notification of a deleted distributor. DistributorReceiver.deletedDistributors() is invoked when the specified distributor is deleted.

Parametersosid.id.IddistributorId the Id of the Distributor to monitor
ErrorsNULL_ARGUMENT distributorId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForChangedDistributorHierarchy
Description

Registers for notification of an updated distributor hierarchy structure. DistributorReceiver.changedChildOfDistributors() is invoked when the specified node or any of its descendants experiences a change in its children.

ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForChangedDistributorHierarchyForAncestors
Description

Registers for notification of an updated distributor hierarchy structure. DistributorReceiver.changedChildOfDistributors() is invoked when the specified node or any of its descendants experiences a change in its children.

Parametersosid.id.IddistributorId the Id of the Distributor node to monitor
ErrorsNULL_ARGUMENT distributorId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForChangedDistributorHierarchyForDescendants
Description

Registers for notification of an updated distributor hierarchy structure. DistributorReceiver.changedChildOfDistributors() is invoked when the specified node or any of its descendants experiences a change in its children.

Parametersosid.id.IddistributorId the Id of the Distributor node to monitor
ErrorsNULL_ARGUMENT distributorId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.