Class CmsGallerySearchResult

java.lang.Object
org.opencms.search.galleries.CmsGallerySearchResult
All Implemented Interfaces:
Cloneable, Comparable<CmsGallerySearchResult>

  • Field Details

    • LOG

      public static final org.apache.commons.logging.Log LOG
      The logger instance for this class.
    • m_containerTypes

      The supported container types of this search result.
    • m_dateCreated

      protected Date m_dateCreated
      The creation date of this search result.
    • m_dateExpired

      protected Date m_dateExpired
      The expiration date of this search result.
    • m_dateLastModified

      The last modification date of this search result.
    • m_dateReleased

      protected Date m_dateReleased
      The release date of this search result.
    • m_description

      protected String m_description
      The description of this search result.
    • m_excerpt

      protected String m_excerpt
      The excerpt of this search result.
    • m_length

      protected int m_length
      The length of the search result.
    • m_locales

      protected List<String> m_locales
      The locales in which the content is available.
    • m_path

      protected String m_path
      The resource path of this search result.
    • m_resourceType

      The resource type of the search result.
    • m_score

      protected int m_score
      The score of this search result.
    • m_state

      protected int m_state
      The state of the search result.
    • m_structureId

      protected String m_structureId
      The structure UUID of the resource.
    • m_title

      protected String m_title
      The title of this search result.
    • m_userCreated

      protected String m_userCreated
      The user who created the search result resource.
    • m_userLastModified

      The user who last modified the search result resource.
  • Constructor Details

    • CmsGallerySearchResult

      Creates a fake gallery search result by reading the necessary data from a VFS resource.

      Parameters:
      cms - the current CMS context
      res - the resource from which the data should be read
      title - optional value that can be used to override the title (if null, the title is not overridden)
    • CmsGallerySearchResult

      public CmsGallerySearchResult(I_CmsSearchDocument doc, CmsObject cms, int score, Locale locale)
      Creates a new gallery search result.
      Parameters:
      cms - the current CMS context (used for reading information missing from the index)
      doc - the I_CmsSearchResult document to extract information from.
      score - the score of this search result
      locale - the locale to create the result for
  • Method Details