Interface KeywordDao

  • All Known Implementing Classes:
    DefaultKeywordDao

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

      • getKeywords

        java.util.List<KeywordModel> getKeywords​(CatalogVersionModel catalogVersion,
                                                 java.lang.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

        java.util.List<KeywordModel> getKeywords​(java.lang.String typeCode,
                                                 CatalogVersionModel catalogVersion,
                                                 java.lang.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.