Interface StateSearchResults

All Superinterfaces:
Browsable, Extensible, OsidResult, OsidSearchResults

public interface StateSearchResults extends OsidSearchResults

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

  • Method Details

    • getStates

      StateList getStates()
      Gets the state list resulting from a search.
      Returns:
      the state list
      Throws:
      IllegalStateException - list already retrieved
      Compliance:
      mandatory - This method must be implemented.
    • getStateQueryInspector

      StateQueryInspector getStateQueryInspector()
      Gets the inspector for the query to examine the terms used in the search.
      Returns:
      the state query inspector
      Compliance:
      mandatory - This method must be implemented.
    • getStateSearchResultsRecord

      StateSearchResultsRecord getStateSearchResultsRecord(Type stateSearchRecordType) throws OperationFailedException
      Gets the state search results record corresponding to the given state search record Type .This method is used to retrieve an object implementing the requested record.
      Parameters:
      stateSearchRecordType - a state search record type
      Returns:
      the state search results record
      Throws:
      NullArgumentException - stateSearchRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordTypeType(stateSearchRecordType) is false
      Compliance:
      mandatory - This method must be implemented.