| java.lang.Object | |
| ↳ | com.mapsted.map.map_overlay.datasource.MapOverlayRepositoryImpl |
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| MapOverlayRepositoryImpl(CoreApi coreApi, Context context) | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| MapOverlayItem |
getCachedOverlay(int propertyId, int buildingId, int floorId, String overlayId)
Utility getter that attempts to get a cached overlay by overlayId
| ||||||||||
| void |
getFloorMapOverlays(int propertyId, int buildingId, int floorId, MapApi.MapOverlayRepositoryCallback callback)
Get the map overlays associated with the given floor
| ||||||||||
| void |
getPropertyMapOverlays(String query, int propertyId, MapApi.MapOverlayRepositoryCallback callback)
Get filtered list of map overlays associated with the given property
| ||||||||||
| void |
getPropertyMapOverlays(int propertyId, MapApi.MapOverlayRepositoryCallback callback)
Get the map overlays associated with the given property
| ||||||||||
| void |
onDestroy()
Called when desired to destroy the repo
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.mapsted.map.map_overlay.datasource.MapOverlayRepository
| |||||||||||
Utility getter that attempts to get a cached overlay by overlayId
| propertyId | the property |
|---|---|
| buildingId | the building |
| floorId | the floor |
| overlayId | the overlayId |
Get the map overlays associated with the given floor
| propertyId | the property |
|---|---|
| buildingId | the building |
| floorId | the floor |
| callback | callback when results are available |
Get filtered list of map overlays associated with the given property
| query | the search query |
|---|---|
| propertyId | the property |
| callback | callback when results are available |
Get the map overlays associated with the given property
| propertyId | the property |
|---|---|
| callback | callback when results are available |
Called when desired to destroy the repo