Interface | osid.mapping.route.RouteNotificationSession | ||
---|---|---|---|
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 | canRegisterForRouteNotifications | ||
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 routes 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 | reliableRouteNotifications | ||
Description |
Reliable notifications are desired. In reliable mode,
notifications are to be acknowledged using | ||
Compliance | mandatory | This method is must be implemented. | |
Method | unreliableRouteNotifications | ||
Description |
Unreliable notifications are desired. In unreliable mode, notifications do not need to be acknowledged. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | acknowledgeRouteNotification | ||
Description |
Acknowledge a route 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 | registerForNewRoutes | ||
Description |
Register for notifications of new routes. | ||
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForNewRoutesForStartingLocation | ||
Description |
Register for notifications of new routes for the given
starting location. | ||
Parameters | osid.id.Id | startingLocationId | the Id of the Location to monitor |
Errors | NULL_ARGUMENT | startingLocationId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForNewRoutesForEndingLocation | ||
Description |
Register for notifications of new routes for the given
ending location. | ||
Parameters | osid.id.Id | endingLocationId | the Id of the Location to monitor |
Errors | NULL_ARGUMENT | endingLocationId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForNewRoutesThroughLocation | ||
Description |
Register for notifications of new routes through the
given 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 | registerForChangedRoutes | ||
Description |
Registers for notification of updated routes. | ||
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForChangedRoutesForStartingLocation | ||
Description |
Register for notifications of updated routes for the
given starting location. | ||
Parameters | osid.id.Id | startingLocationId | the Id of the Location to monitor |
Errors | NULL_ARGUMENT | startingLocationId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForChangedRoutesForEndingLocation | ||
Description |
Register for notifications of updated routes for the
given ending location. | ||
Parameters | osid.id.Id | endingLocationId | the Id of the Location to monitor |
Errors | NULL_ARGUMENT | endingLocationId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForChangedRoutesThroughLocation | ||
Description |
Register for notifications of updated routes through
the given 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 | registerForChangedRoute | ||
Description |
Registers for notification of an updated route. | ||
Parameters | osid.id.Id | routeId | the Id of the Route to monitor |
Errors | NULL_ARGUMENT | routeId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForDeletedRoutes | ||
Description |
Registers for notification of deleted routes. | ||
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForDeletedRoutesForStartingLocation | ||
Description |
Register for notifications of deleted routes for the
given starting location. | ||
Parameters | osid.id.Id | startingLocationId | the Id of the Location to monitor |
Errors | NULL_ARGUMENT | startingLocationId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForDeletedRoutesForEndingLocation | ||
Description |
Register for notifications of deleted routes for the
given ending location. | ||
Parameters | osid.id.Id | endingLocationId | the Id of the Location to monitor |
Errors | NULL_ARGUMENT | endingLocationId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForDeletedRoutesThroughLocation | ||
Description |
Register for notifications of deleted routes through
the given 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 | registerForDeletedRoute | ||
Description |
Registers for notification of a deleted route. | ||
Parameters | osid.id.Id | routeId | the Id of the Route to monitor |
Errors | NULL_ARGUMENT | routeId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |