Interface | osid.mapping.path.SignalLookupSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session defines methods for retrieving signals. This lookup session defines several views:
The methods Signals may have an additional records indicated by their
respective record types. The record may not be accessed
through a cast of the | ||
Method | getMapId | ||
Description |
Gets the | ||
Return | osid.id.Id | the Map Id associated with this session | |
Compliance | mandatory | This method must be implemented. | |
Method | getMap | ||
Description |
Gets the | ||
Return | osid.mapping.Map | the map | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canLookupSignals | ||
Description |
Tests if this user can perform | ||
Return | boolean | false if lookup methods are not authorized, true
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | useComparativeSignalView | ||
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. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | usePlenarySignalView | ||
Description |
A complete view of the | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useFederatedMapView | ||
Description |
Federates the view for methods in this session. A federated view will include signals in maps which are children of this map in the map hierarchy. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useIsolatedMapView | ||
Description |
Isolates the view for methods in this session. An isolated view restricts retrievals to this map only. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useActiveSignalView | ||
Description |
Only active signals are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useAnyStatusSignalView | ||
Description |
All active and inactive signals are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getSignal | ||
Description |
Gets the In active mode, signals are returned that are currently active. In any status mode, active and inactive signals are returned. | ||
Parameters | osid.id.Id | signalId | the Id of the Signal to retrieve |
Return | osid.mapping.path.Signal | the returned Signal | |
Errors | NOT_FOUND | no Signal found with the given Id | |
NULL_ARGUMENT | signalId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getSignalsByIds | ||
Description |
Gets a n plenary mode, the returned list contains all of the
signals specified in the In active mode, signals are returned that are currently active. In any status mode, active and inactive signals are returned. | ||
Parameters | osid.id.IdList | signalIds | the list of Ids to retrieve |
Return | osid.mapping.path.SignalList | the returned Signal list | |
Errors | NOT_FOUND | an Id was not found | |
NULL_ARGUMENT | signalIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getSignalsByGenusType | ||
Description |
Gets a In active mode, signals are returned that are currently active. In any status mode, active and inactive signals are returned. | ||
Parameters | osid.type.Type | signalGenusType | a signal genus type |
Return | osid.mapping.path.SignalList | the returned Signal list | |
Errors | NULL_ARGUMENT | signalGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getSignalsByParentGenusType | ||
Description |
Gets a In active mode, signals are returned that are currently active. In any status mode, active and inactive signals are returned. | ||
Parameters | osid.type.Type | signalGenusType | a signal genus type |
Return | osid.mapping.path.SignalList | the returned Signal list | |
Errors | NULL_ARGUMENT | signalGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getSignalsByRecordType | ||
Description |
Gets a In plenary mode, the returned list contains all known signals or an error results. Otherwise, the returned list may contain only those signals that are accessible through this session. In active mode, signals are returned that are currently active. In any status mode, active and inactive signals are returned. | ||
Parameters | osid.type.Type | signalRecordType | a signal record type |
Return | osid.mapping.path.SignalList | the returned Signal list | |
Errors | NULL_ARGUMENT | signalRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getSignalsForPath | ||
Description |
Gets a In plenary mode, the returned list contains all known signals or an error results. Otherwise, the returned list may contain only those signals that are accessible through this session. In active mode, signals are returned that are currently active. In any status mode, active and inactive signals are returned. | ||
Parameters | osid.id.Id | pathId | a path Id |
Return | osid.mapping.path.SignalList | the returned Signal list | |
Errors | NULL_ARGUMENT | pathId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getSignalsForPathAtCoordinate | ||
Description |
Gets a In plenary mode, the returned list contains all known signals or an error results. Otherwise, the returned list may contain only those signals that are accessible through this session. In active mode, signals are returned that are currently active. In any status mode, active and inactive signals are returned. | ||
Parameters | osid.id.Id | pathId | a path Id |
osid.mapping.Coordinate | coordinate | starting coordinate | |
osid.mapping.Distance | distance | a distance from coordinate | |
Return | osid.mapping.path.SignalList | the returned Signal list | |
Errors | NULL_ARGUMENT | pathId, coordinate or distance is null
| |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getSignals | ||
Description |
Gets all In plenary mode, the returned list contains all known signals or an error results. Otherwise, the returned list may contain only those signals that are accessible through this session. In active mode, signals are returned that are currently active. In any status mode, active and inactive signals are returned. | ||
Return | osid.mapping.path.SignalList | a list of Signals | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |