Class LocationUtils

java.lang.Object
overit.geocallapp.wfm.locations.bl.LocationUtils

public class LocationUtils extends Object
Utility class that contains some utility methods for the location module.
Since:
21.0
  • Method Details

    • notifyTechnicalObjectAddressInsert

      public static void notifyTechnicalObjectAddressInsert(Long addressId, PoolKit poolKit) throws DAException, DAValidateException
      Notifies the system about a technical object address insertion.
      Parameters:
      addressId - the ID of the address that was inserted
      poolKit - the pool kit to use for database operations
      Throws:
      DAException - if a data access error occurs
      DAValidateException - if validation fails
      Since:
      21.0
    • notifyTechnicalObjectAddressInsert

      public static void notifyTechnicalObjectAddressInsert(BOAddress address, PoolKit poolKit) throws DAException, DAValidateException
      Notifies the system about a technical object address insertion.
      Parameters:
      address - the BOAddress of the address that was inserted
      poolKit - the pool kit to use for database operations
      Throws:
      DAException - if a data access error occurs
      DAValidateException - if validation fails
      Since:
      21.0
    • notifyAddressUpdate

      public static void notifyAddressUpdate(Long addressId, PoolKit poolKit) throws DAException, DAValidateException
      Notifies the system about an address update.
      Parameters:
      addressId - the ID of the address that was updated
      poolKit - the pool kit to use for database operations
      Throws:
      DAException - if a data access error occurs
      DAValidateException - if validation fails
      Since:
      21.0
    • notifyAddressUpdate

      public static void notifyAddressUpdate(Long addressId) throws DAException, DAValidateException
      Notifies the system about an address update.
      Parameters:
      addressId - the ID of the address that was updated
      Throws:
      DAException - if a data access error occurs
      DAValidateException - if validation fails
      Since:
      21.0
    • notifyAddressUpdate

      public static void notifyAddressUpdate(Long addressId, PooledConnection connection) throws DAException, DAValidateException
      Notifies the system about an address update.
      Parameters:
      addressId - the ID of the address that was updated
      connection - the connection to use for database operations
      Throws:
      DAException - if a data access error occurs
      DAValidateException - if validation fails
      Since:
      21.0
    • notifyAddressInsert

      public static void notifyAddressInsert(BOAddress address, PoolKit poolKit) throws DAException, DAValidateException
      Notifies the system about an address insertion.
      Parameters:
      address - the BOAddress of the address that was inserted
      poolKit - the pool kit to use for database operations
      Throws:
      DAException - if a data access error occurs
      DAValidateException - if validation fails
      Since:
      21.0
    • composeAddress

      public static String composeAddress(BOAddress address)
    • getAddressPart

      protected static String getAddressPart(String firstSeparator, String lastSeparator, Object... args)