Class DefaultKeywordService

java.lang.Object
de.hybris.platform.catalog.impl.DefaultKeywordService
All Implemented Interfaces:
KeywordService

public class DefaultKeywordService extends Object implements KeywordService
Default implementation of KeywordService. Use KeywordDao to search keywords.
  • Constructor Details

    • DefaultKeywordService

      public DefaultKeywordService()
  • Method Details

    • getKeyword

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

      public KeywordModel getKeyword(String typeCode, CatalogVersionModel catalogVersion, String keywordValue)
      Description copied from interface: KeywordService
      Returns the Keyword for the specified keyword value and CatalogVersion.
      Specified by:
      getKeyword in interface KeywordService
      Parameters:
      typeCode - The 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:
      The matching Keyword.
    • setKeywordDao

      public void setKeywordDao(KeywordDao keywordDao)