public interface LocationSmartMapSession extends OsidSession
This session manages queries and sequencing to create "smart" dynamic
catalogs. A LocationQuery
can be retrieved from this
session and mapped to this Map
to create a virtual
collection of Locations.
The locations may be sequenced
using the LocationSearchOrder
from this session.
This Map
has a default query that matches any location
and a default search order that specifies no sequencing. The queries may
be examined using a LocationQueryInspector.
The query may
be modified by converting the inspector back to a LocationQuery.
Modifier and Type | Method and Description |
---|---|
void |
applyLocationQuery(LocationQuery locationQuery)
Applies a location query to this map.
|
void |
applyLocationSequencing(LocationSearchOrder locationSearchOrder)
Applies a location search order to this map.
|
boolean |
canManageSmartMaps()
Tests if this user can manage smart maps.
|
LocationQuery |
getLocationQuery()
Gets a location query.
|
LocationQuery |
getLocationQueryFromInspector(LocationQueryInspector locationQueryInspector)
Gets a location query from an inspector.
|
LocationSearchOrder |
getLocationSearchOrder()
Gets a location search order.
|
Map |
getMap()
Gets the
Map associated with this session. |
Id |
getMapId()
Gets the
Map Id associated with this
session. |
LocationQueryInspector |
inspecLocationQuery()
Gets a location 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. LocationQuery getLocationQuery()
mandatory
- This method must be implemented. LocationSearchOrder getLocationSearchOrder()
mandatory
- This method must be implemented. void applyLocationQuery(LocationQuery locationQuery) throws OperationFailedException, PermissionDeniedException
locationQuery
- the location queryNullArgumentException
- locationQuery
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
- locationQuery
not
of this servicemandatory
- This method must be implemented. LocationQueryInspector inspecLocationQuery() throws OperationFailedException, PermissionDeniedException
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredmandatory
- This method must be implemented. void applyLocationSequencing(LocationSearchOrder locationSearchOrder) throws OperationFailedException, PermissionDeniedException
locationSearchOrder
- the location search orderNullArgumentException
- locationSearchOrder
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
- locationSearchOrder
not of this servicemandatory
- This method must be implemented. LocationQuery getLocationQueryFromInspector(LocationQueryInspector locationQueryInspector)
locationQueryInspector
- a location query inspectorNullArgumentException
- locationQueryInspector
is null
UnsupportedException
- locationQueryInspector
is not of this servicemandatory
- This method must be implemented.