public interface DeviceQuery extends OsidObjectQuery
This is the query for searching devices. Each method match specifies an
AND term while multiple invocations of the same method
produce a nested OR.
| Modifier and Type | Method and Description |
|---|---|
void |
clearSystemIdTerms()
Clears the system
Id query terms. |
void |
clearSystemTerms()
Clears the system query terms.
|
DeviceQueryRecord |
getDeviceQueryRecord(Type deviceRecordType)
Gets the device query record corresponding to the given
Device
record Type. |
SystemQuery |
getSystemQuery()
Gets the query for a system.
|
void |
matchSystemId(Id systemId,
boolean match)
Sets the system
Id for this query. |
boolean |
supportsSystemQuery()
Tests if a
SystemQuery is available. |
clearCommentIdTerms, clearCommentTerms, clearCreditIdTerms, clearCreditTerms, clearDescriptionTerms, clearDisplayNameTerms, clearGenusTypeTerms, clearJournalEntryIdTerms, clearJournalEntryTerms, clearParentGenusTypeTerms, clearRelationshipIdTerms, clearRelationshipPeerIdTerms, clearRelationshipTerms, clearStateIdTerms, clearStateTerms, clearStatisticTerms, clearSubjectIdTerms, clearSubjectRelevancyTerms, clearSubjectTerms, getCommentQuery, getCreditQuery, getJournalEntryQuery, getRelationshipQuery, getStateQuery, getStatisticQuery, getSubjectQuery, getSubjectRelevancyQuery, matchAnyComment, matchAnyCredit, matchAnyDescription, matchAnyDisplayName, matchAnyGenusType, matchAnyJournalEntry, matchAnyRelationship, matchAnyState, matchAnyStatistic, matchAnySubject, matchCommentId, matchCreditId, matchDescription, matchDisplayName, matchGenusType, matchJournalEntryId, matchParentGenusType, matchRelationshipId, matchRelationshipPeerId, matchStateId, matchSubjectId, supportsCommentQuery, supportsCreditQuery, supportsJournalEntryQuery, supportsRelationshipQuery, supportsStateQuery, supportsStatisticQuery, supportsSubjectQuery, supportsSubjectRelevancyQueryclearIdTerms, matchIdclearRecordTerms, matchAnyRecord, matchRecordTypegetRecordTypes, hasRecordTypeclearAnyTerms, clearKeywordTerms, getStringMatchTypes, matchAny, matchKeyword, supportsStringMatchTypevoid matchSystemId(Id systemId, boolean match)
Id for this query.systemId - the system Id match - true for a positive match, false
for a negative matchNullArgumentException - systemId is
null mandatory - This method must be implemented. void clearSystemIdTerms()
Id query terms.mandatory - This method must be implemented. boolean supportsSystemQuery()
SystemQuery is available. true if a system query is available,
false otherwisemandatory - This method must be implemented. SystemQuery getSystemQuery()
OR term.UnimplementedException - supportsSystemQuery()
is false optional - This method must be implemented if
supportsSystemQuery() is true. void clearSystemTerms()
mandatory - This method must be implemented. DeviceQueryRecord getDeviceQueryRecord(Type deviceRecordType) throws OperationFailedException
Device
record Type. Multiple record retrievals produce
a nested OR term.deviceRecordType - a device record typeNullArgumentException - deviceRecordType
is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(deviceRecordType) is false
mandatory - This method must be implemented.