Interface SearchResultItem

All Known Implementing Classes:
SearchResultItemImpl

public interface SearchResultItem
An item that was found as part of a search. Typically a SearchResultItem will be included in a SearchResult
  • Method Details

    • getId

      String getId()
      Returns:
      the media package id
    • getMediaPackage

      org.opencastproject.mediapackage.MediaPackage getMediaPackage()
      Returns:
      the media package
    • getMediaPackageXml

      String getMediaPackageXml()
      Returns:
      the serialized media package
    • getOrganization

      String getOrganization()
      Returns:
      the organization id
    • getRepository

      String getRepository()
      Returns:
      the repository id
    • getModificationDate

      Date getModificationDate()
      Returns:
      the last modification date
    • isDeleted

      boolean isDeleted()
      Return true if the mediapackage has been deleted.
    • getElements

      Returns:
      the list of media package search result elements belongs to this media package
    • getEpisodeDublinCore

      org.opencastproject.metadata.dublincore.DublinCoreCatalog getEpisodeDublinCore() throws OaiPmhDatabaseException
      Returns:
      the episode dublincore catalog if it was published with this media package
      Throws:
      OaiPmhDatabaseException - if the episode dublincore catalog wasn't published with this media package or if the dublincore catalog can not be parsed
    • getSeriesDublinCore

      org.opencastproject.metadata.dublincore.DublinCoreCatalog getSeriesDublinCore() throws OaiPmhDatabaseException
      Returns:
      the series dublincore catalog if it was published with this media package
      Throws:
      OaiPmhDatabaseException - if the series dublincore catalog wasn't published with this media package or if the dublincore catalog can not be parsed
    • getSetSpecs

      List<String> getSetSpecs()
    • addSetSpec

      void addSetSpec(String setSpec)