Interface FoundrySearch

All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable

public interface FoundrySearch extends OsidSearch

The search interface for governing foundry searches.

  • Method Details

    • searchAmongFoundries

      void searchAmongFoundries(IdList foundryIds)
      Execute this search among the given list of foundries.
      Parameters:
      foundryIds - list of foundries
      Throws:
      NullArgumentException - foundryIds is null
      Compliance:
      mandatory - This method must be implemented.
    • orderFoundryResults

      void orderFoundryResults(FoundrySearchOrder foundrySearchOrder)
      Specify an ordering to the search results.
      Parameters:
      foundrySearchOrder - foundry search order
      Throws:
      NullArgumentException - foundrySearchOrder is null
      UnsupportedException - foundrySearchOrder is not of this service
      Compliance:
      mandatory - This method must be implemented.
    • getFoundrySearchRecord

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