Interface DispatchSearchResults

All Superinterfaces:
Browsable, Extensible, OsidResult, OsidSearchResults

public interface DispatchSearchResults extends OsidSearchResults

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

  • Method Details

    • getDispatches

      DispatchList getDispatches()
      Gets the dispatch list resulting from a search.
      Returns:
      the dispatch list
      Throws:
      IllegalStateException - list has already been retrieved
      Compliance:
      mandatory - This method must be implemented.
    • getDispatchQueryInspector

      DispatchQueryInspector getDispatchQueryInspector()
      Gets the inspector for the query to examine the terns used in the search.
      Returns:
      the query inspector
      Compliance:
      mandatory - This method must be implemented.
    • getDispatchSearchResultsRecord

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