public class AddressUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ADDRESS_FORMAT |
Constructor and Description |
---|
AddressUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getAddress(Preferences setup,
AddressStruct addressStruct)
Deprecated.
Использовать
getAddress(Preferences, AddressStruct, String) |
static java.lang.String |
getAddress(Preferences setup,
AddressStruct addressStruct,
java.lang.String formatKey) |
static java.lang.String |
getAddress(java.lang.String _address,
AddressStruct addressStruct) |
static AddressStruct |
getAddressStruct(java.sql.Connection con,
EntityAttrAddress entityAttrAddress) |
static AddressStruct |
getAddressStruct(java.sql.Connection con,
int houseId,
java.lang.String flat,
java.lang.String room,
java.lang.String pod,
java.lang.String floor,
java.lang.String comment) |
static java.lang.String |
getHouse(java.lang.String value) |
static java.lang.String |
getHouseFrac(java.lang.String value) |
static void |
onUpdateAddressArea(Setup setup,
int areaId)
Обновление адресов на изменение названия района
|
static void |
onUpdateAddressArea(Setup setup,
int areaId,
java.util.concurrent.Callable<?> callable)
Обновление адресов на изменение названия района
|
static void |
onUpdateAddressCity(Setup setup,
int cityId)
Обновление адресов на изменение названия города
|
static void |
onUpdateAddressCity(Setup setup,
int cityId,
java.util.concurrent.Callable<?> callable)
Обновление адресов на изменение названия города
|
static void |
onUpdateAddressQuarter(Setup setup,
int quarterId)
Обновление адресов на изменение названия квартала
|
protected static void |
onUpdateAddressQuarter(Setup setup,
int quarterId,
java.util.concurrent.Callable<?> callable)
Обновление адресов на изменение названия квартала
|
static void |
onUpdateAddressStreet(Setup setup,
int streetId)
Обновление адресов на изменение названия улицы
|
static void |
onUpdateAddressStreet(Setup setup,
int streetId,
java.util.concurrent.Callable<?> callable)
Обновление адресов на изменение названия улицы
|
static void |
onUpdateHouse(Setup setup,
int hid)
Обновление адресов на изменение дома
|
static void |
onUpdateHouse(Setup setup,
int hid,
java.util.concurrent.Callable<?> callable)
Обновление адресов на изменение дома
|
public static final java.lang.String ADDRESS_FORMAT
public static void onUpdateAddressCity(Setup setup, int cityId)
setup
- cityId
- public static void onUpdateAddressCity(Setup setup, int cityId, java.util.concurrent.Callable<?> callable)
setup
- cityId
- callable
- public static void onUpdateAddressStreet(Setup setup, int streetId)
setup
- streetId
- public static void onUpdateAddressStreet(Setup setup, int streetId, java.util.concurrent.Callable<?> callable)
setup
- streetId
- callable
- public static void onUpdateAddressArea(Setup setup, int areaId)
setup
- areaId
- public static void onUpdateAddressArea(Setup setup, int areaId, java.util.concurrent.Callable<?> callable)
setup
- areaId
- callable
- public static void onUpdateAddressQuarter(Setup setup, int quarterId)
setup
- quarterId
- protected static void onUpdateAddressQuarter(Setup setup, int quarterId, java.util.concurrent.Callable<?> callable)
setup
- quarterId
- callable
- public static void onUpdateHouse(Setup setup, int hid)
setup
- hid
- public static void onUpdateHouse(Setup setup, int hid, java.util.concurrent.Callable<?> callable)
setup
- hid
- callable
- @Deprecated public static final java.lang.String getAddress(Preferences setup, AddressStruct addressStruct)
getAddress(Preferences, AddressStruct, String)
setup
- addressStruct
- public static final java.lang.String getAddress(Preferences setup, AddressStruct addressStruct, java.lang.String formatKey)
public static final AddressStruct getAddressStruct(java.sql.Connection con, EntityAttrAddress entityAttrAddress) throws java.sql.SQLException
java.sql.SQLException
public static final AddressStruct getAddressStruct(java.sql.Connection con, int houseId, java.lang.String flat, java.lang.String room, java.lang.String pod, java.lang.String floor, java.lang.String comment) throws java.sql.SQLException
java.sql.SQLException
public static final java.lang.String getAddress(java.lang.String _address, AddressStruct addressStruct)
public static java.lang.String getHouseFrac(java.lang.String value)
public static java.lang.String getHouse(java.lang.String value)