com.microstrategy.web.app.maps.MapObjectRepository<T extends com.microstrategy.web.app.maps.MapObject> |
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract GeoData |
getCachedGeoData(String cacheId)
Retrieve the
GeoData from the cache. | ||||||||||
abstract String |
loadObjects(String path, Integer shapeType, Map<String, String> config)
Load objects from a specified location with specified config object.
| ||||||||||
abstract String |
loadObjects(String path, Integer shapeType)
Load objects from a specified location.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Retrieve the GeoData
from the cache. The repository is responsible to cache the geometry data.
If cache is missing, it should read it from file system and reset the cache and then returns the data object.
cacheId | The cache Id |
---|
Load objects from a specified location with specified config object. If the shapeType is already defined in file, then ignore the parameter. Otherwise, assign the type for each shape loaded from the path.
path | The path to the location where the file located. |
---|---|
shapeType | An integer representing the shape category / shape type for the shapes that are saved into repository. |
config | A map object contains name-value pair. Example: use queryField as the key and kml path as the value |
Load objects from a specified location. If the shapeType is already defined in file, then ignore the parameter. Otherwise, assign the type for each shape loaded from the path.
path | The path to the location where the file located. |
---|---|
shapeType | An integer representing the shape category / shape type for the shapes that are saved into repository. |