OSID Logo
OSID Specifications
mapping package
Version 3.0.0
Release Candidate Preview
Interfaceosid.mapping.MappingManager
Implementsosid.OsidManager
osid.mapping.MappingProfile
Description

The mapping manager provides access to mapping sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:

  • LocationLookupSession: a session to retrieve locations
  • LocationQuerySession: a session to query for locations
  • LocationSearchSession: a session to search for locations
  • LocationAdminSession: a session to create and delete locations
  • LocationNotificationSession: a session to receive notifications pertaining to location changes
  • LocationHierarchySession: a session to examine locations in a hierarchy
  • LocationHierarchyAssignmentSession: a session to traverse the location hierarchy
  • LocationMapSession: a session to look up location to map mappings
  • LocationMapAssignmentSession: a session to manage location to map mappings
  • LocationSmartMapSession: a session to manage dynamic maps of locations
  • LocationAdjacencySession: a session to query neighboring locations
  • LocationSpatialSession: a session to lookup locations spatially
  • ResourceLocationSession: a session query resources at locations
  • ResourceLocationUpdateSession: a session to assign resources to locations
  • ResourceLocationNotificationSession: a session to subscribe to notifications when resources move among locations
  • ResourcePositionNotificationSession: a session to subscribe to notifications when resources change positions
  • MyLocationSession: a session to query locations for the user agent
  • MapLookupSession: a session to retrieve maps
  • MapQuerySession: a session to search for maps
  • MapSearchSession: a session to search for maps
  • MapAdminSession: a session to create and delete maps
  • MapNotificationSession: a session to receive notifications pertaining to map changes
  • MapHierarchySession: a session to traverse a hierarchy of map
  • MapHierarchyDesignSession: a session to manage a map hierarchy
MethodgetLocationLookupSession
Description

Gets the OsidSession associated with the location lookup service.

Returnosid.mapping.LocationLookupSessiona LocationLookupSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsLocationLookup() is false
ComplianceoptionalThis method must be implemented if supportsLocationLookup() is true.
MethodgetLocationLookupSessionForMap
Description

Gets the OsidSession associated with the location lookup service for the given map.

Parametersosid.id.IdmapIdthe Id of the map
Returnosid.mapping.LocationLookupSessiona LocationLookupSession
ErrorsNOT_FOUNDno Map found by the given Id
NULL_ARGUMENT mapId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsLocationLookup() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsLocationLookup() and supportsVisibleFederation() are true
MethodgetLocationQuerySession
Description

Gets the OsidSession associated with the location query service.

Returnosid.mapping.LocationQuerySessiona LocationQuerySession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsLocationQuery() is false
ComplianceoptionalThis method must be implemented if supportsLocationQuery() is true.
MethodgetLocationQuerySessionForMap
Description

Gets the OsidSession associated with the location query service for the given map.

Parametersosid.id.IdmapIdthe Id of the Map
Returnosid.mapping.LocationQuerySessiona LocationQuerySession
ErrorsNOT_FOUNDno map found by the given Id
NULL_ARGUMENT mapId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsLocationQuery() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsLocationQuery() and supportsVisibleFederation() are true
MethodgetLocationSearchSession
Description

Gets the OsidSession associated with the location search service.

Returnosid.mapping.LocationSearchSessiona LocationSearchSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsLocationSearch() is false
ComplianceoptionalThis method must be implemented if supportsLocationSearch() is true.
MethodgetLocationSearchSessionForMap
Description

Gets the OsidSession associated with the location search service for the given map.

Parametersosid.id.IdmapIdthe Id of the Map
Returnosid.mapping.LocationSearchSessiona LocationSearchSession
ErrorsNOT_FOUNDno map found by the given Id
NULL_ARGUMENT mapId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsLocationSearch() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsLocationSearch() and supportsVisibleFederation() are true
MethodgetLocationAdminSession
Description

Gets the OsidSession associated with the location administration service.

Returnosid.mapping.LocationAdminSessiona LocationAdminSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsLocationAdmin() is false
ComplianceoptionalThis method must be implemented if supportsLocationAdmin() is true.
MethodgetLocationAdminSessionForMap
Description

Gets the OsidSession associated with the location administration service for the given map.

Parametersosid.id.IdmapIdthe Id of the Map
Returnosid.mapping.LocationAdminSessiona LocationAdminSession
ErrorsNOT_FOUNDno map found by the given Id
NULL_ARGUMENT mapId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsLocationAdmin() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsLocationAdmin() and supportsVisibleFederation() are true
MethodgetLocationNotificationSession
Description

Gets the OsidSession associated with the location notification service.

Parametersosid.mapping.LocationReceiverlocationReceiverthe notification callback
Returnosid.mapping.LocationNotificationSessiona LocationNotificationSession
ErrorsNULL_ARGUMENT locationReceiver is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsLocationNotification() is false
ComplianceoptionalThis method must be implemented if supportsLocationNotification() is true.
MethodgetLocationNotificationSessionForMap
Description

Gets the OsidSession associated with the location notification service for the given map.

Parametersosid.mapping.LocationReceiverlocationReceiverthe notification callback
osid.id.IdmapIdthe Id of the Map
Returnosid.mapping.LocationNotificationSessiona LocationNotificationSession
ErrorsNOT_FOUNDno map found by the given Id
NULL_ARGUMENT locationReceiver or mapId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsLocationNotification() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsLocationNotification() and supportsVisibleFederation() are true
MethodgetLocationHierarchySession
Description

Gets the OsidSession associated with the location hierarchy service.

Returnosid.mapping.LocationHierarchySessiona LocationHierarchySession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsLocationHierarchy() is false
ComplianceoptionalThis method must be implemented if supportsLocationHierarchy() is true.
MethodgetLocationHierarchySessionForMap
Description

Gets the OsidSession associated with the location hierarchy service for the given map.

Parametersosid.id.IdmapIdthe Id of the Map
Returnosid.mapping.LocationHierarchySessiona LocationHierarchySession
ErrorsNOT_FOUNDno map found by the given Id
NULL_ARGUMENT mapId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsLocationHierarchy() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsLocationHierarchy() and supportsVisibleFederation() are true
MethodgetLocationHierarchyDesignSession
Description

Gets the OsidSession associated with the location hierarchy design service.

Returnosid.mapping.LocationHierarchyDesignSessiona LocationHierarchyDesignSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsLocationHierarchyDesign() is false
ComplianceoptionalThis method must be implemented if supportsLocationHierarchyDesign() is true.
MethodgetLocationHierarchyDesignSessionForMap
Description

Gets the OsidSession associated with the location hierarchy design service for the given map.

Parametersosid.id.IdmapIdthe Id of the Map
Returnosid.mapping.LocationHierarchyDesignSessiona LocationHierarchySession
ErrorsNOT_FOUNDno map found by the given Id
NULL_ARGUMENT mapId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsLocationHierarchyDesign() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsLocationHierarchyDesign() and supportsVisibleFederation() are true
MethodgetLocationMapSession
Description

Gets the OsidSession to lookup location/map mappings.

Returnosid.mapping.LocationMapSessiona LocationMapSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsLocationMap() is false
ComplianceoptionalThis method must be implemented if supportsLocationMap() is true.
MethodgetLocationMapAssignmentSession
Description

Gets the OsidSession associated with assigning locations to maps.

Returnosid.mapping.LocationMapAssignmentSessiona LocationMapAssignmentSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsLocationMapAssignment() is false
ComplianceoptionalThis method must be implemented if supportsLocationMapAssignment() is true.
MethodgetLocationSmartMapSession
Description

Gets the OsidSession to manage locatin smart maps.

Parametersosid.id.IdmapIdthe Id of the Map
Returnosid.mapping.LocationSmartMapSessiona LocationSmartMapSession
ErrorsNOT_FOUNDno map found by the given Id
NULL_ARGUMENT mapId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsLocationSmartMap() is false
ComplianceoptionalThis method must be implemented if supportsLocationSmartMap() is true.
MethodgetLocationAdjacencySession
Description

Gets the OsidSession associated with the location adjacency service.

Returnosid.mapping.LocationAdjacencySessiona LocationAdjacencySession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsLocationAdjacency() is false
ComplianceoptionalThis method must be implemented if supportsLocationAdjacency() is true.
MethodgetLocationAdjacencySessionForMap
Description

Gets the OsidSession associated with the location adjacency service for the given map.

Parametersosid.id.IdmapIdthe Id of the Map
Returnosid.mapping.LocationAdjacencySessiona LocationAdjacencySession
ErrorsNOT_FOUNDno map found by the given Id
NULL_ARGUMENT mapId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsLocationAdjacency() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsLocationAdjacency() and supportsVisibleFederation() are true
MethodgetLocationSpatialSession
Description

Gets the OsidSession associated with the location spatial service.

Returnosid.mapping.LocationSpatialSessiona LocationSpatialSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsLocationSpatial() is false
ComplianceoptionalThis method must be implemented if supportsLocationSpatial() is true.
MethodgetLocationSpatialSessionForMap
Description

Gets the OsidSession associated with the location spatial service for the given map.

Parametersosid.id.IdmapIdthe Id of the Map
Returnosid.mapping.LocationSpatialSessiona LocationSpatialSession
ErrorsNOT_FOUNDno map found by the given Id
NULL_ARGUMENT mapId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsLocationSpatial() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsLocationSpatial() and supportsVisibleFederation() are true
MethodgetResourceLocationSession
Description

Gets the OsidSession associated with the resource location service.

Returnosid.mapping.ResourceLocationSessiona ResourceLocationSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsResourceLocation() is false
ComplianceoptionalThis method must be implemented if supportsResourceLocation() is true.
MethodgetResourceLocationSessionForMap
Description

Gets the OsidSession associated with the resource location service for the given map.

Parametersosid.id.IdmapIdthe Id of the Map
Returnosid.mapping.ResourceLocationSessiona ResourceLocationSession
ErrorsNOT_FOUNDno map found by the given Id
NULL_ARGUMENT mapId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsResourceLocation() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsResourceLocation() and supportsVisibleFederation() are true
MethodgetResourceLocationUpdateSession
Description

Gets the OsidSession associated with the resource location update service.

Returnosid.mapping.ResourceLocationUpdateSessiona ResourceLocationUpdateSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsResourceLocationUpdate() is false
ComplianceoptionalThis method must be implemented if supportsResourceLocationUpdate() is true.
MethodgetResourceLocationUpdateSessionForMap
Description

Gets the OsidSession associated with the resource location update service for the given map.

Parametersosid.id.IdmapIdthe Id of the Map
Returnosid.mapping.ResourceLocationUpdateSessiona ResourceLocationUpdateSession
ErrorsNOT_FOUNDno map found by the given Id
NULL_ARGUMENT mapId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsResourceLocationUpdate() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsResourceLocationUpdate() and supportsVisibleFederation() are true
MethodgetResourceLocationNotificationSession
Description

Gets the OsidSession associated with the resource location notification service.

Parametersosid.mapping.ResourceLocationReceiverresourceLocationReceiverthe notification callback
Returnosid.mapping.ResourceLocationNotificationSessiona ResourceLocationNotificationSession
ErrorsNULL_ARGUMENT resourceLocationReceiver is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsResourceLocationNotification() is false
ComplianceoptionalThis method must be implemented if supportsResourceLocationNotification() is true.
MethodgetResourceLocationNotificationSessionForMap
Description

Gets the OsidSession associated with the resource location notification service for the given map.

Parametersosid.mapping.ResourceLocationReceiverresourceLocationReceiverthe notification callback
osid.id.IdmapIdthe Id of the Map
Returnosid.mapping.ResourceLocationNotificationSessiona ResourceLocationNotificationSession
ErrorsNOT_FOUNDno map found by the given Id
NULL_ARGUMENT resourceLocationReceiver or mapId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsResourceLocationNotification() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsResourceLocationNotification() and supportsVisibleFederation() are true
MethodgetResourcePositionNotificationSession
Description

Gets the OsidSession associated with the resource position notification service.

Parametersosid.mapping.ResourcePositionReceiverresourcePositionReceiverthe notification callback
Returnosid.mapping.ResourcePositionNotificationSessiona ResourcePositionNotificationSession
ErrorsNULL_ARGUMENT resourcePositionReceiver is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsResourcePositionNotification() is false
ComplianceoptionalThis method must be implemented if supportsResourcePositionNotification() is true.
MethodgetResourcePositionNotificationSessionForMap
Description

Gets the OsidSession associated with the resource position notification service for the given map.

Parametersosid.mapping.ResourcePositionReceiverresourcePositionReceiverthe notification callback
osid.id.IdmapIdthe Id of the Map
Returnosid.mapping.ResourcePositionNotificationSessiona ResourcePositionNotificationSession
ErrorsNOT_FOUNDno map found by the given Id
NULL_ARGUMENT resourcePositionReceiver or mapId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsResourcePositionNotification() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsResourcePositionNotification() and supportsVisibleFederation() are true
MethodgetMyLocationSession
Description

Gets the OsidSession associated with the my location service.

Returnosid.mapping.MyLocationSessiona MyLocationLookupSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsMyLocationLookup() is false
ComplianceoptionalThis method must be implemented if supportsMyLocationLookup() is true.
MethodgetMyLocationSessionForMap
Description

Gets the OsidSession associated with the my location service for the given map.

Parametersosid.id.IdmapIdthe Id of the map
Returnosid.mapping.MyLocationSessiona MyLocationLookupSession
ErrorsNOT_FOUNDno Map found by the given Id
NULL_ARGUMENT mapId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsMyLocationLookup() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsMyLocationLookup() and supportsVisibleFederation() are true
MethodgetMapLookupSession
Description

Gets the OsidSession associated with the map lookup service.

Returnosid.mapping.MapLookupSessiona MapLookupSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsMapLookup() is false
ComplianceoptionalThis method must be implemented if supportsMapLookup() is true.
MethodgetMapQuerySession
Description

Gets the OsidSession associated with the map query service.

Returnosid.mapping.MapQuerySessiona MapQuerySession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsMapQuery() is false
ComplianceoptionalThis method must be implemented if supportsMapQuery() is true.
MethodgetMapSearchSession
Description

Gets the OsidSession associated with the map search service.

Returnosid.mapping.MapSearchSessiona MapSearchSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsMapSearch() is false
ComplianceoptionalThis method must be implemented if supportsMapSearch() is true.
MethodgetMapAdminSession
Description

Gets the OsidSession associated with the map administrative service.

Returnosid.mapping.MapAdminSessiona MapAdminSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsMapAdmin() is false
ComplianceoptionalThis method must be implemented if supportsMapAdmin() is true.
MethodgetMapNotificationSession
Description

Gets the OsidSession associated with the map notification service.

Parametersosid.mapping.MapReceivermapReceiverthe notification callback
Returnosid.mapping.MapNotificationSessiona MapNotificationSession
ErrorsNULL_ARGUMENT mapReceiver is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsMapNotification() is false
ComplianceoptionalThis method must be implemented if supportsMapNotification() is true.
MethodgetMapHierarchySession
Description

Gets the OsidSession associated with the map hierarchy service.

Returnosid.mapping.MapHierarchySessiona MapHierarchySession for maps
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsMapHierarchy() is false
ComplianceoptionalThis method must be implemented if supportsMapHierarchy() is true.
MethodgetMapHierarchyDesignSession
Description

Gets the OsidSession associated with the map hierarchy design service.

Returnosid.mapping.MapHierarchyDesignSessiona HierarchyDesignSession for maps
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsMapHierarchyDesign() is false
ComplianceoptionalThis method must be implemented if supportsMapHierarchyDesign() is true.
MethodgetMappingBatchManager
Description

Gets the mapping batch manager.

Returnosid.mapping.batch.MappingBatchManagera MappingBatchManager for paths
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsMappingBatch() is false
ComplianceoptionalThis method must be implemented if supportsMappingBatch() is true.
MethodgetMappingPathManager
Description

Gets the mapping path manager.

Returnosid.mapping.path.MappingPathManagera MappingPathManager for paths
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsMappingPath() is false
ComplianceoptionalThis method must be implemented if supportsMappingPath() is true.
MethodgetMappingRouteManager
Description

Gets the mapping route manager.

Returnosid.mapping.route.MappingRouteManagera MappingRouteManager for routes
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsMappingRoute() is false
ComplianceoptionalThis method must be implemented if supportsMappingRoute() is true.