Class GeoWorker


  • public final class GeoWorker
    extends java.lang.Object
    Worker methods for Geos
    • Field Detail

      • module

        public static final java.lang.String module
    • Method Detail

      • expandGeoGroup

        public static java.util.List<GenericValue> expandGeoGroup​(java.lang.String geoId,
                                                                  Delegator delegator)
      • 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)
      • 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)