Interface ItemSearchResults

All Superinterfaces:
Browsable, Extensible, OsidResult, OsidSearchResults

public interface ItemSearchResults extends OsidSearchResults

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

  • Method Details

    • getItems

      ItemList getItems()
      Gets the item list resulting from a search.
      Returns:
      the item list
      Throws:
      IllegalStateException - the item list has already been retrieved
      Compliance:
      mandatory - This method must be implemented.
    • getItemQueryInspector

      ItemQueryInspector getItemQueryInspector()
      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.
    • getItemSearchResultsRecord

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