@Path(value="/federalstate/") @Produces(value="application/json") @Consumes(value="application/json") public interface FederalstatesResource extends de.alpharogroup.service.rs.RestfulResource<Integer,de.alpharogroup.address.book.domain.Federalstate>
| 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.
|
@POST @Path(value="/find/federalstate/country/with/name") de.alpharogroup.address.book.domain.Federalstate findFederalstate(de.alpharogroup.collections.pairs.KeyValuePair<de.alpharogroup.address.book.domain.Country,String> countryWithName)
countryWithName - the KeyValuePair object that encapsulate the country with the name of the
federal state@GET @Path(value="/find/federalstate/{iso3166A2code}/") de.alpharogroup.address.book.domain.Federalstate findFederalstateFromIso3166A2code(@PathParam(value="iso3166A2code") String iso3166A2code)
iso3166A2code - the iso3166 a2code@GET @Path(value="/find/federalstatestring/{iso3166A2code}/") String findFederalstateNameFromIso3166A2code(@PathParam(value="iso3166A2code") String iso3166A2code)
iso3166A2code - the iso3166 a2code@POST @Path(value="/find/federalstates/country") List<de.alpharogroup.address.book.domain.Federalstate> findFederalstatesFromCountry(de.alpharogroup.address.book.domain.Country country)
country - the country@POST @Path(value="/find/federalstates/country/with/name") List<de.alpharogroup.address.book.domain.Federalstate> findFederalstatesFromCountry(de.alpharogroup.collections.pairs.KeyValuePair<de.alpharogroup.address.book.domain.Country,String> countryWithName)
countryWithName - the KeyValuePair object that encapsulate the country with the name of the
federal state@GET @Path(value="/get/federalstate/{country}/{statecode}/") de.alpharogroup.address.book.domain.Federalstate getFederalstate(@PathParam(value="country") String country, @PathParam(value="statecode") String stateCode)
country - the country.stateCode - the optional state string code.Copyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.