Class DefaultKeywordDao

java.lang.Object
de.hybris.platform.catalog.daos.impl.DefaultKeywordDao
All Implemented Interfaces:
KeywordDao

public class DefaultKeywordDao extends Object implements KeywordDao
Default implementation of interface KeywordDao.
  • Constructor Details

    • DefaultKeywordDao

      public DefaultKeywordDao()
  • Method Details

    • setFlexibleSearchService

      public void setFlexibleSearchService(FlexibleSearchService flexibleSearchService)
    • getKeywords

      public List<KeywordModel> getKeywords(CatalogVersionModel catalogVersion, String keywordValue)
      Description copied from interface: KeywordDao
      Returns the Keyword for the specified keyword value and CatalogVersion.
      Specified by:
      getKeywords in interface KeywordDao
      Parameters:
      catalogVersion - The CatalogVersion the Keyword belongs to.
      keywordValue - The value of the searched Keyword.
      Returns:
      All matching Keywords.
    • getKeywords

      public List<KeywordModel> getKeywords(String typeCode, CatalogVersionModel catalogVersion, String keywordValue)
      Description copied from interface: KeywordDao
      Returns the Keyword for the specified keyword value and CatalogVersion.
      Specified by:
      getKeywords in interface KeywordDao
      Parameters:
      typeCode - Code of type (or subtype) of keyword to allow to search for subclasses
      catalogVersion - The CatalogVersion the Keyword belongs to.
      keywordValue - The value of the searched Keyword.
      Returns:
      All matching Keywords.