Interface PressSearchResults

All Superinterfaces:
Browsable, Extensible, OsidResult, OsidSearchResults

public interface PressSearchResults extends OsidSearchResults

This interface provides a means to capture results of a search.

  • Method Details

    • getPresses

      PressList getPresses()
      Gets the press list resulting from a search.
      Returns:
      the press list
      Throws:
      IllegalStateException - list already retrieved
      Compliance:
      mandatory - This method must be implemented.
    • getPressQueryInspector

      PressQueryInspector getPressQueryInspector()
      Gets the inspector for the query to examine the terms used in the search.
      Returns:
      the press query inspector
      Compliance:
      mandatory - This method must be implemented.
    • getPressSearchResultsRecord

      PressSearchResultsRecord getPressSearchResultsRecord(Type pressSearchRecordType) throws OperationFailedException
      Gets the press search results record corresponding to the given press search record Type .This method is used to retrieve an object implementing the requested record.
      Parameters:
      pressSearchRecordType - an press search record type
      Returns:
      the press search results record
      Throws:
      NullArgumentException - pressSearchRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(pressSearchRecordType) is false
      Compliance:
      mandatory - This method must be implemented.