public class CountriesRestResource extends de.alpharogroup.service.rs.AbstractRestfulResource<Integer,de.alpharogroup.address.book.domain.Country,de.alpharogroup.address.book.service.api.CountryService> implements CountriesResource
CountriesRestResource provides an implementation of the inteface
CountriesResource.| Constructor and Description |
|---|
CountriesRestResource() |
| Modifier and Type | Method and Description |
|---|---|
de.alpharogroup.address.book.domain.Country |
find(String iso3166a2name)
Find the
Country object from the given ISO 3166 String object. |
List<de.alpharogroup.address.book.domain.Country> |
findAll(String iso3166a2name,
String iso3166a3name,
String iso3166Number,
String name)
Find all
Country from the given arguments. |
de.alpharogroup.address.book.domain.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.
|
List<de.alpharogroup.collections.pairs.KeyValuesPair<de.alpharogroup.address.book.domain.Country,de.alpharogroup.address.book.domain.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.
|
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.
|
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.
|
List<de.alpharogroup.collections.pairs.KeyValuesPair<de.alpharogroup.address.book.domain.Country,de.alpharogroup.address.book.domain.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.
|
List<de.alpharogroup.collections.pairs.KeyValuesPair<String,String>> |
getGermanCountriesToZipcodesAndCitiesAsStringList()
Gets the german countries to zipcodes and cities as string list.
|
List<de.alpharogroup.collections.pairs.KeyValuesPair<String,String>> |
getGermanCountriesToZipcodesAsStringList()
Gets the german countries to zipcodes as string list.
|
List<de.alpharogroup.collections.pairs.KeyValuesPair<de.alpharogroup.address.book.domain.Country,de.alpharogroup.address.book.domain.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.
|
de.alpharogroup.address.book.domain.model.AddressSearchModel |
setLocationSearchModel(de.alpharogroup.address.book.domain.model.AddressSearchModel modelObject)
Sets the given
AddressSearchModel object and returns it. |
create, delete, getDomainService, read, setDomainService, updatepublic de.alpharogroup.address.book.domain.Country find(String iso3166a2name)
Country object from the given ISO 3166 String object.find in interface CountriesResourceiso3166a2name - the iso3166 a2nameCountry objectpublic List<de.alpharogroup.address.book.domain.Country> findAll(String iso3166a2name, String iso3166a3name, String iso3166Number, String name)
Country from the given arguments.findAll in interface CountriesResourceiso3166a2name - the iso3166 a2nameiso3166a3name - the iso3166 a3nameiso3166Number - the iso3166 numbername - the nameCountrypublic de.alpharogroup.address.book.domain.Country findByName(String name)
Country object by name.findByName in interface CountriesResourcename - the namepublic List<de.alpharogroup.collections.pairs.KeyValuesPair<String,String>> getCountriesToFederalstatesAsStringList()
getCountriesToFederalstatesAsStringList in interface CountriesResourcepublic List<de.alpharogroup.collections.pairs.KeyValuesPair<de.alpharogroup.address.book.domain.Country,de.alpharogroup.address.book.domain.Federalstate>> getCountriesToFederalstatesList()
getCountriesToFederalstatesList in interface CountriesResourcepublic List<de.alpharogroup.collections.pairs.KeyValuesPair<String,String>> getCountriesToZipcodesAndCitiesAsStringList()
getCountriesToZipcodesAndCitiesAsStringList in interface CountriesResourcepublic List<de.alpharogroup.collections.pairs.KeyValuesPair<String,String>> getCountriesToZipcodesAsStringList()
getCountriesToZipcodesAsStringList in interface CountriesResourcepublic List<de.alpharogroup.collections.pairs.KeyValuesPair<de.alpharogroup.address.book.domain.Country,de.alpharogroup.address.book.domain.Zipcode>> getCountriesToZipcodesList()
getCountriesToZipcodesList in interface CountriesResourcepublic List<de.alpharogroup.collections.pairs.KeyValuesPair<String,String>> getGermanCountriesToZipcodesAndCitiesAsStringList()
getGermanCountriesToZipcodesAndCitiesAsStringList in interface CountriesResourcepublic List<de.alpharogroup.collections.pairs.KeyValuesPair<String,String>> getGermanCountriesToZipcodesAsStringList()
getGermanCountriesToZipcodesAsStringList in interface CountriesResourcepublic List<de.alpharogroup.collections.pairs.KeyValuesPair<de.alpharogroup.address.book.domain.Country,de.alpharogroup.address.book.domain.Zipcode>> getGermanCountriesToZipcodesList()
getGermanCountriesToZipcodesList in interface CountriesResourcepublic de.alpharogroup.address.book.domain.model.AddressSearchModel setLocationSearchModel(de.alpharogroup.address.book.domain.model.AddressSearchModel modelObject)
AddressSearchModel object and returns it.setLocationSearchModel in interface CountriesResourcemodelObject - the model objectAddressSearchModel object.Copyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.