public interface

MapOverlayRepository

com.mapsted.map.map_overlay.datasource.MapOverlayRepository
Known Indirect Subclasses

Summary

Public Methods
abstract MapOverlayItem getCachedOverlay(int propertyId, int buildingId, int floorId, String overlayId)
Utility getter that attempts to get a cached overlay by overlayId
abstract void getFloorMapOverlays(int propertyId, int buildingId, int floorId, MapApi.MapOverlayRepositoryCallback callback)
Get the map overlays associated with the given floor
abstract void getPropertyMapOverlays(String query, int propertyId, MapApi.MapOverlayRepositoryCallback callback)
Get filtered list of map overlays associated with the given property
abstract void getPropertyMapOverlays(int propertyId, MapApi.MapOverlayRepositoryCallback callback)
Get the map overlays associated with the given property
abstract void onDestroy()
Called when desired to destroy the repo

Public Methods

public abstract MapOverlayItem getCachedOverlay (int propertyId, int buildingId, int floorId, String overlayId)

Utility getter that attempts to get a cached overlay by overlayId

Parameters
propertyId the property
buildingId the building
floorId the floor
overlayId the overlayId
Returns
  • the Cached overlay or null

public abstract void getFloorMapOverlays (int propertyId, int buildingId, int floorId, MapApi.MapOverlayRepositoryCallback callback)

Get the map overlays associated with the given floor

Parameters
propertyId the property
buildingId the building
floorId the floor
callback callback when results are available

public abstract void getPropertyMapOverlays (String query, int propertyId, MapApi.MapOverlayRepositoryCallback callback)

Get filtered list of map overlays associated with the given property

Parameters
query the search query
propertyId the property
callback callback when results are available

public abstract void getPropertyMapOverlays (int propertyId, MapApi.MapOverlayRepositoryCallback callback)

Get the map overlays associated with the given property

Parameters
propertyId the property
callback callback when results are available

public abstract void onDestroy ()

Called when desired to destroy the repo