Interface InputSearchResults

All Superinterfaces:
Browsable, Extensible, OsidResult, OsidSearchResults

public interface InputSearchResults extends OsidSearchResults

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

  • Method Details

    • getInputs

      InputList getInputs()
      Gets the input list resulting from a search.
      Returns:
      the input list
      Throws:
      IllegalStateException - list already retrieved
      Compliance:
      mandatory - This method must be implemented.
    • getInputQueryInspector

      InputQueryInspector getInputQueryInspector()
      Gets the inspector for the query to examine the terms used in the search.
      Returns:
      the input query inspector
      Compliance:
      mandatory - This method must be implemented.
    • getInputSearchResultsRecord

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