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
. UseKeywordDao
to search keywords.
-
-
Constructor Summary
Constructors Constructor Description DefaultKeywordService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeywordModel
getKeyword(CatalogVersionModel catalogVersion, java.lang.String keywordValue)
Returns the Keyword for the specified keyword value andCatalogVersion
.KeywordModel
getKeyword(java.lang.String typeCode, CatalogVersionModel catalogVersion, java.lang.String keywordValue)
Returns the Keyword for the specified keyword value andCatalogVersion
.void
setKeywordDao(KeywordDao keywordDao)
-
-
-
Method Detail
-
getKeyword
public KeywordModel getKeyword(CatalogVersionModel catalogVersion, java.lang.String keywordValue)
Description copied from interface:KeywordService
Returns the Keyword for the specified keyword value andCatalogVersion
.- Specified by:
getKeyword
in interfaceKeywordService
- Parameters:
catalogVersion
- TheCatalogVersion
theKeyword
belongs 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:KeywordService
Returns the Keyword for the specified keyword value andCatalogVersion
.- Specified by:
getKeyword
in interfaceKeywordService
- Parameters:
typeCode
- The code of type (or subtype) of keyword to allow to search for subclassescatalogVersion
- TheCatalogVersion
theKeyword
belongs to.keywordValue
- The value of the searchedKeyword
.- Returns:
- The matching
Keyword
.
-
setKeywordDao
public void setKeywordDao(KeywordDao keywordDao)
-
-