Interface | osid.provisioning.ProvisionableNotificationSession | ||
---|---|---|---|
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 | getDistributorId | ||
Description |
Gets the | ||
Return | osid.id.Id | the Distributor Id associated with this session | |
Compliance | mandatory | This method must be implemented. | |
Method | getDistributor | ||
Description |
Gets the | ||
Return | osid.provisioning.Distributor | the distributor | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canRegisterForProvisionableNotifications | ||
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 | useFederatedDistributorView | ||
Description |
Federates the view for methods in this session. A federated view will include provisionables in distributors which are children of this distributor in the distributor hierarchy. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useIsolatedDistributorView | ||
Description |
Isolates the view for methods in this session. An isolated view restricts notifications to this distributor only. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | registerForNewProvisionables | ||
Description |
Register for notifications of new provisionables.
| ||
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForNewProvisionablesForResource | ||
Description |
Register for notifications of new provisionables 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 | registerForNewProvisionablesForPool | ||
Description |
Register for notifications of new provisionables for
the given pool. | ||
Parameters | osid.id.Id | poolId | the Id of the pool to monitor |
Errors | NULL_ARGUMENT | poolId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForChangedProvisionables | ||
Description |
Registers for notification of updated provisionables.
| ||
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForChangedProvisionablesForResource | ||
Description |
Registers for notification of updated provisionables
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 | registerForChangedProvisionablesForPool | ||
Description |
Registers for notification of updated provisionables
for the given pool. | ||
Parameters | osid.id.Id | poolId | the Id of the pool to monitor |
Errors | NULL_ARGUMENT | poolId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForChangedProvisionable | ||
Description |
Registers for notification of an updated provisionable.
| ||
Parameters | osid.id.Id | provisionableId | the Id of the Provisionable to monitor |
Errors | NULL_ARGUMENT | provisionableId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForDeletedProvisionables | ||
Description |
Registers for notification of deleted provisionables.
| ||
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForDeletedProvisionablesForResource | ||
Description |
Registers for notification of deleted provisionables
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 | registerForDeletedProvisionablesForPool | ||
Description |
Registers for notification of deleted provisionables
for the given pool. | ||
Parameters | osid.id.Id | poolId | the Id of the pool to monitor |
Errors | NULL_ARGUMENT | poolId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForDeletedProvisionable | ||
Description |
Registers for notification of a deleted provisionable.
| ||
Parameters | osid.id.Id | provisionableId | the Id of the Provisionable to monitor |
Errors | NULL_ARGUMENT | provisionableId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |