Interface SubjectSearchResults

All Superinterfaces:
Browsable, Extensible, OsidResult, OsidSearchResults

public interface SubjectSearchResults extends OsidSearchResults

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

  • Method Details

    • getSubjects

      SubjectList getSubjects()
      Gets the subject list resulting from the search.
      Returns:
      the subject list
      Throws:
      IllegalStateException - list already retrieved
      Compliance:
      mandatory - This method must be implemented.
    • getSubjectQueryInspector

      SubjectQueryInspector getSubjectQueryInspector()
      Gets the inspector for the query to examine the terms used in the search.
      Returns:
      the subject query inspector
      Compliance:
      mandatory - This method must be implemented.
    • getSubjectSearchResultsRecord

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