public interface LocationMapSession extends OsidSession
This session provides methods to retrieve  Location  to 
   Map  locations. A  Location  may appear in 
  multiple  Map  objects. Each map may have its own 
  authorizations governing who is allowed to look at it. 
This lookup session defines several views:
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
canLookupLocationMapLocations()
Tests if this user can perform lookups of location/map locations. 
 | 
IdList | 
getLocationIdsByMap(Id mapId)
Gets the list of  
 Location Ids  associated with a  
  Map. | 
IdList | 
getLocationIdsByMaps(IdList mapIds)
Gets the list of  
 Location Ids  corresponding to a list 
  of  Maps. | 
LocationList | 
getLocationsByMap(Id mapId)
Gets the list of  
 Locations  associated with a  
  Map. | 
LocationList | 
getLocationsByMaps(IdList mapIds)
Gets the list of  
 Locations  corresponding to a list of 
   Maps. | 
IdList | 
getMapIdsByLocation(Id locationId)
Gets the  
 Map   Ids  mapped to a  
  Location. | 
MapList | 
getMapsByLocation(Id locationId)
Gets the  
 Maps  mapped to a  Location. | 
void | 
useComparativeLocationMapView()
The returns from the lookup methods may omit or translate elements 
  based on this session, such as authorization, and not result in an 
  error. 
 | 
void | 
usePlenaryLocationMapView()
A complete view of the  
 Location  and  Map  
  returns is desired. | 
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseboolean canLookupLocationMapLocations()
 PERMISSION_DENIED.  This is intended as 
  a hint to an application that may opt not to offer lookup operations 
  to unauthorized users. false  if looking up locations is not 
          authorized,  true  otherwisemandatory - This method must be implemented. void useComparativeLocationMapView()
mandatory - This method is must be implemented. void usePlenaryLocationMapView()
 Location  and  Map  
  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.mandatory - This method is must be implemented. IdList getLocationIdsByMap(Id mapId) throws NotFoundException, OperationFailedException, PermissionDeniedException
 Location Ids  associated with a  
  Map. mapId -  Id  of the  Map  Ids NotFoundException -  mapId  is not foundNullArgumentException -  mapId  is  
          null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. LocationList getLocationsByMap(Id mapId) throws NotFoundException, OperationFailedException, PermissionDeniedException
 Locations  associated with a  
  Map. mapId -  Id  of the  Map NotFoundException -  mapId  is not foundNullArgumentException -  mapId  is  
          null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. IdList getLocationIdsByMaps(IdList mapIds) throws OperationFailedException, PermissionDeniedException
 Location Ids  corresponding to a list 
  of  Maps. mapIds - list of map  Ids  Ids NullArgumentException -  mapIds  is  
          null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. LocationList getLocationsByMaps(IdList mapIds) throws OperationFailedException, PermissionDeniedException
 Locations  corresponding to a list of 
   Maps. mapIds - list of map  Ids NullArgumentException -  mapIds  is  
          null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. IdList getMapIdsByLocation(Id locationId) throws NotFoundException, OperationFailedException, PermissionDeniedException
 Map   Ids  mapped to a  
  Location. locationId -  Id  of a  Location NotFoundException -  locationId  is not 
          foundNullArgumentException -  locationId  is 
           null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. MapList getMapsByLocation(Id locationId) throws NotFoundException, OperationFailedException, PermissionDeniedException
 Maps  mapped to a  Location. locationId -  Id  of a  Location NotFoundException -  locationId  is not 
          foundNullArgumentException -  locationId  is 
           null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented.