Interface IdiomSearch

All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable

public interface IdiomSearch extends OsidSearch

The search interface for governing idiom searches.

  • Method Details

    • searchAmongIdioms

      void searchAmongIdioms(IdList idiomIds)
      Execute this search among the given list of idioms.
      Parameters:
      idiomIds - list of idioms
      Throws:
      NullArgumentException - idiomIds is null
      Compliance:
      mandatory - This method must be implemented.
    • orderIdiomResults

      void orderIdiomResults(IdiomSearchOrder idiomSearchOrder)
      Specify an ordering to the search results.
      Parameters:
      idiomSearchOrder - idiom search order
      Throws:
      NullArgumentException - idiomSearchOrder is null
      UnsupportedException - idiomSearchOrder is not of this service
      Compliance:
      mandatory - This method must be implemented.
    • getIdiomSearchRecord

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