Interface VaultSearch

All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable

public interface VaultSearch extends OsidSearch

The interface for governing vault searches.

  • Method Details

    • searchAmongVaults

      void searchAmongVaults(IdList vaultIds)
      Execute this search among the given list of vaults.
      Parameters:
      vaultIds - list of vaults
      Throws:
      NullArgumentException - vaultIds is null
      Compliance:
      mandatory - This method must be implemented.
    • orderVaultResults

      void orderVaultResults(VaultSearchOrder vaultSearchOrder)
      Specify an ordering to the search results.
      Parameters:
      vaultSearchOrder - vault search order
      Throws:
      NullArgumentException - vaultSearchOrder is null
      UnsupportedException - vaultSearchOrder is not of this service
      Compliance:
      mandatory - This method must be implemented.
    • getVaultSearchRecord

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