Class DefaultKeywordDao

  • All Implemented Interfaces:
    KeywordDao

    public class DefaultKeywordDao
    extends java.lang.Object
    implements KeywordDao
    Default implementation of interface KeywordDao.
    • Constructor Detail

      • DefaultKeywordDao

        public DefaultKeywordDao()
    • Method Detail

      • setFlexibleSearchService

        public void setFlexibleSearchService​(FlexibleSearchService flexibleSearchService)
      • getKeywords

        public java.util.List<KeywordModel> getKeywords​(CatalogVersionModel catalogVersion,
                                                        java.lang.String keywordValue)
        Description copied from interface: KeywordDao
        Returns the Keyword for the specified keyword value and CatalogVersion.
        Specified by:
        getKeywords in interface KeywordDao
        Parameters:
        catalogVersion - The CatalogVersion the Keyword belongs to.
        keywordValue - The value of the searched Keyword.
        Returns:
        All matching Keywords.
      • getKeywords

        public java.util.List<KeywordModel> getKeywords​(java.lang.String typeCode,
                                                        CatalogVersionModel catalogVersion,
                                                        java.lang.String keywordValue)
        Description copied from interface: KeywordDao
        Returns the Keyword for the specified keyword value and CatalogVersion.
        Specified by:
        getKeywords in interface KeywordDao
        Parameters:
        typeCode - Code of type (or subtype) of keyword to allow to search for subclasses
        catalogVersion - The CatalogVersion the Keyword belongs to.
        keywordValue - The value of the searched Keyword.
        Returns:
        All matching Keywords.