Interface FiasSyncService
public interface FiasSyncService
Веб сервис, для синхроизации городов биллига с ФИАС
-
Method Summary
Modifier and Type Method Description voidchangeBillingCityName(int cityId, java.lang.String name)voidchangeBillingStreetName(java.util.List<Street> streets)Result<City>getCityList()Result<Street>getStreetList(City city)voidsyncCity(java.util.List<City> citys)Синхронизует данные в биллинге с данными фиасvoidsyncHouse(java.util.List<City> citys, boolean loadNew)voidsyncStreet(java.util.List<Street> streets)
-
Method Details
-
getCityList
Result<City> getCityList() throws ru.bitel.bgbilling.common.BGMessageException, ru.bitel.bgbilling.common.BGException- Returns:
- список городов в билинге с данными ФИАС
- Throws:
ru.bitel.bgbilling.common.BGMessageExceptionru.bitel.bgbilling.common.BGException
-
syncCity
void syncCity(java.util.List<City> citys) throws ru.bitel.bgbilling.common.BGMessageException, ru.bitel.bgbilling.common.BGExceptionСинхронизует данные в биллинге с данными фиас- Parameters:
aoguids- список guid фиас для сихронизации- Throws:
ru.bitel.bgbilling.common.BGMessageExceptionru.bitel.bgbilling.common.BGException
-
changeBillingCityName
void changeBillingCityName(int cityId, java.lang.String name) throws ru.bitel.bgbilling.common.BGMessageException, ru.bitel.bgbilling.common.BGException- Throws:
ru.bitel.bgbilling.common.BGMessageExceptionru.bitel.bgbilling.common.BGException
-
getStreetList
Result<Street> getStreetList(City city) throws ru.bitel.bgbilling.common.BGMessageException, ru.bitel.bgbilling.common.BGException- Throws:
ru.bitel.bgbilling.common.BGMessageExceptionru.bitel.bgbilling.common.BGException
-
syncStreet
void syncStreet(java.util.List<Street> streets) throws ru.bitel.bgbilling.common.BGMessageException, ru.bitel.bgbilling.common.BGException- Throws:
ru.bitel.bgbilling.common.BGMessageExceptionru.bitel.bgbilling.common.BGException
-
changeBillingStreetName
void changeBillingStreetName(java.util.List<Street> streets) throws ru.bitel.bgbilling.common.BGMessageException, ru.bitel.bgbilling.common.BGException- Throws:
ru.bitel.bgbilling.common.BGMessageExceptionru.bitel.bgbilling.common.BGException
-
syncHouse
void syncHouse(java.util.List<City> citys, boolean loadNew) throws ru.bitel.bgbilling.common.BGMessageException, ru.bitel.bgbilling.common.BGException- Throws:
ru.bitel.bgbilling.common.BGMessageExceptionru.bitel.bgbilling.common.BGException
-