Interface CatalogueSearch

All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable

public interface CatalogueSearch extends OsidSearch

The search interface for governing catalogue searches.

  • Method Details

    • searchAmongCatalogues

      void searchAmongCatalogues(IdList catalogueIds)
      Execute this search among the given list of catalogues.
      Parameters:
      catalogueIds - list of catalogues
      Throws:
      NullArgumentException - catalogueIds is null
      Compliance:
      mandatory - This method must be implemented.
    • orderCatalogueResults

      void orderCatalogueResults(CatalogueSearchOrder catalogueSearchOrder)
      Specify an ordering to the search results.
      Parameters:
      catalogueSearchOrder - catalogue search order
      Throws:
      NullArgumentException - catalogueSearchOrder is null
      UnsupportedException - catalogueSearchOrder is not of this service
      Compliance:
      mandatory - This method must be implemented.
    • getCatalogueSearchRecord

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