@Transactional @Service(value="federalstatesDomainService") public class FederalstatesDomainService extends de.alpharogroup.service.domain.AbstractDomainService<Integer,Federalstate,de.alpharogroup.address.book.entities.Federalstates,de.alpharogroup.address.book.daos.FederalstatesDao,FederalstatesMapper> implements FederalstateService
FederalstatesDomainService.| Constructor and Description |
|---|
FederalstatesDomainService() |
| Modifier and Type | Method and Description |
|---|---|
Federalstate |
findFederalstate(Country country,
String name)
Find the first federal state from country.
|
Federalstate |
findFederalstateFromIso3166A2code(String iso3166a2code)
Find federal state from iso3166 a2code.
|
String |
findFederalstateNameFromIso3166A2code(String iso3166a2code)
Find federalstate name from iso3166 a2code.
|
List<Federalstate> |
findFederalstatesFromCountry(Country country)
Find federalstates from country.
|
List<Federalstate> |
findFederalstatesFromCountry(Country country,
String name)
Find federal states from country.
|
Federalstate |
getFederalstate(String string)
Deprecated.
|
Federalstate |
getFederalstate(String country,
String stateCode)
Gets the Federalstate from the given String objects.
|
void |
setFederalstatesDao(de.alpharogroup.address.book.daos.FederalstatesDao federalstatesDao)
Sets the specific
FederalstatesDao. |
void |
setFederalstatesMapper(FederalstatesMapper mapper)
Sets the specific
FederalstatesMapper. |
create, delete, exists, findAll, getDao, getDomainObjectClass, getEntityClass, getMapper, persist, read, setDao, setMapper, updatepublic Federalstate findFederalstate(Country country, String name)
findFederalstate in interface FederalstateServicecountry - the countryname - the name of the federal statepublic Federalstate findFederalstateFromIso3166A2code(String iso3166a2code)
findFederalstateFromIso3166A2code in interface FederalstateServiceiso3166a2code - the iso3166 a2codepublic String findFederalstateNameFromIso3166A2code(String iso3166a2code)
findFederalstateNameFromIso3166A2code in interface FederalstateServiceiso3166a2code - the iso3166 a2codepublic List<Federalstate> findFederalstatesFromCountry(Country country)
findFederalstatesFromCountry in interface FederalstateServicecountry - the countrypublic List<Federalstate> findFederalstatesFromCountry(Country country, String name)
findFederalstatesFromCountry in interface FederalstateServicecountry - the countryname - the name of the federal state@Deprecated public Federalstate getFederalstate(String string)
getFederalstate in interface FederalstateServicestring - a concat string from country and an optional state string code.public Federalstate getFederalstate(String country, String stateCode)
getFederalstate in interface FederalstateServicecountry - the country.stateCode - the optional state string code.@Autowired public void setFederalstatesDao(de.alpharogroup.address.book.daos.FederalstatesDao federalstatesDao)
FederalstatesDao.federalstatesDao - the new FederalstatesDao.@Autowired public void setFederalstatesMapper(FederalstatesMapper mapper)
FederalstatesMapper.mapper - the new FederalstatesMapper.Copyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.