Interface | osid.mapping.path.PathLookupSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods for retrieving This session defines views that offer differing behaviors when retrieving multiple objects.
Generally, the comparative view should be used for most
applications as it permits operation even if there is data
that cannot be accessed. The methods | ||
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 | canLookupPaths | ||
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 | useComparativePathView | ||
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 | usePlenaryPathView | ||
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 paths 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 lookups to this map only. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getPath | ||
Description |
Gets the | ||
Parameters | osid.id.Id | pathId | Id of the Path |
Return | osid.mapping.path.Path | the path | |
Errors | NOT_FOUND | pathId not found | |
NULL_ARGUMENT | pathId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getPathsByIds | ||
Description |
Gets a | ||
Parameters | osid.id.IdList | pathIds | the list of Ids to retrieve |
Return | osid.mapping.path.PathList | the returned Path list | |
Errors | NOT_FOUND | an Id was not found | |
NULL_ARGUMENT | pathIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getPathsByGenusType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | pathGenusType | a path genus type |
Return | osid.mapping.path.PathList | the returned Path list | |
Errors | NULL_ARGUMENT | pathGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getPathsByParentGenusType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | pathGenusType | a path genus type |
Return | osid.mapping.path.PathList | the returned Path list | |
Errors | NULL_ARGUMENT | pathGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getPathsByRecordType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | pathRecordType | a path record type |
Return | osid.mapping.path.PathList | the returned Path list | |
Errors | NULL_ARGUMENT | pathRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getPathsAlongLocations | ||
Description |
Gets a | ||
Parameters | osid.id.IdList | locationIds | the list of Ids to retrieve |
Return | osid.mapping.path.PathList | the returned Path list | |
Errors | NULL_ARGUMENT | locationIds is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getPaths | ||
Description |
Gets all | ||
Return | osid.mapping.path.PathList | a list of Paths | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |