public interface ObstacleEnablerSmartMapSession extends OsidSession
This session manages queries and sequencing to create "smart" dynamic
maps. An ObstacleEnablerQuery
can be retrieved from this
session and mapped to this Map
to create a virtual
collection of obstacle enablers. The obstacle enabler may be sequenced
using the ObstacleEnablerSearchOrder
from this session.
This Map
has a default query that matches any obstacle
enabler and a default search order that specifies no sequencing. The
queries may be examined using an ObstacleEnablerQueryInspector.
The query may be modified by converting the inspector back to an
ObstacleEnablerQuery.
Modifier and Type | Method and Description |
---|---|
void |
applyObstacleEnablerQuery(ObstacleEnablerQuery obstacleEnablerQuery)
Applies an obstacle enabler query to this map.
|
void |
applyObstacleEnablerSequencing(ObstacleEnablerSearchOrder obstacleEnablerSearchOrder)
Applies an obstacle enabler search order to this map.
|
boolean |
canManageSmartMaps()
Tests if this user can manage smart maps.
|
Map |
getMap()
Gets the
Map associated with this session. |
Id |
getMapId()
Gets the
Map Id associated with this
session. |
ObstacleEnablerQuery |
getObstacleEnablerQuery()
Gets an obstacle enabler query.
|
ObstacleEnablerQuery |
getObstacleEnablerQueryFromInspector(ObstacleEnablerQueryInspector obstacleEnablerQueryInspector)
Gets an obstacle enabler query from an inspector.
|
ObstacleEnablerSearchOrder |
getObstacleEnablerSearchOrder()
Gets an obstacle enabler search order.
|
ObstacleEnablerQueryInspector |
inspectObstacleEnablerQuery()
Gets an obstacle enabler query inspector for this map.
|
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
Id getMapId()
Map
Id
associated with this
session. Map Id
associated with this sessionmandatory
- This method must be implemented. Map getMap() throws OperationFailedException, PermissionDeniedException
Map
associated with this session.OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. boolean canManageSmartMaps()
PERMISSION_DENIED.
This is intended as a hint to an
application that may opt not to offer operations to unauthorized
users. false
if smart map management is not
authorized, true
otherwisemandatory
- This method must be implemented. ObstacleEnablerQuery getObstacleEnablerQuery()
mandatory
- This method must be implemented. ObstacleEnablerSearchOrder getObstacleEnablerSearchOrder()
mandatory
- This method must be implemented. void applyObstacleEnablerQuery(ObstacleEnablerQuery obstacleEnablerQuery) throws OperationFailedException, PermissionDeniedException
obstacleEnablerQuery
- the obstacle enabler queryNullArgumentException
- obstacleEnablerQuery
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
- obstacleEnablerQuery
not of this servicemandatory
- This method must be implemented. ObstacleEnablerQueryInspector inspectObstacleEnablerQuery() throws OperationFailedException, PermissionDeniedException
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredmandatory
- This method must be implemented. void applyObstacleEnablerSequencing(ObstacleEnablerSearchOrder obstacleEnablerSearchOrder) throws OperationFailedException, PermissionDeniedException
obstacleEnablerSearchOrder
- the obstacle enabler search orderNullArgumentException
-
obstacleEnablerSearchOrder
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
-
obstacleEnablerSearchOrder
not of this servicemandatory
- This method must be implemented. ObstacleEnablerQuery getObstacleEnablerQueryFromInspector(ObstacleEnablerQueryInspector obstacleEnablerQueryInspector)
obstacleEnablerQueryInspector
- an obstacle enabler query
inspectorNullArgumentException
-
obstacleEnablerQueryInspector
is null
UnsupportedException
-
obstacleEnablerQueryInspector
is not of this servicemandatory
- This method must be implemented.