OSID Logo
OSID Specifications
mapping path package
Version 3.1.0
Interfaceosid.mapping.path.ObstacleSmartMapSession
Implementsosid.OsidSession
Used Byosid.mapping.path.MappingPathManager
osid.mapping.path.MappingPathProxyManager
Description

This session manages queries and sequencing to create "smart" dynamic catalogs. An ObstacleQuery can be retrieved from this session and mapped to this Map to create a virtual collection of Obstacles. The obstacle may be sequenced using the ObstacleSearchOrder from this session.

This Map has a default query that matches any obstacle and a default search order that specifies no sequencing. The queries may be examined using an ObstacleQueryInspector. The query may be modified by converting the inspector back to an ObstacleQuery.

MethodgetMapId
Description

Gets the Map Id associated with this session.

Returnosid.id.Id the Map Id associated with this session
Compliancemandatory This method must be implemented.
MethodgetMap
Description

Gets the Map associated with this session.

Returnosid.mapping.Map the map
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodcanManageSmartMaps
Description

Tests if this user can manage smart maps. A return of true does not guarantee successful authorization. A return of false indicates that it is known methods in this session will result in a PERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer operations to unauthorized users.

Returnboolean false if smart map management is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodgetObstacleQuery
Description

Gets an obstacle query.

Returnosid.mapping.path.ObstacleQuery the obstacle query
Compliancemandatory This method must be implemented.
MethodgetObstacleSearchOrder
Description

Gets an obstacle search order.

Returnosid.mapping.path.ObstacleSearchOrder the obstacle search order
Compliancemandatory This method must be implemented.
MethodapplyObstacleQuery
Description

Applies an obstacle query to this map.

Parametersosid.mapping.path.ObstacleQueryobstacleQuery the obstacle query
ErrorsNULL_ARGUMENT obstacleQuery is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED obstacleQuery not of this service
Compliancemandatory This method must be implemented.
MethodinspecObstacleQuery
Description

Gets an obstacle query inspector for this map.

Returnosid.mapping.path.ObstacleQueryInspector the obstacle query inspector
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
Compliancemandatory This method must be implemented.
MethodapplyObstacleSequencing
Description

Applies an obstacle search order to this map.

Parametersosid.mapping.path.ObstacleSearchOrderobstacleSearchOrder the obstacle search order
ErrorsNULL_ARGUMENT obstacleSearchOrder is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED obstacleSearchOrder not of this service
Compliancemandatory This method must be implemented.
MethodgetObstacleQueryFromInspector
Description

Gets an obstacle query from an inspector.

Parametersosid.mapping.path.ObstacleQueryInspectorobstacleQueryInspector an obstacle query inspector
Returnosid.mapping.path.ObstacleQuery the obstacle query
ErrorsNULL_ARGUMENT obstacleQueryInspector is null
UNSUPPORTED obstacleQueryInspector is not of this service
Compliancemandatory This method must be implemented.