@Transactional @Service(value="federalstatesService") public class FederalstatesBusinessService extends de.alpharogroup.db.service.jpa.AbstractBusinessService<de.alpharogroup.address.book.entities.Federalstates,Integer,de.alpharogroup.address.book.daos.FederalstatesDao> implements FederalstatesService
FederalstatesBusinessService.| Constructor and Description |
|---|
FederalstatesBusinessService() |
| Modifier and Type | Method and Description |
|---|---|
de.alpharogroup.address.book.entities.Federalstates |
findFederalstate(de.alpharogroup.address.book.entities.Countries country,
String name)
Find the first federal state from country.
|
de.alpharogroup.address.book.entities.Federalstates |
findFederalstateFromIso3166A2code(String iso3166A2code)
Find federal state from iso3166 a2code.
|
String |
findFederalstateNameFromIso3166A2code(String iso3166A2code)
Find federalstate name from iso3166 a2code.
|
List<de.alpharogroup.address.book.entities.Federalstates> |
findFederalstatesFromCountry(de.alpharogroup.address.book.entities.Countries country)
Find federalstates from country.
|
List<de.alpharogroup.address.book.entities.Federalstates> |
findFederalstatesFromCountry(de.alpharogroup.address.book.entities.Countries country,
String name)
Find federal states from country.
|
de.alpharogroup.address.book.entities.Federalstates |
getFederalstate(String string)
Deprecated.
|
de.alpharogroup.address.book.entities.Federalstates |
getFederalstate(String country,
String stateCode)
Gets the Federalstates from the given String objects.
|
void |
setFederalstatesDao(de.alpharogroup.address.book.daos.FederalstatesDao federalstatesDao)
Sets the specific
FederalstatesDao. |
delete, delete, delete, evict, exists, findAll, get, getDao, getQuery, load, merge, merge, refresh, save, save, saveOrUpdate, saveOrUpdate, setDaopublic de.alpharogroup.address.book.entities.Federalstates findFederalstate(de.alpharogroup.address.book.entities.Countries country,
String name)
findFederalstate in interface FederalstatesServicecountry - the countryname - the name of the federal statepublic de.alpharogroup.address.book.entities.Federalstates findFederalstateFromIso3166A2code(String iso3166A2code)
findFederalstateFromIso3166A2code in interface FederalstatesServiceiso3166A2code - the iso3166 a2codepublic String findFederalstateNameFromIso3166A2code(String iso3166A2code)
findFederalstateNameFromIso3166A2code in interface FederalstatesServiceiso3166A2code - the iso3166 a2codepublic List<de.alpharogroup.address.book.entities.Federalstates> findFederalstatesFromCountry(de.alpharogroup.address.book.entities.Countries country)
findFederalstatesFromCountry in interface FederalstatesServicecountry - the countrypublic List<de.alpharogroup.address.book.entities.Federalstates> findFederalstatesFromCountry(de.alpharogroup.address.book.entities.Countries country, String name)
findFederalstatesFromCountry in interface FederalstatesServicecountry - the countryname - the name of the federal state@Deprecated public de.alpharogroup.address.book.entities.Federalstates getFederalstate(String string)
getFederalstate in interface FederalstatesServicestring - a concat string from country and an optional state string code.public de.alpharogroup.address.book.entities.Federalstates getFederalstate(String country, String stateCode)
getFederalstate in interface FederalstatesServicecountry - the country.stateCode - the optional state string code.@Autowired public void setFederalstatesDao(de.alpharogroup.address.book.daos.FederalstatesDao federalstatesDao)
FederalstatesDao.federalstatesDao - the new FederalstatesDao.Copyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.