Interface ChainSearch

All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable

public interface ChainSearch extends OsidSearch

The search interface for governing chain searches.

  • Method Details

    • searchAmongChains

      void searchAmongChains(IdList chainIds)
      Execute this search among the given list of chains.
      Parameters:
      chainIds - list of chains
      Throws:
      NullArgumentException - chainIds is null
      Compliance:
      mandatory - This method must be implemented.
    • orderChainResults

      void orderChainResults(ChainSearchOrder chainSearchOrder)
      Specify an ordering to the search results.
      Parameters:
      chainSearchOrder - chain search order
      Throws:
      NullArgumentException - chainSearchOrder is null
      UnsupportedException - chainSearchOrder is not of this service
      Compliance:
      mandatory - This method must be implemented.
    • getChainSearchRecord

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