Package de.hybris.platform.catalog.daos
Interface KeywordDao
- All Known Implementing Classes:
DefaultKeywordDao
public interface KeywordDao
Interface define routine of getting keywords from DB.
-
Method Summary
Modifier and TypeMethodDescriptiongetKeywords(CatalogVersionModel catalogVersion, String keywordValue) Returns the Keyword for the specified keyword value andCatalogVersion.getKeywords(String typeCode, CatalogVersionModel catalogVersion, String keywordValue) Returns the Keyword for the specified keyword value andCatalogVersion.
-
Method Details
-
getKeywords
Returns the Keyword for the specified keyword value andCatalogVersion.- Parameters:
catalogVersion- TheCatalogVersiontheKeywordbelongs to.keywordValue- The value of the searchedKeyword.- Returns:
- All matching
Keywords.
-
getKeywords
List<KeywordModel> getKeywords(String typeCode, CatalogVersionModel catalogVersion, String keywordValue) Returns the Keyword for the specified keyword value andCatalogVersion.- 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.
-