Interface AssessmentPartSearchResults

All Superinterfaces:
Browsable, Extensible, OsidResult, OsidSearchResults

public interface AssessmentPartSearchResults extends OsidSearchResults

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

  • Method Details

    • getAssessmentParts

      AssessmentPartList getAssessmentParts()
      Gets the AssessmentPartList resulting from a search.
      Returns:
      the assessment part list
      Throws:
      IllegalStateException - list has already been retrieved
      Compliance:
      mandatory - This method must be implemented.
    • getAssessmentPartQueryInspector

      AssessmentPartQueryInspector getAssessmentPartQueryInspector()
      Gets the inspector for the query to examine the terms used in the search.
      Returns:
      the assessment part query inspector
      Compliance:
      mandatory - This method must be implemented.
    • getAssessmentPartSearchResultsRecord

      AssessmentPartSearchResultsRecord getAssessmentPartSearchResultsRecord(Type assessmentPartSearchRecordType) throws OperationFailedException, PermissionDeniedException
      Gets the assessment part search results record corresponding to the given assessment part search record Type .This method must be used to retrieve an object implementing the requested record.
      Parameters:
      assessmentPartSearchRecordType - an assessment part search record type
      Returns:
      the assessment part search results record
      Throws:
      NullArgumentException - assessmentPartSearchRecordType is null
      OperationFailedException - unable to complete request
      PermissionDeniedException - authorization failure occurred
      UnsupportedException - hasRecordType(assessmentPartSearchRecordType) is false
      Compliance:
      mandatory - This method must be implemented.