Interface DeviceSearch

All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable

public interface DeviceSearch extends OsidSearch

The search interface for governing device searches.

  • Method Details

    • searchAmongDevices

      void searchAmongDevices(IdList deviceIds)
      Execute this search among the given list of devices.
      Parameters:
      deviceIds - list of devices
      Throws:
      NullArgumentException - deviceIds is null
      Compliance:
      mandatory - This method must be implemented.
    • orderDeviceResults

      void orderDeviceResults(DeviceSearchOrder deviceSearchOrder)
      Specify an ordering to the search results.
      Parameters:
      deviceSearchOrder - device search order
      Throws:
      NullArgumentException - deviceSearchOrder is null
      UnsupportedException - deviceSearchOrder is not of this service
      Compliance:
      mandatory - This method must be implemented.
    • getDeviceSearchRecord

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