Interface ActivitySearchResults

All Superinterfaces:
Browsable, Extensible, OsidResult, OsidSearchResults

public interface ActivitySearchResults extends OsidSearchResults

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

  • Method Details

    • getActivities

      ActivityList getActivities()
      Gets the activity list resulting from the search.
      Returns:
      the activity list
      Throws:
      IllegalStateException - list already retrieved
      Compliance:
      mandatory - This method must be implemented.
    • getActivityQueryInspector

      ActivityQueryInspector getActivityQueryInspector()
      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.
    • getActivitySearchResultsRecord

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