Package de.hybris.platform.catalog.impl
Class DefaultKeywordService
java.lang.Object
de.hybris.platform.catalog.impl.DefaultKeywordService
- All Implemented Interfaces:
KeywordService
Default implementation of
KeywordService. Use KeywordDao to search keywords.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKeyword(CatalogVersionModel catalogVersion, String keywordValue) Returns the Keyword for the specified keyword value andCatalogVersion.getKeyword(String typeCode, CatalogVersionModel catalogVersion, String keywordValue) Returns the Keyword for the specified keyword value andCatalogVersion.voidsetKeywordDao(KeywordDao keywordDao)
-
Constructor Details
-
DefaultKeywordService
public DefaultKeywordService()
-
-
Method Details
-
getKeyword
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(String typeCode, CatalogVersionModel catalogVersion, 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
-