@Transactional @Service(value="countriesDomainService") public class CountriesDomainService extends de.alpharogroup.service.domain.AbstractDomainService<Integer,Country,de.alpharogroup.address.book.entities.Countries,de.alpharogroup.address.book.daos.CountriesDao,CountriesMapper> implements CountryService
CountriesDomainService.| Constructor and Description |
|---|
CountriesDomainService() |
| Modifier and Type | Method and Description |
|---|---|
Country |
find(String iso3166a2name)
|
List<Country> |
findAll(String iso3166a2name,
String iso3166a3name,
String iso3166Number,
String name)
Find all
Country from the given arguments. |
Country |
findByName(String name)
Find the
Country 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<Country,Federalstate>> |
getCountriesToFederalstatesList()
Gets a list with the mapping-class: the key as Country object and as value the corresponding
federal states as a List of Federalstate objects.
|
Map<Country,List<Federalstate>> |
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()
Deprecated.
|
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<Country,Zipcode>> |
getCountriesToZipcodesList()
Gets a list with the mapping-class: the key as Country object and as value the corresponding
Zipcodes as a List of Zipcode objects.
|
Map<Country,List<Zipcode>> |
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()
Deprecated.
|
List<de.alpharogroup.collections.pairs.KeyValuesPair<String,String>> |
getGermanCountriesToZipcodesAsStringList()
Gets the german countries to zipcodes as string list.
|
Map<String,List<String>> |
getGermanCountriesToZipcodesAsStringMap()
Deprecated.
|
List<de.alpharogroup.collections.pairs.KeyValuesPair<Country,Zipcode>> |
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<Country,List<Zipcode>> |
getGermanCountriesToZipcodesMap()
Deprecated.
|
void |
setCountriesDao(de.alpharogroup.address.book.daos.CountriesDao countriesDao)
Sets the specific
CountriesDao. |
void |
setCountriesMapper(CountriesMapper mapper)
Sets the specific
CountriesMapper. |
String |
setLocationModel(de.alpharogroup.address.book.application.model.LocationModel<Address> modelObject,
String zc)
Deprecated.
|
AddressSearchModel |
setLocationSearchModel(AddressSearchModel modelObject)
Sets the given
AddressSearchModel object and returns it. |
create, delete, exists, findAll, getDao, getDomainObjectClass, getEntityClass, getMapper, persist, read, setDao, setMapper, updatepublic Country find(String iso3166a2name)
find in interface CountryServiceiso3166a2name - the iso3166 a2nameCountry objectpublic List<Country> findAll(String iso3166a2name, String iso3166a3name, String iso3166Number, String name)
Country from the given arguments.findAll in interface CountryServiceiso3166a2name - the iso3166 a2nameiso3166a3name - the iso3166 a3nameiso3166Number - the iso3166 numbername - the nameCountrypublic Country findByName(String name)
Country object by name.findByName in interface CountryServicename - the namepublic List<de.alpharogroup.collections.pairs.KeyValuesPair<String,String>> getCountriesToFederalstatesAsStringList()
CountryServicegetCountriesToFederalstatesAsStringList in interface CountryService@Deprecated public Map<String,List<String>> getCountriesToFederalstatesAsStringMap()
getCountriesToFederalstatesAsStringMap in interface CountryServicepublic List<de.alpharogroup.collections.pairs.KeyValuesPair<Country,Federalstate>> getCountriesToFederalstatesList()
CountryServicegetCountriesToFederalstatesList in interface CountryService@Deprecated public Map<Country,List<Federalstate>> getCountriesToFederalstatesMap()
getCountriesToFederalstatesMap in interface CountryServicepublic List<de.alpharogroup.collections.pairs.KeyValuesPair<String,String>> getCountriesToZipcodesAndCitiesAsStringList()
CountryServicegetCountriesToZipcodesAndCitiesAsStringList in interface CountryService@Deprecated public Map<String,List<String>> getCountriesToZipcodesAndCitiesAsStringMap()
getCountriesToZipcodesAndCitiesAsStringMap in interface CountryServicepublic List<de.alpharogroup.collections.pairs.KeyValuesPair<String,String>> getCountriesToZipcodesAsStringList()
CountryServicegetCountriesToZipcodesAsStringList in interface CountryService@Deprecated public Map<String,List<String>> getCountriesToZipcodesAsStringMap()
getCountriesToZipcodesAsStringMap in interface CountryServicepublic List<de.alpharogroup.collections.pairs.KeyValuesPair<Country,Zipcode>> getCountriesToZipcodesList()
CountryServicegetCountriesToZipcodesList in interface CountryService@Deprecated public Map<Country,List<Zipcode>> getCountriesToZipcodesMap()
getCountriesToZipcodesMap in interface CountryServicepublic List<de.alpharogroup.collections.pairs.KeyValuesPair<String,String>> getGermanCountriesToZipcodesAndCitiesAsStringList()
CountryServicegetGermanCountriesToZipcodesAndCitiesAsStringList in interface CountryService@Deprecated public Map<String,List<String>> getGermanCountriesToZipcodesAndCitiesAsStringMap()
getGermanCountriesToZipcodesAndCitiesAsStringMap in interface CountryServicepublic List<de.alpharogroup.collections.pairs.KeyValuesPair<String,String>> getGermanCountriesToZipcodesAsStringList()
CountryServicegetGermanCountriesToZipcodesAsStringList in interface CountryService@Deprecated public Map<String,List<String>> getGermanCountriesToZipcodesAsStringMap()
getGermanCountriesToZipcodesAsStringMap in interface CountryServicepublic List<de.alpharogroup.collections.pairs.KeyValuesPair<Country,Zipcode>> getGermanCountriesToZipcodesList()
CountryServicegetGermanCountriesToZipcodesList in interface CountryService@Deprecated public Map<Country,List<Zipcode>> getGermanCountriesToZipcodesMap()
getGermanCountriesToZipcodesMap in interface CountryService@Autowired public void setCountriesDao(de.alpharogroup.address.book.daos.CountriesDao countriesDao)
CountriesDao.countriesDao - the new CountriesDao.@Autowired public void setCountriesMapper(CountriesMapper mapper)
CountriesMapper.mapper - the new CountriesMapper.@Deprecated public String setLocationModel(de.alpharogroup.address.book.application.model.LocationModel<Address> modelObject, String zc)
setLocationModel in interface CountryServicemodelObject - the model objectzc - the zipcode as stringpublic AddressSearchModel setLocationSearchModel(AddressSearchModel modelObject)
AddressSearchModel object and returns it.setLocationSearchModel in interface CountryServicemodelObject - the model objectAddressSearchModel object.Copyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.