Interface KeywordDao

All Known Implementing Classes:
DefaultKeywordDao

public interface KeywordDao
Interface define routine of getting keywords from DB.
  • Method Details

    • getKeywords

      List<KeywordModel> getKeywords(CatalogVersionModel catalogVersion, String keywordValue)
      Returns the Keyword for the specified keyword value and CatalogVersion.
      Parameters:
      catalogVersion - The CatalogVersion the Keyword belongs to.
      keywordValue - The value of the searched Keyword.
      Returns:
      All matching Keywords.
    • getKeywords

      List<KeywordModel> getKeywords(String typeCode, CatalogVersionModel catalogVersion, String keywordValue)
      Returns the Keyword for the specified keyword value and CatalogVersion.
      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.