Class DefaultI18NDao

java.lang.Object
de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
de.hybris.platform.servicelayer.i18n.impl.DefaultI18NDao
All Implemented Interfaces:
I18NDao, Dao

@Deprecated(since="ages", forRemoval=true) public class DefaultI18NDao extends AbstractItemDao implements I18NDao
Deprecated, for removal: This API element is subject to removal in a future version.
since ages - replaced by more specific Daos likeDefaultCountryDao
Default implementation of the I18NDao.
  • Constructor Details

    • DefaultI18NDao

      public DefaultI18NDao()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getC2lManager

      protected C2LManager getC2lManager()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • findAllActiveLanguages

      public Set<LanguageModel> findAllActiveLanguages()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      findAllActiveLanguages in interface I18NDao
      Returns:
      a subset of I18NDao.findAllLanguages()
    • findAllLanguages

      public Set<LanguageModel> findAllLanguages()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      findAllLanguages in interface I18NDao
      Returns:
      an empty Set if no language exists.
    • findLanguage

      public LanguageModel findLanguage(String isocode)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      findLanguage in interface I18NDao
      Parameters:
      isocode - the code to be searched for
      Returns:
      null if for the isocode no LanguageModel
    • findCountry

      public CountryModel findCountry(String iso)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      findCountry in interface I18NDao
      Parameters:
      iso - the isocode of the searched CountryModel
      Returns:
      the CountryModel with the specified isocode
    • findCurrency

      public CurrencyModel findCurrency(String isocode)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      findCurrency in interface I18NDao
      Parameters:
      isocode - the code to be searched for
      Returns:
      a CurrencyModel for the given isocode.
    • findAllCurrencies

      public Set<CurrencyModel> findAllCurrencies()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      findAllCurrencies in interface I18NDao
      Returns:
      all currencymodels
    • findAllCountries

      public Set<CountryModel> findAllCountries()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      findAllCountries in interface I18NDao
      Returns:
      a Set of all countries
    • findAllRegions

      public Set<RegionModel> findAllRegions()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      findAllRegions in interface I18NDao
      Returns:
      a Set of all RegionModels
    • findBaseCurrency

      public CurrencyModel findBaseCurrency()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      findBaseCurrency in interface I18NDao
      Returns:
      the base CurrencyModel or null if no base currency is set
    • findRegion

      public RegionModel findRegion(String code)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      findRegion in interface I18NDao
      Parameters:
      code - the code of the searched RegionModel
      Returns:
      the RegionModel with the specified code