Interface | osid.mapping.path.SpeedZoneMapAssignmentSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods to re-assign Adding a reference of a | ||
Method | canAssignSpeedZones | ||
Description |
Tests if this user can alter speed zone/map mappings. A
return of true does not guarantee successful
authorization. A return of false indicates that it is
known speed zone methods in this session will result in a
| ||
Return | boolean | false if speed zone is not authorized, true
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | canAssignSpeedZonesToMap | ||
Description |
Tests if this user can alter speed zone/map mappings. A
return of true does not guarantee successful
authorization. A return of false indicates that it is
known speed zone methods in this session will result in a
| ||
Parameters | osid.id.Id | mapId | the Id of the Map |
Return | boolean | false if mapping is not authorized, true
otherwise | |
Errors | NULL_ARGUMENT | mapId is null | |
Compliance | mandatory | This method must be implemented. | |
Method | getAssignableMapIds | ||
Description |
Gets a list of maps including and under the given map node in which any speed zone can be assigned. | ||
Parameters | osid.id.Id | mapId | the Id of the Map |
Return | osid.id.IdList | list of assignable map Ids | |
Errors | NULL_ARGUMENT | mapId is null | |
OPERATION_FAILED | unable to complete request | ||
Compliance | mandatory | This method must be implemented. | |
Method | getAssignableMapIdsForSpeedZone | ||
Description |
Gets a list of maps including and under the given map node in which a specific speed zone can be assigned. | ||
Parameters | osid.id.Id | mapId | the Id of the Map |
osid.id.Id | speedZoneId | the Id of the SpeedZone | |
Return | osid.id.IdList | list of assignable map Ids | |
Errors | NULL_ARGUMENT | mapId or speedZoneId is null | |
OPERATION_FAILED | unable to complete request | ||
Compliance | mandatory | This method must be implemented. | |
Method | assignSpeedZoneToMap | ||
Description |
Adds an existing | ||
Parameters | osid.id.Id | speedZoneId | the Id of the SpeedZone |
osid.id.Id | mapId | the Id of the Map | |
Errors | ALREADY_EXISTS | speedZoneId is already assigned to mapId | |
NOT_FOUND | speedZoneId or mapId not found | ||
NULL_ARGUMENT | speedZoneId or mapId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | unassignSpeedZoneFromMap | ||
Description |
Removes a | ||
Parameters | osid.id.Id | speedZoneId | the Id of the SpeedZone |
osid.id.Id | mapId | the Id of the Map | |
Errors | NOT_FOUND | speedZoneId or mapId not found or
speedZoneId not assigned to mapId | |
NULL_ARGUMENT | speedZoneId or mapId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |