Package de.hybris.platform.catalog.impl
Class DefaultKeywordService
- java.lang.Object
-
- de.hybris.platform.catalog.impl.DefaultKeywordService
-
- All Implemented Interfaces:
KeywordService
public class DefaultKeywordService extends java.lang.Object implements KeywordService
Default implementation ofKeywordService. UseKeywordDaoto search keywords.
-
-
Constructor Summary
Constructors Constructor Description DefaultKeywordService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeywordModelgetKeyword(CatalogVersionModel catalogVersion, java.lang.String keywordValue)Returns the Keyword for the specified keyword value andCatalogVersion.KeywordModelgetKeyword(java.lang.String typeCode, CatalogVersionModel catalogVersion, java.lang.String keywordValue)Returns the Keyword for the specified keyword value andCatalogVersion.voidsetKeywordDao(KeywordDao keywordDao)
-
-
-
Method Detail
-
getKeyword
public KeywordModel getKeyword(CatalogVersionModel catalogVersion, java.lang.String keywordValue)
Description copied from interface:KeywordServiceReturns the Keyword for the specified keyword value andCatalogVersion.- Specified by:
getKeywordin interfaceKeywordService- Parameters:
catalogVersion- TheCatalogVersiontheKeywordbelongs to.keywordValue- The value of the searchedKeyword.- Returns:
- The matching
Keyword.
-
getKeyword
public KeywordModel getKeyword(java.lang.String typeCode, CatalogVersionModel catalogVersion, java.lang.String keywordValue)
Description copied from interface:KeywordServiceReturns the Keyword for the specified keyword value andCatalogVersion.- Specified by:
getKeywordin interfaceKeywordService- Parameters:
typeCode- The code of type (or subtype) of keyword to allow to search for subclassescatalogVersion- TheCatalogVersiontheKeywordbelongs to.keywordValue- The value of the searchedKeyword.- Returns:
- The matching
Keyword.
-
setKeywordDao
public void setKeywordDao(KeywordDao keywordDao)
-
-