Interface AddressService
public interface AddressService
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addressEntityDataDelete
(AddressEntityType addressEntityType, int recordId) addressEntityDataGet
(AddressEntityType addressEntityType, int recordId) void
addressEntityDataUpdate
(AddressEntityData addressEntityData) addressEntityItems
(AddressEntityType addressEntityType, int parentId) List<ru.bitel.bgbilling.common.model.KeyValue>
addressFormat
(EntityAttrAddress attrAddress, EntityType entityType) void
addressImport
(int mode, int id, String data) void
areaDelete
(int id) areaGet
(int id) areaList
(int cityId) int
areaUpdate
(Area area) void
cityDelete
(int id) cityGet
(int id) cityList
(int countryId) int
cityUpdate
(City city) void
countryDelete
(int id) countryGet
(int id) int
countryUpdate
(Country country) void
extraParamsUpdate
(AddressEntityType addressEntityType, int recordId, List<ru.bitel.bgbilling.common.model.KeyValue> values) houseDataGet
(int id) void
houseDelete
(int id) houseGet
(int id) houseIndexGet
(int streetId, String houseAndFrac, int house, String frac) int
houseUpdate
(House house) postIndexGet
(int streetId, String houseAndFrac, int house, String frac) void
quarterDelete
(int id) quarterGet
(int id) quarterList
(int cityId) int
quarterUpdate
(Quarter quarter) searchAreaList
(int cityId, String title, String searchMode, Page page) searchCityList
(int countryId, String title, String searchMode, Page page) searchCountryList
(String title, String searchMode, Page page) searchQuarterList
(int cityId, String title, String searchMode, Page page) searchStreetList
(int cityId, String title, String searchMode, Page page) void
streetDelete
(int id) streetGet
(int id) streetList
(int cityId) streetSearch
(int cityId, String title, String cityTitle, Page page) int
streetUpdate
(Street street)
-
Method Details
-
countryGet
- Throws:
ru.bitel.bgbilling.common.BGException
-
searchCountryList
SearchResult<Country> searchCountryList(String title, String searchMode, Page page) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
countryUpdate
- Throws:
ru.bitel.bgbilling.common.BGException
-
countryDelete
void countryDelete(int id) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
cityGet
- Throws:
ru.bitel.bgbilling.common.BGException
-
searchCityList
SearchResult<City> searchCityList(int countryId, String title, String searchMode, Page page) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
cityUpdate
- Throws:
ru.bitel.bgbilling.common.BGException
-
cityDelete
void cityDelete(int id) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
cityList
List<City> cityList(int countryId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
-
areaGet
- Throws:
ru.bitel.bgbilling.common.BGException
-
searchAreaList
SearchResult<Area> searchAreaList(int cityId, String title, String searchMode, Page page) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
areaUpdate
- Throws:
ru.bitel.bgbilling.common.BGException
-
areaDelete
void areaDelete(int id) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
areaList
List<Area> areaList(int cityId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
streetGet
- Throws:
ru.bitel.bgbilling.common.BGException
-
searchStreetList
SearchResult<Street> searchStreetList(int cityId, String title, String searchMode, Page page) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
streetSearch
List<Street> streetSearch(int cityId, String title, String cityTitle, Page page) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
streetUpdate
- Throws:
ru.bitel.bgbilling.common.BGException
-
streetDelete
void streetDelete(int id) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
streetList
List<Street> streetList(int cityId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
quarterGet
- Throws:
ru.bitel.bgbilling.common.BGException
-
searchQuarterList
SearchResult<Quarter> searchQuarterList(int cityId, String title, String searchMode, Page page) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
quarterUpdate
- Throws:
ru.bitel.bgbilling.common.BGException
-
quarterDelete
void quarterDelete(int id) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
quarterList
List<Quarter> quarterList(int cityId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
postIndexGet
String postIndexGet(int streetId, String houseAndFrac, int house, String frac) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
houseGet
- Throws:
ru.bitel.bgbilling.common.BGException
-
houseDataGet
- Throws:
ru.bitel.bgbilling.common.BGException
-
houseList
List<House> houseList(int cityId, int areaId, int streetId, int quarterId, int house, String frac, Page page) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
houseUpdate
- Throws:
ru.bitel.bgbilling.common.BGException
-
houseDelete
void houseDelete(int id) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
addressFormat
List<ru.bitel.bgbilling.common.model.KeyValue> addressFormat(EntityAttrAddress attrAddress, EntityType entityType) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
houseIndexGet
String houseIndexGet(int streetId, String houseAndFrac, int house, String frac) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
extraParamsUpdate
void extraParamsUpdate(AddressEntityType addressEntityType, int recordId, List<ru.bitel.bgbilling.common.model.KeyValue> values) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
addressEntityDataGet
AddressEntityData addressEntityDataGet(AddressEntityType addressEntityType, int recordId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
addressEntityDataUpdate
void addressEntityDataUpdate(AddressEntityData addressEntityData) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
addressEntityDataDelete
void addressEntityDataDelete(AddressEntityType addressEntityType, int recordId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
addressEntityItems
List<IdTitle> addressEntityItems(AddressEntityType addressEntityType, int parentId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
addressImport
void addressImport(int mode, int id, String data) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-