| Interface | osid.resourcing.rules.JobConstrainerNotificationSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.resourcing.rules.ResourcingRulesManager | ||
osid.resourcing.rules.ResourcingRulesProxyManager | |||
| 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 | canRegisterForJobConstrainerNotifications | ||
| 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 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 | reliableJobConstrainerNotifications | ||
| Description |
Reliable notifications are desired. In reliable mode,
notifications are to be acknowledged using
| ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | unreliableJobConstrainerNotifications | ||
| Description |
Unreliable notifications are desired. In unreliable mode, notifications do not need to be acknowledged. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | acknowledgeJobConstrainerNotification | ||
| Description |
Acknowledge a job constrainer notification. | ||
| Parameters | osid.id.Id | notificationId | the Id of the notification |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForNewJobConstrainers | ||
| Description |
Register for notifications of new job constrainers.
| ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedJobConstrainers | ||
| Description |
Registers for notification of updated foundries.
| ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedJobConstrainer | ||
| Description |
Registers for notification of an updated job
constrainer.
| ||
| Parameters | osid.id.Id | jobConstrainerId | the Id of the JobConstrainer to monitor |
| Errors | NULL_ARGUMENT | jobConstrainerId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedJobConstrainers | ||
| Description |
Registers for notification of deleted job constrainers.
| ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedJobConstrainer | ||
| Description |
Registers for notification of a deleted job
constrainer.
| ||
| Parameters | osid.id.Id | jobConstrainerId | the Id of the JobConstrainer to monitor |
| Errors | NULL_ARGUMENT | jobConstrainerId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |