| Interface | osid.resourcing.AvailabilityNotificationSession | ||
|---|---|---|---|
| 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 | getFoundryId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the Foundry Id associated with this session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getFoundry | ||
| Description |
Gets the | ||
| Return | osid.resourcing.Foundry | the foundry | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canRegisterForAvailabilityNotifications | ||
| 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 | useFederatedFoundryView | ||
| Description |
Federates the view for methods in this session. A federated view will include availabilities in foundries which are children of this foundry in the foundry hierarchy. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedFoundryView | ||
| Description |
Isolates the view for methods in this session. An isolated view restricts notifications to this foundry only. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | registerForNewAvailabilities | ||
| Description |
Register for notifications of new availabilities.
| ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForNewAvailabilitiesForResource | ||
| Description |
Register for notifications of new availabilities 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 | registerForNewAvailabilitiesForJob | ||
| Description |
Register for notifications of new availabilities for
the given job. | ||
| Parameters | osid.id.Id | jobId | the Id of the job to monitor |
| Errors | NULL_ARGUMENT | jobId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedAvailabilities | ||
| Description |
Registers for notification of updated availabilities.
| ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedAvailabilitiesForResource | ||
| Description |
Registers for notification of updated availabilities
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 | registerForChangedAvailabilitiesForJob | ||
| Description |
Registers for notification of updated availabilities
for the given job. | ||
| Parameters | osid.id.Id | jobId | the Id of the job to monitor |
| Errors | NULL_ARGUMENT | jobId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedAvailability | ||
| Description |
Registers for notification of an updated availability.
| ||
| Parameters | osid.id.Id | availabilityId | the Id of the Availability to monitor |
| Errors | NULL_ARGUMENT | availabilityId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedAvailabilities | ||
| Description |
Registers for notification of deleted availabilities.
| ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedAvailabilitiesForResource | ||
| Description |
Registers for notification of deleted availabilities
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 | registerForDeletedAvailabilitiesForJob | ||
| Description |
Registers for notification of deleted availabilities
for the given job. | ||
| Parameters | osid.id.Id | jobId | the Id of the job to monitor |
| Errors | NULL_ARGUMENT | jobId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedAvailability | ||
| Description |
Registers for notification of a deleted availability.
| ||
| Parameters | osid.id.Id | availabilityId | the Id of the Availability to monitor |
| Errors | NULL_ARGUMENT | availabilityId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |