Interface ForumSearch

All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable

public interface ForumSearch extends OsidSearch

The search interface for governing forum searches.

  • Method Details

    • searchAmongForums

      void searchAmongForums(IdList forumIds)
      Execute this search among the given list of forums.
      Parameters:
      forumIds - list of forums
      Throws:
      NullArgumentException - forumIds is null
      Compliance:
      mandatory - This method must be implemented.
    • orderForumResults

      void orderForumResults(ForumSearchOrder forumsearchOrder)
      Specify an ordering to the search results.
      Parameters:
      forumsearchOrder - forum search order
      Throws:
      NullArgumentException - forumsearchOrder is null
      UnsupportedException - forumsearchOrder is not of this service
      Compliance:
      mandatory - This method must be implemented.
    • getForumSearchRecord

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