| Interface | osid.room.BuildingNotificationSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.room.RoomManager | ||
osid.room.RoomProxyManager | |||
| Description |
This session defines methods to receive notifications on
adds/changes to Notifications are triggered with changes to the
| ||
| Method | getCampusId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the Campus Id associated with this session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getCampus | ||
| Description |
Gets the | ||
| Return | osid.room.Campus | the campus | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canRegisterForBuildingNotifications | ||
| 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 | useFederatedCampusView | ||
| Description |
Federates the view for methods in this session. A federated view will include buildings in campuses which are children of this campus in the campus hierarchy. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedCampusView | ||
| Description |
Isolates the view for methods in this session. An isolated view restricts retrievals to this campus only. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | reliableBuildingNotifications | ||
| Description |
Reliable notifications are desired. In reliable mode,
notifications are to be acknowledged using
| ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | unreliableBuildingNotifications | ||
| Description |
Unreliable notifications are desired. In unreliable mode, notifications do not need to be acknowledged. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | acknowledgeBuildingNotification | ||
| Description |
Acknowledge a building 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 | registerForNewBuildings | ||
| Description |
Register for notifications of new buildings.
| ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedBuildings | ||
| Description |
Registers for notification of updated buildings.
| ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedBuilding | ||
| Description |
Registers for notification of an updated building.
| ||
| Parameters | osid.id.Id | buildingId | the Id of the Building to monitor |
| Errors | NULL_ARGUMENT | buildingId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedBuildings | ||
| Description |
Registers for notification of deleted buildings.
| ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedBuilding | ||
| Description |
Registers for notification of a deleted building.
| ||
| Parameters | osid.id.Id | buildingId | the Id of the Building to monitor |
| Errors | NULL_ARGUMENT | buildingId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |