| Interface | osid.mapping.LocationNotificationSession | ||
|---|---|---|---|
| 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 | getMapId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the Map Id associated with this session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getMap | ||
| Description |
Gets the | ||
| Return | osid.mapping.Map | the map | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canRegisterForLocationNotifications | ||
| 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 | useFederatedMapView | ||
| Description |
Federates the view for methods in this session. A federated view will include locations in maps which are children of this map in the map hierarchy. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedMapView | ||
| Description |
Isolates the view for methods in this session. An isolated view restricts notifications to this map only. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | reliableLocationNotifications | ||
| Description |
Reliable notifications are desired. In reliable mode,
notifications are to be acknowledged using | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | unreliableLocationNotifications | ||
| Description |
Unreliable notifications are desired. In unreliable mode, notifications do not need to be acknowledged. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | acknowledgeLocationNotification | ||
| Description |
Acknowledge a location 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 | registerForNewLocations | ||
| Description |
Register for notifications of new locations. | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedLocations | ||
| Description |
Registers for notification of updated locations. | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedLocation | ||
| Description |
Registers for notification of an updated location.
| ||
| Parameters | osid.id.Id | locationId | the Id of the Location to monitor |
| Errors | NULL_ARGUMENT | locationId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedLocations | ||
| Description |
Registers for notification of deleted locations. | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedLocation | ||
| Description |
Registers for notification of a deleted location.
| ||
| Parameters | osid.id.Id | locationId | the Id of the Location to monitor |
| Errors | NULL_ARGUMENT | locationId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedLocationHierarchy | ||
| Description |
Registers for notification of an updated location
hierarchy structure. | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedLocationHierarchyForAncestors | ||
| Description |
Registers for notification of an updated location
hierarchy structure. | ||
| Parameters | osid.id.Id | locationId | the Id of the Location node to monitor |
| Errors | NULL_ARGUMENT | locationId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedLocationHierarchyForDescendants | ||
| Description |
Registers for notification of an updated location
hierarchy structure. | ||
| Parameters | osid.id.Id | locationId | the Id of the Location node to monitor |
| Errors | NULL_ARGUMENT | locationId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |