Class DefaultKeywordDao
- java.lang.Object
-
- de.hybris.platform.catalog.daos.impl.DefaultKeywordDao
-
- All Implemented Interfaces:
KeywordDao
public class DefaultKeywordDao extends java.lang.Object implements KeywordDao
Default implementation of interfaceKeywordDao.
-
-
Constructor Summary
Constructors Constructor Description DefaultKeywordDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<KeywordModel>getKeywords(CatalogVersionModel catalogVersion, java.lang.String keywordValue)Returns the Keyword for the specified keyword value andCatalogVersion.java.util.List<KeywordModel>getKeywords(java.lang.String typeCode, CatalogVersionModel catalogVersion, java.lang.String keywordValue)Returns the Keyword for the specified keyword value andCatalogVersion.voidsetFlexibleSearchService(FlexibleSearchService flexibleSearchService)
-
-
-
Method Detail
-
setFlexibleSearchService
public void setFlexibleSearchService(FlexibleSearchService flexibleSearchService)
-
getKeywords
public java.util.List<KeywordModel> getKeywords(CatalogVersionModel catalogVersion, java.lang.String keywordValue)
Description copied from interface:KeywordDaoReturns the Keyword for the specified keyword value andCatalogVersion.- Specified by:
getKeywordsin interfaceKeywordDao- Parameters:
catalogVersion- TheCatalogVersiontheKeywordbelongs to.keywordValue- The value of the searchedKeyword.- Returns:
- All matching
Keywords.
-
getKeywords
public java.util.List<KeywordModel> getKeywords(java.lang.String typeCode, CatalogVersionModel catalogVersion, java.lang.String keywordValue)
Description copied from interface:KeywordDaoReturns the Keyword for the specified keyword value andCatalogVersion.- Specified by:
getKeywordsin interfaceKeywordDao- Parameters:
typeCode- Code of type (or subtype) of keyword to allow to search for subclassescatalogVersion- TheCatalogVersiontheKeywordbelongs to.keywordValue- The value of the searchedKeyword.- Returns:
- All matching
Keywords.
-
-