Interface PositionSearchResults

All Superinterfaces:
Browsable, Extensible, OsidResult, OsidSearchResults

public interface PositionSearchResults extends OsidSearchResults

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

  • Method Details

    • getPositions

      PositionList getPositions()
      Gets the position list resulting from a search.
      Returns:
      the position list
      Throws:
      IllegalStateException - the list has already been retrieved
      Compliance:
      mandatory - This method must be implemented.
    • getPositionQueryInspector

      PositionQueryInspector getPositionQueryInspector()
      Gets the inspector for the query to examine the terms used in the search.
      Returns:
      the query inspector
      Compliance:
      mandatory - This method must be implemented.
    • getPositionSearchResultsRecord

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