Interface AwardSearch

All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable

public interface AwardSearch extends OsidSearch

The search interface for governing award searches.

  • Method Details

    • searchAmongAwards

      void searchAmongAwards(IdList awardIds)
      Execute this search among the given list of awards.
      Parameters:
      awardIds - list of awards
      Throws:
      NullArgumentException - awardIds is null
      Compliance:
      mandatory - This method must be implemented.
    • orderAwardResults

      void orderAwardResults(AwardSearchOrder awardSearchOrder)
      Specify an ordering to the search results.
      Parameters:
      awardSearchOrder - award search order
      Throws:
      NullArgumentException - awardSearchOrder is null
      UnsupportedException - awardSearchOrder is not of this service
      Compliance:
      mandatory - This method must be implemented.
    • getAwardSearchRecord

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