OSID Logo
OSID Specifications
mapping path rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.mapping.path.rules.SignalEnablerRuleLookupSession
Implementsosid.OsidSession
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.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.
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
CompliancemandatoryThis 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.

CompliancemandatoryThis 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.

CompliancemandatoryThis 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.

CompliancemandatoryThis method is must be implemented.
MethoduseIsolatedMapView
Description

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

CompliancemandatoryThis method is must be implemented.
MethodgetSignalEnablerIdsForSignal
Description

Gets the SignalEnabler Id associated with a Signal.

Parametersosid.id.IdsignalId Id of the Signal
Returnosid.id.IdListthe signal enabler Ids
ErrorsNOT_FOUND signalId is not found
NULL_ARGUMENT signalId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetSignalEnablersForSignal
Description

Gets the SignalEnabler associated with a Signal.

Parametersosid.id.IdsignalId Id of the Signal
Returnosid.mapping.path.rules.SignalEnablerListthe signal enablers
ErrorsNOT_FOUND signalId is not found
NULL_ARGUMENT signalId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetSignalIdsForSignalEnabler
Description

Gets the Signal Ids mapped to a SignalEnabler.

Parametersosid.id.IdsignalEnablerId Id of a SignalEnabler
Returnosid.id.IdListlist of signal Ids
ErrorsNOT_FOUND signalEnablerId is not found
NULL_ARGUMENT signalEnablerId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetSignalsForSignalEnabler
Description

Gets the Signals mapped to a SignalEnabler.

Parametersosid.id.IdsignalEnablerId Id of a SignalEnabler
Returnosid.mapping.path.SignalListlist of signals
ErrorsNOT_FOUND signalEnablerId is not found
NULL_ARGUMENT signalEnablerId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.