Interface DeviceSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing device searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetDeviceSearchRecord(Type deviceSearchRecordType) Gets the device search record corresponding to the given device search recordType.voidorderDeviceResults(DeviceSearchOrder deviceSearchOrder) Specify an ordering to the search results.voidsearchAmongDevices(IdList deviceIds) Execute this search among the given list of devices.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface OsidSearch
limitResultSetModifier and TypeMethodDescriptionvoidlimitResultSet(long start, long end) By default, searches return all matching results.
-
Method Details
-
searchAmongDevices
Execute this search among the given list of devices.- Parameters:
deviceIds- list of devices- Throws:
NullArgumentException-deviceIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderDeviceResults
Specify an ordering to the search results.- Parameters:
deviceSearchOrder- device search order- Throws:
NullArgumentException-deviceSearchOrderisnullUnsupportedException-deviceSearchOrderis 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 recordType. 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-deviceSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(deviceSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-