public class FederalstatesRestResource extends de.alpharogroup.service.rs.AbstractRestfulResource<Integer,de.alpharogroup.address.book.domain.Federalstate,de.alpharogroup.address.book.service.api.FederalstateService> implements FederalstatesResource
FederalstatesRestResource provides an implementation of the inteface
FederalstatesResource.| Constructor and Description |
|---|
FederalstatesRestResource() |
| Modifier and Type | Method and Description |
|---|---|
de.alpharogroup.address.book.domain.Federalstate |
findFederalstate(de.alpharogroup.collections.pairs.KeyValuePair<de.alpharogroup.address.book.domain.Country,String> countryWithName)
Find the first federal state from country.
|
de.alpharogroup.address.book.domain.Federalstate |
findFederalstateFromIso3166A2code(String iso3166a2code)
Find federal state from iso3166 a2code.
|
String |
findFederalstateNameFromIso3166A2code(String iso3166a2code)
Find federalstate name from iso3166 a2code.
|
List<de.alpharogroup.address.book.domain.Federalstate> |
findFederalstatesFromCountry(de.alpharogroup.address.book.domain.Country country)
Find federalstates from country.
|
List<de.alpharogroup.address.book.domain.Federalstate> |
findFederalstatesFromCountry(de.alpharogroup.collections.pairs.KeyValuePair<de.alpharogroup.address.book.domain.Country,String> countryWithName)
Find federal states from country.
|
de.alpharogroup.address.book.domain.Federalstate |
getFederalstate(String country,
String stateCode)
Gets the Federalstate from the given String objects.
|
create, delete, getDomainService, read, setDomainService, updatepublic de.alpharogroup.address.book.domain.Federalstate findFederalstate(de.alpharogroup.collections.pairs.KeyValuePair<de.alpharogroup.address.book.domain.Country,String> countryWithName)
findFederalstate in interface FederalstatesResourcecountryWithName - the KeyValuePair object that encapsulate the country with the name of the
federal statepublic de.alpharogroup.address.book.domain.Federalstate findFederalstateFromIso3166A2code(String iso3166a2code)
findFederalstateFromIso3166A2code in interface FederalstatesResourceiso3166a2code - the iso3166 a2codepublic String findFederalstateNameFromIso3166A2code(String iso3166a2code)
findFederalstateNameFromIso3166A2code in interface FederalstatesResourceiso3166a2code - the iso3166 a2codepublic List<de.alpharogroup.address.book.domain.Federalstate> findFederalstatesFromCountry(de.alpharogroup.address.book.domain.Country country)
findFederalstatesFromCountry in interface FederalstatesResourcecountry - the countrypublic List<de.alpharogroup.address.book.domain.Federalstate> findFederalstatesFromCountry(de.alpharogroup.collections.pairs.KeyValuePair<de.alpharogroup.address.book.domain.Country,String> countryWithName)
findFederalstatesFromCountry in interface FederalstatesResourcecountryWithName - the KeyValuePair object that encapsulate the country with the name of the
federal statepublic de.alpharogroup.address.book.domain.Federalstate getFederalstate(String country, String stateCode)
getFederalstate in interface FederalstatesResourcecountry - the country.stateCode - the optional state string code.Copyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.