Interface I18NDao
- All Superinterfaces:
Dao
- All Known Implementing Classes:
DefaultI18NDao,I18NDaoMock
Deprecated, for removal: This API element is subject to removal in a future version.
General
LanguageModel specific services.- Since:
- 4.0
- Spring Bean ID:
- languageDao
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.since ages - as of release 4.3, not supported anymoreDeprecated, for removal: This API element is subject to removal in a future version.since ages - as of release 4.3, please useCountryDao.findCountries()Deprecated, for removal: This API element is subject to removal in a future version.since ages - as of release 4.3, please useCurrencyDao.findCurrencies()Deprecated, for removal: This API element is subject to removal in a future version.since ages - as of release 4.3, please useLanguageDao.findLanguages()Deprecated, for removal: This API element is subject to removal in a future version.since ages - as of release 4.3, please useRegionDao.findRegions()Deprecated, for removal: This API element is subject to removal in a future version.since ages - as of release 4.3, please useCurrencyDao.findBaseCurrencies()findCountry(String isocode) Deprecated, for removal: This API element is subject to removal in a future version.since ages - as of release 4.3, please useCountryDao.findCountriesByCode(String)findCurrency(String isocode) Deprecated, for removal: This API element is subject to removal in a future version.since ages - as of release 4.3, please useCurrencyDao.findCurrenciesByCode(String)findLanguage(String isocode) Deprecated, for removal: This API element is subject to removal in a future version.since ages - as of release 4.3, please useLanguageDao.findLanguagesByCode(String)findRegion(String code) Deprecated, for removal: This API element is subject to removal in a future version.since ages - as of release 4.3, please useRegionDao.findRegionsByCountryAndCode(CountryModel, String)
-
Method Details
-
findLanguage
Deprecated, for removal: This API element is subject to removal in a future version.since ages - as of release 4.3, please useLanguageDao.findLanguagesByCode(String)Returns a
LanguageModelfor the givenisocode.- Parameters:
isocode- the code to be searched for- Returns:
nullif for the isocode noLanguageModel
-
findAllLanguages
Deprecated, for removal: This API element is subject to removal in a future version.since ages - as of release 4.3, please useLanguageDao.findLanguages()Returns a
SetofLanguageModels which contains all Languages of the current system.- Returns:
- an empty Set if no language exists.
-
findAllActiveLanguages
Deprecated, for removal: This API element is subject to removal in a future version.since ages - as of release 4.3, not supported anymoreReturns a
SetofLanguageModels which are Languages of the current systen AND which are active.- Returns:
- a subset of
findAllLanguages()
-
findCurrency
Deprecated, for removal: This API element is subject to removal in a future version.since ages - as of release 4.3, please useCurrencyDao.findCurrenciesByCode(String)- Parameters:
isocode- the code to be searched for- Returns:
- a
CurrencyModelfor the givenisocode. - Throws:
UnknownIdentifierException- if no Currency with thisisocodewas found.
-
findBaseCurrency
Deprecated, for removal: This API element is subject to removal in a future version.since ages - as of release 4.3, please useCurrencyDao.findBaseCurrencies()Returns the base currency (
CurrencyModel.getBase()) of this system ornullif no base currency is set. There should be always one suchCurrencyModelin the hybris Platform. The base currency should be the most likely-to-us currency.- Returns:
- the base
CurrencyModelornullif no base currency is set
-
findAllCurrencies
Deprecated, for removal: This API element is subject to removal in a future version.since ages - as of release 4.3, please useCurrencyDao.findCurrencies()Returns a
Setof allCurrencyModel.- Returns:
- all currencymodels
-
findCountry
Deprecated, for removal: This API element is subject to removal in a future version.since ages - as of release 4.3, please useCountryDao.findCountriesByCode(String)Returns the
CountryModelwith the specifiedisocode.- Parameters:
isocode- the isocode of the searchedCountryModel- Returns:
- the
CountryModelwith the specified isocode - Throws:
UnknownIdentifierException- if no Country with thisisocodewas found.
-
findAllCountries
Deprecated, for removal: This API element is subject to removal in a future version.since ages - as of release 4.3, please useCountryDao.findCountries()Returns a
Setof allCountryModels.- Returns:
- a
Setof all countries
-
findRegion
Deprecated, for removal: This API element is subject to removal in a future version.since ages - as of release 4.3, please useRegionDao.findRegionsByCountryAndCode(CountryModel, String)Returns the
RegionModelwith the specified code.- Parameters:
code- the code of the searchedRegionModel- Returns:
- the
RegionModelwith the specified code - Throws:
UnknownIdentifierException- if there exists noRegionModelwith the specified code
-
findAllRegions
Deprecated, for removal: This API element is subject to removal in a future version.since ages - as of release 4.3, please useRegionDao.findRegions()Returns a
Setof allRegionModels, regardless whichCountryModelthey belong to.- Returns:
- a
Setof all RegionModels
-
CountryDao