public interface DeviceSearch extends OsidSearch
The search interface for governing device searches.
Modifier and Type | Method and Description |
---|---|
DeviceSearchRecord |
getDeviceSearchRecord(Type deviceSearchRecordType)
Gets the device search record corresponding to the given device search
record
Type. |
void |
orderDeviceResults(DeviceSearchOrder deviceSearchOrder)
Specify an ordering to the search results.
|
void |
searchAmongDevices(IdList deviceIds)
Execute this search among the given list of devices.
|
limitResultSet
getRecordTypes, hasRecordType
void searchAmongDevices(IdList deviceIds)
deviceIds
- list of devicesNullArgumentException
- deviceIds
is
null
mandatory
- This method must be implemented. void orderDeviceResults(DeviceSearchOrder deviceSearchOrder)
deviceSearchOrder
- device search orderNullArgumentException
- deviceSearchOrder
is null
UnsupportedException
- deviceSearchOrder
is not of this servicemandatory
- This method must be implemented. DeviceSearchRecord getDeviceSearchRecord(Type deviceSearchRecordType) throws OperationFailedException
Type.
This method is used to retrieve an object
implementing the requested record.deviceSearchRecordType
- a device search record typeNullArgumentException
- deviceSearchRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(deviceSearchRecordType)
is false
mandatory
- This method must be implemented.