@Transactional @Service(value="countriesService") public class CountriesBusinessService extends hbm.service.jpa.AbstractBusinessService<Countries,Integer,CountriesDao> implements CountriesService
| Constructor and Description |
|---|
CountriesBusinessService() |
| Modifier and Type | Method and Description |
|---|---|
Countries |
find(String iso3166A2name) |
List<Countries> |
findAll(String iso3166A2name,
String iso3166A3name,
String iso3166Number,
String name) |
Countries |
findByName(String name) |
AddressesService |
getAddressesService() |
Map<String,List<String>> |
getCountriesToFederalstatesAsStringMap()
Gets a map with the mapping: the key is the name of the country and as
value the corresponding federal states as a List of Iso3166A2code String objects.
|
Map<Countries,List<Federalstates>> |
getCountriesToFederalstatesMap()
Gets a map with the mapping: the key as Countries object and as value the
corresponding federal states as a List of Federalstates objects.
|
Map<String,List<String>> |
getCountriesToZipcodesAndCitiesAsStringMap()
Gets a map with the mapping: the key is the name of the country and as
value the corresponding zipcodes and cities as a List of String objects.
|
Map<String,List<String>> |
getCountriesToZipcodesAsStringMap()
Gets a map with the mapping: the key is the name of the country and as
value the corresponding zipcodes as a List of String objects.
|
Map<Countries,List<Zipcodes>> |
getCountriesToZipcodesMap()
Gets a map with the mapping: the key as Countries object and as value the
corresponding Zipcodes as a List of Zipcodes objects.
|
FederalstatesService |
getFederalstatesService() |
Map<String,List<String>> |
getGermanCountriesToZipcodesAndCitiesAsStringMap() |
Map<String,List<String>> |
getGermanCountriesToZipcodesAsStringMap() |
Map<Countries,List<Zipcodes>> |
getGermanCountriesToZipcodesMap()
Gets a map with the mapping: the key is the name of the country and as
value the corresponding zipcodes as a List of String objects.
|
ZipcodesService |
getZipcodesService() |
void |
setAddressesService(AddressesService addressesService) |
void |
setCountriesDao(CountriesDao countriesDao) |
void |
setFederalstatesService(FederalstatesService federalstatesService) |
String |
setLocationModel(LocationModel modelObject,
String zc) |
void |
setZipcodesService(ZipcodesService zipcodesService) |
delete, delete, delete, evict, exists, findAll, get, getDao, getQuery, load, merge, merge, refresh, save, save, saveOrUpdate, saveOrUpdate, setDaopublic AddressesService getAddressesService()
public void setAddressesService(AddressesService addressesService)
public ZipcodesService getZipcodesService()
public void setZipcodesService(ZipcodesService zipcodesService)
public FederalstatesService getFederalstatesService()
public void setFederalstatesService(FederalstatesService federalstatesService)
@Autowired public void setCountriesDao(CountriesDao countriesDao)
public Map<Countries,List<Federalstates>> getCountriesToFederalstatesMap()
getCountriesToFederalstatesMap in interface CountriesServicepublic Map<String,List<String>> getCountriesToFederalstatesAsStringMap()
getCountriesToFederalstatesAsStringMap in interface CountriesServicepublic Map<Countries,List<Zipcodes>> getCountriesToZipcodesMap()
getCountriesToZipcodesMap in interface CountriesServicepublic Map<Countries,List<Zipcodes>> getGermanCountriesToZipcodesMap()
getGermanCountriesToZipcodesMap in interface CountriesServicepublic Map<String,List<String>> getGermanCountriesToZipcodesAsStringMap()
getGermanCountriesToZipcodesAsStringMap in interface CountriesServicepublic Map<String,List<String>> getCountriesToZipcodesAsStringMap()
getCountriesToZipcodesAsStringMap in interface CountriesServicepublic Map<String,List<String>> getCountriesToZipcodesAndCitiesAsStringMap()
getCountriesToZipcodesAndCitiesAsStringMap in interface CountriesServicepublic Map<String,List<String>> getGermanCountriesToZipcodesAndCitiesAsStringMap()
getGermanCountriesToZipcodesAndCitiesAsStringMap in interface CountriesServicepublic List<Countries> findAll(String iso3166A2name, String iso3166A3name, String iso3166Number, String name)
findAll in interface CountriesServicepublic Countries find(String iso3166A2name)
find in interface CountriesServicepublic Countries findByName(String name)
findByName in interface CountriesServicepublic String setLocationModel(LocationModel modelObject, String zc)
setLocationModel in interface CountriesServiceCopyright © 2015. All rights reserved.