public class DefaultKeywordService extends java.lang.Object implements KeywordService
KeywordService. Use KeywordDao to search keywords.| Constructor and Description |
|---|
DefaultKeywordService() |
| Modifier and Type | Method and Description |
|---|---|
KeywordModel |
getKeyword(CatalogVersionModel catalogVersion,
java.lang.String keywordValue)
Returns the Keyword for the specified keyword value and
CatalogVersion. |
KeywordModel |
getKeyword(java.lang.String typeCode,
CatalogVersionModel catalogVersion,
java.lang.String keywordValue)
Returns the Keyword for the specified keyword value and
CatalogVersion. |
void |
setKeywordDao(KeywordDao keywordDao) |
public KeywordModel getKeyword(CatalogVersionModel catalogVersion, java.lang.String keywordValue)
KeywordServiceCatalogVersion.getKeyword in interface KeywordServicecatalogVersion - The CatalogVersion the Keyword belongs to.keywordValue - The value of the searched Keyword.Keyword.public KeywordModel getKeyword(java.lang.String typeCode, CatalogVersionModel catalogVersion, java.lang.String keywordValue)
KeywordServiceCatalogVersion.getKeyword in interface KeywordServicetypeCode - The code of type (or subtype) of keyword to allow to search for subclassescatalogVersion - The CatalogVersion the Keyword belongs to.keywordValue - The value of the searched Keyword.Keyword.public void setKeywordDao(KeywordDao keywordDao)
Copyright © 2018 SAP SE. All Rights Reserved.