OSID Logo
OSID Specifications
mapping path rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.mapping.path.rules.SignalEnablerSmartMapSession
Implementsosid.OsidSession
Description

This session manages queries and sequencing to create "smart" dynamic maps. A SignalEnablerQuery can be retrieved from this session and mapped to this Map to create a virtual collection of signal enablers. The signal enabler may be sequenced using the SignalEnablerSearchOrder from this session.

This Map has a default query that matches any signal enabler and a default search order that specifies no sequencing. The queries may be examined using a SignalEnablerQueryInspector. The query may be modified by converting the inspector back to a SignalEnablerQuery.

MethodgetMapId
Description

Gets the Map Id associated with this session.

Returnosid.id.Idthe Map Id associated with this session
CompliancemandatoryThis method must be implemented.
MethodgetMap
Description

Gets the Map associated with this session.

Returnosid.mapping.Mapthe map
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis 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
CompliancemandatoryThis method must be implemented.
MethodgetSignalEnablerQuery
Description

Gets a signal enabler query.

Returnosid.mapping.path.rules.SignalEnablerQuerythe signal enabler query
CompliancemandatoryThis method must be implemented.
MethodgetSignalEnablerSearchOrder
Description

Gets a signal enabler search order.

Returnosid.mapping.path.rules.SignalEnablerSearchOrderthe signal enabler search order
CompliancemandatoryThis method must be implemented.
MethodapplySignalEnablerQuery
Description

Applies a signal enabler query to this map.

Parametersosid.mapping.path.rules.SignalEnablerQuerysignalEnablerQuerythe signal enabler query
ErrorsNULL_ARGUMENT signalEnablerQuery is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTED signalEnablerQuery not of this service
CompliancemandatoryThis method must be implemented.
MethodinspectSignalEnablerQuery
Description

Gets a signal enabler query inspector for this map.

Returnosid.mapping.path.rules.SignalEnablerQueryInspectorthe signal enabler query inspector
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodapplySignalEnablerSequencing
Description

Applies a signal enabler search order to this map.

Parametersosid.mapping.path.rules.SignalEnablerSearchOrdersignalEnablerSearchOrderthe signal enabler search order
ErrorsNULL_ARGUMENT signalEnablerSearchOrder is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTED signalEnablerSearchOrder not of this service
CompliancemandatoryThis method must be implemented.
MethodgetSignalEnablerQueryFromInspector
Description

Gets a signal enabler query from an inspector.

Parametersosid.mapping.path.rules.SignalEnablerQueryInspectorsignalEnablerQueryInspectora signal enabler query inspector
Returnosid.mapping.path.rules.SignalEnablerQuerythe signal enabler query
ErrorsNULL_ARGUMENT signalEnablerQueryInspector is null
UNSUPPORTED signalEnablerQueryInspector is not of this service
CompliancemandatoryThis method must be implemented.