Class LocationUtils
java.lang.Object
overit.geocallapp.wfm.locations.bl.LocationUtils
Utility class that contains some utility methods for the location module.
- Since:
- 21.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringcomposeAddress(BOAddress address) protected static StringgetAddressPart(String firstSeparator, String lastSeparator, Object... args) static voidnotifyAddressInsert(BOAddress address, PoolKit poolKit) Notifies the system about an address insertion.static voidnotifyAddressUpdate(Long addressId) Notifies the system about an address update.static voidnotifyAddressUpdate(Long addressId, PoolKit poolKit) Notifies the system about an address update.static voidnotifyAddressUpdate(Long addressId, PooledConnection connection) Notifies the system about an address update.static voidnotifyTechnicalObjectAddressInsert(Long addressId, PoolKit poolKit) Notifies the system about a technical object address insertion.static voidnotifyTechnicalObjectAddressInsert(BOAddress address, PoolKit poolKit) Notifies the system about a technical object address insertion.
-
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 insertedpoolKit- the pool kit to use for database operations- Throws:
DAException- if a data access error occursDAValidateException- 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- theBOAddressof the address that was insertedpoolKit- the pool kit to use for database operations- Throws:
DAException- if a data access error occursDAValidateException- 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 updatedpoolKit- the pool kit to use for database operations- Throws:
DAException- if a data access error occursDAValidateException- if validation fails- Since:
- 21.0
-
notifyAddressUpdate
Notifies the system about an address update.- Parameters:
addressId- the ID of the address that was updated- Throws:
DAException- if a data access error occursDAValidateException- 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 updatedconnection- the connection to use for database operations- Throws:
DAException- if a data access error occursDAValidateException- 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- theBOAddressof the address that was insertedpoolKit- the pool kit to use for database operations- Throws:
DAException- if a data access error occursDAValidateException- if validation fails- Since:
- 21.0
-
composeAddress
-
getAddressPart
-