@Transactional @Service(value="countriesService") public class CountriesBusinessService extends de.alpharogroup.db.service.jpa.AbstractBusinessService<de.alpharogroup.address.book.entities.Countries,Integer,de.alpharogroup.address.book.daos.CountriesDao> implements CountriesService
CountriesBusinessService.| Constructor and Description |
|---|
CountriesBusinessService() |
| Modifier and Type | Method and Description |
|---|---|
de.alpharogroup.address.book.entities.Countries |
find(String iso3166A2name)
Find the
Countries object from the given ISO 3166 String object. |
List<de.alpharogroup.address.book.entities.Countries> |
findAll(String iso3166A2name,
String iso3166A3name,
String iso3166Number,
String name)
Find all
Countries from the given arguments. |
de.alpharogroup.address.book.entities.Countries |
findByName(String name)
Find the
Countries object by name. |
List<de.alpharogroup.collections.pairs.KeyValuesPair<String,String>> |
getCountriesToFederalstatesAsStringList()
Gets a list with the mapping-class: the key is the name of the country and as value the
corresponding federal states as a List of Iso3166A2code String objects.
|
Map<String,List<String>> |
getCountriesToFederalstatesAsStringMap()
Deprecated.
|
List<de.alpharogroup.collections.pairs.KeyValuesPair<de.alpharogroup.address.book.entities.Countries,de.alpharogroup.address.book.entities.Federalstates>> |
getCountriesToFederalstatesList()
Gets a list with the mapping-class: the key as Countries object and as value the
corresponding federal states as a List of Federalstates objects.
|
Map<de.alpharogroup.address.book.entities.Countries,List<de.alpharogroup.address.book.entities.Federalstates>> |
getCountriesToFederalstatesMap()
Deprecated.
|
List<de.alpharogroup.collections.pairs.KeyValuesPair<String,String>> |
getCountriesToZipcodesAndCitiesAsStringList()
Gets a list with the mapping-class: 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>> |
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.
|
List<de.alpharogroup.collections.pairs.KeyValuesPair<String,String>> |
getCountriesToZipcodesAsStringList()
Gets a list with the mapping-class: the key is the name of the country and as value the
corresponding zipcodes as a List of String objects.
|
Map<String,List<String>> |
getCountriesToZipcodesAsStringMap()
Deprecated.
|
List<de.alpharogroup.collections.pairs.KeyValuesPair<de.alpharogroup.address.book.entities.Countries,de.alpharogroup.address.book.entities.Zipcodes>> |
getCountriesToZipcodesList()
Gets a list with the mapping-class: the key as Countries object and as value the
corresponding Zipcodes as a List of Zipcodes objects.
|
Map<de.alpharogroup.address.book.entities.Countries,List<de.alpharogroup.address.book.entities.Zipcodes>> |
getCountriesToZipcodesMap()
Deprecated.
|
List<de.alpharogroup.collections.pairs.KeyValuesPair<String,String>> |
getGermanCountriesToZipcodesAndCitiesAsStringList()
Gets the german countries to zipcodes and cities as string list.
|
Map<String,List<String>> |
getGermanCountriesToZipcodesAndCitiesAsStringMap()
Gets the german countries to zipcodes and cities as string map.
|
List<de.alpharogroup.collections.pairs.KeyValuesPair<String,String>> |
getGermanCountriesToZipcodesAsStringList()
Gets a list with the mapping-class: the key is the name of the german speaking country and as
value the corresponding zipcodes as a List of String objects.
|
Map<String,List<String>> |
getGermanCountriesToZipcodesAsStringMap()
Deprecated.
|
List<de.alpharogroup.collections.pairs.KeyValuesPair<de.alpharogroup.address.book.entities.Countries,de.alpharogroup.address.book.entities.Zipcodes>> |
getGermanCountriesToZipcodesList()
Gets a list with the mapping-class: the key is the name of the country and as value the
corresponding zipcodes as a List of String objects.
|
Map<de.alpharogroup.address.book.entities.Countries,List<de.alpharogroup.address.book.entities.Zipcodes>> |
getGermanCountriesToZipcodesMap()
Deprecated.
|
void |
setCountriesDao(de.alpharogroup.address.book.daos.CountriesDao countriesDao)
Sets the specific
CountriesDao. |
String |
setLocationModel(LocationModel<de.alpharogroup.address.book.entities.Addresses> modelObject,
String zc)
Deprecated.
|
AddressesSearchModel |
setLocationSearchModel(AddressesSearchModel modelObject)
Sets the given
AddressesSearchModel object and returns it. |
delete, delete, delete, evict, exists, findAll, get, getDao, getQuery, load, merge, merge, refresh, save, save, saveOrUpdate, saveOrUpdate, setDaopublic de.alpharogroup.address.book.entities.Countries find(String iso3166A2name)
Countries object from the given ISO 3166 String object.find in interface CountriesServiceiso3166A2name - the iso3166 a2nameCountries objectpublic List<de.alpharogroup.address.book.entities.Countries> findAll(String iso3166A2name, String iso3166A3name, String iso3166Number, String name)
Countries from the given arguments.findAll in interface CountriesServiceiso3166A2name - the iso3166 a2nameiso3166A3name - the iso3166 a3nameiso3166Number - the iso3166 numbername - the nameCountriespublic de.alpharogroup.address.book.entities.Countries findByName(String name)
Countries object by name.findByName in interface CountriesServicename - the namepublic List<de.alpharogroup.collections.pairs.KeyValuesPair<String,String>> getCountriesToFederalstatesAsStringList()
getCountriesToFederalstatesAsStringList in interface CountriesService@Deprecated public Map<String,List<String>> getCountriesToFederalstatesAsStringMap()
getCountriesToFederalstatesAsStringMap in interface CountriesServicepublic List<de.alpharogroup.collections.pairs.KeyValuesPair<de.alpharogroup.address.book.entities.Countries,de.alpharogroup.address.book.entities.Federalstates>> getCountriesToFederalstatesList()
getCountriesToFederalstatesList in interface CountriesService@Deprecated public Map<de.alpharogroup.address.book.entities.Countries,List<de.alpharogroup.address.book.entities.Federalstates>> getCountriesToFederalstatesMap()
getCountriesToFederalstatesMap in interface CountriesServicepublic List<de.alpharogroup.collections.pairs.KeyValuesPair<String,String>> getCountriesToZipcodesAndCitiesAsStringList()
getCountriesToZipcodesAndCitiesAsStringList in interface CountriesServicepublic Map<String,List<String>> getCountriesToZipcodesAndCitiesAsStringMap()
getCountriesToZipcodesAndCitiesAsStringMap in interface CountriesServicepublic List<de.alpharogroup.collections.pairs.KeyValuesPair<String,String>> getCountriesToZipcodesAsStringList()
getCountriesToZipcodesAsStringList in interface CountriesService@Deprecated public Map<String,List<String>> getCountriesToZipcodesAsStringMap()
getCountriesToZipcodesAsStringMap in interface CountriesServicepublic List<de.alpharogroup.collections.pairs.KeyValuesPair<de.alpharogroup.address.book.entities.Countries,de.alpharogroup.address.book.entities.Zipcodes>> getCountriesToZipcodesList()
getCountriesToZipcodesList in interface CountriesService@Deprecated public Map<de.alpharogroup.address.book.entities.Countries,List<de.alpharogroup.address.book.entities.Zipcodes>> getCountriesToZipcodesMap()
getCountriesToZipcodesMap in interface CountriesServicepublic List<de.alpharogroup.collections.pairs.KeyValuesPair<String,String>> getGermanCountriesToZipcodesAndCitiesAsStringList()
getGermanCountriesToZipcodesAndCitiesAsStringList in interface CountriesServicepublic Map<String,List<String>> getGermanCountriesToZipcodesAndCitiesAsStringMap()
getGermanCountriesToZipcodesAndCitiesAsStringMap in interface CountriesServicepublic List<de.alpharogroup.collections.pairs.KeyValuesPair<String,String>> getGermanCountriesToZipcodesAsStringList()
getGermanCountriesToZipcodesAsStringList in interface CountriesService@Deprecated public Map<String,List<String>> getGermanCountriesToZipcodesAsStringMap()
getGermanCountriesToZipcodesAsStringMap in interface CountriesServicepublic List<de.alpharogroup.collections.pairs.KeyValuesPair<de.alpharogroup.address.book.entities.Countries,de.alpharogroup.address.book.entities.Zipcodes>> getGermanCountriesToZipcodesList()
getGermanCountriesToZipcodesList in interface CountriesServiceKeyValuesPair for german speeking
countries only@Deprecated public Map<de.alpharogroup.address.book.entities.Countries,List<de.alpharogroup.address.book.entities.Zipcodes>> getGermanCountriesToZipcodesMap()
getGermanCountriesToZipcodesMap in interface CountriesService@Autowired public void setCountriesDao(de.alpharogroup.address.book.daos.CountriesDao countriesDao)
CountriesDao.countriesDao - the new CountriesDao.@Deprecated public String setLocationModel(LocationModel<de.alpharogroup.address.book.entities.Addresses> modelObject, String zc)
setLocationModel in interface CountriesServicemodelObject - the model objectzc - the zipcode as stringpublic AddressesSearchModel setLocationSearchModel(AddressesSearchModel modelObject)
AddressesSearchModel object and returns it.setLocationSearchModel in interface CountriesServicemodelObject - the model objectAddressesSearchModel object.Copyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.