public interface SpeedZoneSmartMapSession extends OsidSession
This session manages queries and sequencing to create "smart" dynamic
catalogs. A SpeedZoneQuery
can be retrieved from this
session and mapped to this Map
to create a virtual
collection of SpeedZones.
The speed zones may be sequenced
using the SpeedZoneSearchOrder
from this session.
This Map
has a default query that matches any speed
zone and a default search order that specifies no sequencing. The queries
may be examined using a SpeedZoneQueryInspector.
The query
may be modified by converting the inspector back to a
SpeedZoneQuery.
Modifier and Type | Method and Description |
---|---|
void |
applySpeedZoneQuery(SpeedZoneQuery speedZoneQuery)
Applies a speed zone query to this map.
|
void |
applySpeedZoneSequencing(SpeedZoneSearchOrder speedZoneSearchOrder)
Applies a speed zone 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. |
SpeedZoneQuery |
getSpeedZoneQuery()
Gets a speed zone query.
|
SpeedZoneQuery |
getSpeedZoneQueryFromInspector(SpeedZoneQueryInspector speedZoneQueryInspector)
Gets a speed zone query from an inspector.
|
SpeedZoneSearchOrder |
getSpeedZoneSearchOrder()
Gets a speed zone search order.
|
SpeedZoneQueryInspector |
inspecSpeedZoneQuery()
Gets a speed zone 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. SpeedZoneQuery getSpeedZoneQuery()
mandatory
- This method must be implemented. SpeedZoneSearchOrder getSpeedZoneSearchOrder()
mandatory
- This method must be implemented. void applySpeedZoneQuery(SpeedZoneQuery speedZoneQuery) throws OperationFailedException, PermissionDeniedException
speedZoneQuery
- the speed zone queryNullArgumentException
- speedZoneQuery
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
- speedZoneQuery
not of this servicemandatory
- This method must be implemented. SpeedZoneQueryInspector inspecSpeedZoneQuery() throws OperationFailedException, PermissionDeniedException
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredmandatory
- This method must be implemented. void applySpeedZoneSequencing(SpeedZoneSearchOrder speedZoneSearchOrder) throws OperationFailedException, PermissionDeniedException
speedZoneSearchOrder
- the speed zone search orderNullArgumentException
- speedZoneSearchOrder
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
- speedZoneSearchOrder
not of this servicemandatory
- This method must be implemented. SpeedZoneQuery getSpeedZoneQueryFromInspector(SpeedZoneQueryInspector speedZoneQueryInspector)
speedZoneQueryInspector
- a speed zone query inspectorNullArgumentException
- speedZoneQueryInspector
is null
UnsupportedException
- speedZoneQueryInspector
is not of this servicemandatory
- This method must be implemented.