| Interface | osid.room.RoomNotificationSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description |
This session defines methods to receive notifications on
adds/changes to | ||
| 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 | canRegisterForRoomNotifications | ||
| 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 entries 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 | registerForNewRooms | ||
| Description |
Register for notifications of new rooms. | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForNewRoomsByGenusType | ||
| Description |
Register for notifications of new rooms of the given
genus type. | ||
| Parameters | osid.type.Type | roomGenusType | a room genus type |
| Errors | NULL_ARGUMENT | roomGenusType is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForNewRoomsForBuilding | ||
| Description |
Register for notifications of new rooms for the given
reference | ||
| 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 | registerForChangedRooms | ||
| Description |
Registers for notification of updated rooms. | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedRoomsByGenusType | ||
| Description |
Registers for notification of updated rooms of the
given genus type. | ||
| Parameters | osid.type.Type | roomGenusType | a room genus type |
| Errors | NULL_ARGUMENT | roomGenusType is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedRoomsForBuilding | ||
| Description |
Register for notifications of chagned rooms for the
given 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 | registerForChangedRoom | ||
| Description |
Registers for notification of an updated room. | ||
| Parameters | osid.id.Id | roomId | the Id of the Room to monitor |
| Errors | NULL_ARGUMENT | roomId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedRooms | ||
| Description |
Registers for notification of deleted rooms. | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedRoomsByGenusType | ||
| Description |
Registers for notification of deleted rooms of the
given genus type. | ||
| Parameters | osid.type.Type | roomGenusType | a room genus type |
| Errors | NULL_ARGUMENT | roomGenusType is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedRoomsForBuilding | ||
| Description |
Register for notifications of changed rooms for the
given 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 | registerForDeletedRoom | ||
| Description |
Registers for notification of a deleted room. | ||
| Parameters | osid.id.Id | roomId | the Id of the Room to monitor |
| Errors | NULL_ARGUMENT | roomId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |