OSID Logo
OSID Specifications
mapping path package
Version 3.1.0
Interfaceosid.mapping.path.MyPathSession
Implementsosid.OsidSession
Used Byosid.mapping.path.MappingPathManager
osid.mapping.path.MappingPathProxyManager
Description

This session defines methods to get path information for the authenticated agent.

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.
MethodcanAccessMyPath
Description

Tests if this user can query own path. A return of true does not guarantee successful authorization. A return of false indicates that it is known all methods in this session will result in a PERMISSION_DENIED. This is intended as a hint to an application that may not offer path operations to unauthorized users.

Returnboolean false if path methods are not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodonDesignatedPath
Description

Tests if this agent is on a designated path.

Returnboolean true if the agent is on a designated path, false otherrwise
Compliancemandatory This method must be implemented.
MethodgetMyPath
Description

Gets the current path of this agent.

Returnosid.mapping.path.Path the current path
ErrorsILLEGAL_STATE onDesignatedPath() is false
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodgetMyVelocity
Description

Gets the current velocity of this agent.

Returnosid.mapping.path.ResourceVelocity the current velocity
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.