public class AddressLoadManager extends BaseLoadManager
ADDRESS_CITY, ADDRESS_HOUSE, ADDRESS_STREET, con, FIAS_CITY_MAP, FIAS_HOUSE_MAP, FIAS_HOUSE_TEMP, FIAS_STREET_MAP, FIAS_STREET_TEMP, logger, PROFILE
Constructor and Description |
---|
AddressLoadManager(java.sql.Connection con) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
addAllTempStreet(ru.bitel.bgbilling.plugins.fias.common.bean.bgbean.City city) |
void |
createTempStreetTable(java.util.List<ru.bitel.bgbilling.plugins.fias.common.bean.bgbean.Street> streets) |
java.util.List<ru.bitel.bgbilling.plugins.fias.common.bean.bgbean.Street> |
findStreetInFias(ru.bitel.bgbilling.plugins.fias.common.bean.bgbean.Street street) |
java.util.List<ru.bitel.bgbilling.plugins.fias.common.bean.bgbean.City> |
getCityFromBG() |
java.util.List<ru.bitel.bgbilling.plugins.fias.common.bean.bgbean.City> |
getCityList() |
ru.bitel.bgbilling.plugins.fias.common.bean.bgbean.Street |
getNextEmptyBillingStreet(int cityId) |
java.util.List<ru.bitel.bgbilling.plugins.fias.common.bean.bgbean.Street> |
getStreetList(ru.bitel.bgbilling.plugins.fias.common.bean.bgbean.City city) |
boolean |
loadInProcess() |
void |
updateCity(ru.bitel.bgbilling.plugins.fias.common.bean.bgbean.City city) |
void |
updateCityBgTitle(int cityId,
java.lang.String name) |
void |
updateStreet(ru.bitel.bgbilling.plugins.fias.common.bean.bgbean.Street street) |
void |
updateStreetBgTitle(java.util.List<ru.bitel.bgbilling.plugins.fias.common.bean.bgbean.Street> streets) |
clearFiasTable, exceptionLog, executeQuery, executeQuery, loadAddressObjFromRs, loadCityFromRs
public void updateCity(ru.bitel.bgbilling.plugins.fias.common.bean.bgbean.City city) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void updateStreet(ru.bitel.bgbilling.plugins.fias.common.bean.bgbean.Street street) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.lang.String addAllTempStreet(ru.bitel.bgbilling.plugins.fias.common.bean.bgbean.City city) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
ru.bitel.bgbilling.common.BGException
java.sql.SQLException
public void createTempStreetTable(java.util.List<ru.bitel.bgbilling.plugins.fias.common.bean.bgbean.Street> streets) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public ru.bitel.bgbilling.plugins.fias.common.bean.bgbean.Street getNextEmptyBillingStreet(int cityId) throws java.sql.SQLException
java.sql.SQLException
public java.util.List<ru.bitel.bgbilling.plugins.fias.common.bean.bgbean.Street> findStreetInFias(ru.bitel.bgbilling.plugins.fias.common.bean.bgbean.Street street) throws java.sql.SQLException
java.sql.SQLException
public boolean loadInProcess() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<ru.bitel.bgbilling.plugins.fias.common.bean.bgbean.City> getCityFromBG() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<ru.bitel.bgbilling.plugins.fias.common.bean.bgbean.City> getCityList() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<ru.bitel.bgbilling.plugins.fias.common.bean.bgbean.Street> getStreetList(ru.bitel.bgbilling.plugins.fias.common.bean.bgbean.City city) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void updateCityBgTitle(int cityId, java.lang.String name) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void updateStreetBgTitle(java.util.List<ru.bitel.bgbilling.plugins.fias.common.bean.bgbean.Street> streets) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException