OSID Logo
OSID Specifications
mapping path rules package
Version 3.1.0
Interfaceosid.mapping.path.rules.SignalEnablerRuleLookupSession
Implementsosid.OsidSession
Used Byosid.mapping.path.rules.MappingPathRulesManager
osid.mapping.path.rules.MappingPathRulesProxyManager
Description

This session provides methods to retrieve SignalEnabler to Signal mappings. A Signal with multiple SignalEnablers means any positive rule evaluation across the enablers result in an enabled Signal.

This lookup session defines several views:

  • comparative view: elements may be silently omitted or re-ordered
  • plenary view: provides a complete result set or is an error condition
  • isolated map view: All methods in this session operate, retrieve and pertain signal enabler defined explicitly in the current map
  • federated map view: All methods in this session operate, retrieve and pertain to all signal enabler defined in this map and any other signal enabler implicitly available in this map through map inheritence.
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.
MethodcanLookupSignalEnablerRules
Description

Tests if this user can perform lookups of signal enabler/signal mappings. A return of true does not guarantee successful authorization. A return of false indicates that it is known lookup 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 lookup operations to unauthorized users.

Returnboolean false if looking up mappings is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethoduseComparativeSignalEnablerRuleView
Description

The returns from the lookup methods may omit or translate elements based on this session, such as authorization, and not result in an error. This view is used when greater interoperability is desired at the expense of precision.

Compliancemandatory This method is must be implemented.
MethodusePlenarySignalEnablerRuleView
Description

A complete view of the SignalEnabler and Signal returns is desired. Methods will return what is requested or result in an error. This view is used when greater precision is desired at the expense of interoperability.

Compliancemandatory This method is must be implemented.
MethoduseFederatedMapView
Description

Federates the view for methods in this session. A federated view will include signal enabler in maps which are children of this map in the map hierarchy.

Compliancemandatory This method is must be implemented.
MethoduseIsolatedMapView
Description

Isolates the view for methods in this session. An isolated view restricts lookups to this map only.

Compliancemandatory This method is must be implemented.
MethodgetSignalEnablerIdsForSignal
Description

Gets the SignalEnabler Id associated with a Signal.

Parametersosid.id.IdsignalId Id of the Signal
Returnosid.id.IdList the signal enabler Ids
ErrorsNOT_FOUND signalId is not found
NULL_ARGUMENT signalId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodgetSignalEnablersForSignal
Description

Gets the SignalEnabler associated with a Signal.

Parametersosid.id.IdsignalId Id of the Signal
Returnosid.mapping.path.rules.SignalEnablerList the signal enablers
ErrorsNOT_FOUND signalId is not found
NULL_ARGUMENT signalId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodgetSignalIdsForSignalEnabler
Description

Gets the Signal Ids mapped to a SignalEnabler.

Parametersosid.id.IdsignalEnablerId Id of a SignalEnabler
Returnosid.id.IdList list of signal Ids
ErrorsNOT_FOUND signalEnablerId is not found
NULL_ARGUMENT signalEnablerId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodgetSignalsForSignalEnabler
Description

Gets the Signals mapped to a SignalEnabler.

Parametersosid.id.IdsignalEnablerId Id of a SignalEnabler
Returnosid.mapping.path.SignalList list of signals
ErrorsNOT_FOUND signalEnablerId is not found
NULL_ARGUMENT signalEnablerId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.