Interface FileSearchResults

All Superinterfaces:
Browsable, Extensible, OsidResult, OsidSearchResults

public interface FileSearchResults extends OsidSearchResults

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

  • Method Details

    • getFiles

      FileList getFiles()
      Gets the file list resulting from a search.
      Returns:
      the directory list
      Throws:
      IllegalStateException - list already retrieved
      Compliance:
      mandatory - This method must be implemented.
    • getFileQueryInspector

      FileQueryInspector getFileQueryInspector()
      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.
    • getFileSearchResultsRecord

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