Interface DeviceSearchResults

All Superinterfaces:
Browsable, Extensible, OsidResult, OsidSearchResults

public interface DeviceSearchResults extends OsidSearchResults

This interface provides a means to capture results of a search.

  • Method Details

    • getDevices

      DeviceList getDevices()
      Gets the device list resulting from a search.
      Returns:
      the device list
      Throws:
      IllegalStateException - list already retrieved
      Compliance:
      mandatory - This method must be implemented.
    • getDeviceQueryInspector

      DeviceQueryInspector getDeviceQueryInspector()
      Gets the inspector for the query to examine the terms used in the search.
      Returns:
      the device query inspector
      Compliance:
      mandatory - This method must be implemented.
    • getDeviceSearchResultsRecord

      DeviceSearchResultsRecord getDeviceSearchResultsRecord(Type deviceSearchRecordType) throws OperationFailedException
      Gets the device search results 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 results record
      Throws:
      NullArgumentException - deviceSearchRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(deviceSearchRecordType) is false
      Compliance:
      mandatory - This method must be implemented.