Package org.apache.ofbiz.common.geo
Class GeoWorker
- java.lang.Object
-
- org.apache.ofbiz.common.geo.GeoWorker
-
public final class GeoWorker extends java.lang.Object
Worker methods for Geos
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
module
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
containsGeo(java.util.List<GenericValue> geoList, java.lang.String geoId, Delegator delegator)
static boolean
containsGeo(java.util.List<GenericValue> geoList, GenericValue geo)
static java.util.List<GenericValue>
expandGeoGroup(java.lang.String geoId, Delegator delegator)
static java.util.List<GenericValue>
expandGeoGroup(GenericValue geo)
static java.util.Map<java.lang.String,java.lang.String>
expandGeoRegionDeep(java.util.Map<java.lang.String,java.lang.String> geoIdByTypeMapOrig, Delegator delegator)
static GenericValue
findLatestGeoPoint(Delegator delegator, java.lang.String entityName, java.lang.String mainId, java.lang.String mainValueId, java.lang.String secondId, java.lang.String secondValueId)
-
-
-
Method Detail
-
expandGeoGroup
public static java.util.List<GenericValue> expandGeoGroup(java.lang.String geoId, Delegator delegator)
-
expandGeoGroup
public static java.util.List<GenericValue> expandGeoGroup(GenericValue geo)
-
expandGeoRegionDeep
public static java.util.Map<java.lang.String,java.lang.String> expandGeoRegionDeep(java.util.Map<java.lang.String,java.lang.String> geoIdByTypeMapOrig, Delegator delegator) throws GenericEntityException
- Throws:
GenericEntityException
-
containsGeo
public static boolean containsGeo(java.util.List<GenericValue> geoList, java.lang.String geoId, Delegator delegator)
-
containsGeo
public static boolean containsGeo(java.util.List<GenericValue> geoList, GenericValue geo)
-
findLatestGeoPoint
public static GenericValue findLatestGeoPoint(Delegator delegator, java.lang.String entityName, java.lang.String mainId, java.lang.String mainValueId, java.lang.String secondId, java.lang.String secondValueId)
-
-