public interface SystemQuery extends OsidCatalogQuery
This is the query for searching systems. 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 |
clearActionGroupIdTerms()
Clears the action group
Id query terms. |
void |
clearActionGroupTerms()
Clears the action group query terms.
|
void |
clearAncestorSystemIdTerms()
Clears the ancestor system
Id query terms. |
void |
clearAncestorSystemTerms()
Clears the ancestor system query terms.
|
void |
clearControllerIdTerms()
Clears the controller
Id query terms. |
void |
clearControllerTerms()
Clears the controller query terms.
|
void |
clearDescendantSystemIdTerms()
Clears the descendant system
Id query terms. |
void |
clearDescendantSystemTerms()
Clears the descendant system query terms.
|
void |
clearDeviceIdTerms()
Clears the device
Id query terms. |
void |
clearDeviceTerms()
Clears the device query terms.
|
void |
clearInputIdTerms()
Clears the input
Id query terms. |
void |
clearInputTerms()
Clears the input query terms.
|
void |
clearSceneIdTerms()
Clears the scene
Id query terms. |
void |
clearSceneTerms()
Clears the scene query terms.
|
void |
clearSettingIdTerms()
Clears the setting
Id query terms. |
void |
clearSettingTerms()
Clears the setting query terms.
|
void |
clearTriggerIdTerms()
Clears the trigger
Id query terms. |
void |
clearTriggerTerms()
Clears the trigger query terms.
|
ActionGroupQuery |
getActionGroupQuery()
Gets the query for an action group.
|
SystemQuery |
getAncestorSystemQuery()
Gets the query for a system.
|
ControllerQuery |
getControllerQuery()
Gets the query for a controller.
|
SystemQuery |
getDescendantSystemQuery()
Gets the query for a system/ Multiple retrievals produce a nested
OR term. |
DeviceQuery |
getDeviceQuery()
Gets the query for a device.
|
InputQuery |
getInputQuery()
Gets the query for an input.
|
SceneQuery |
getSceneQuery()
Gets the query for a scene.
|
SettingQuery |
getSettingQuery()
Gets the query for a setting.
|
SystemQueryRecord |
getSystemQueryRecord(Type systemRecordType)
Gets the system query record corresponding to the given
System
record Type. |
TriggerQuery |
getTriggerQuery()
Gets the query for a trigger.
|
void |
matchActionGroupId(Id actionGroupId,
boolean match)
Sets the action group
Id for this query. |
void |
matchAncestorSystemId(Id systemId,
boolean match)
Sets the system
Id for this query to match systems that
have the specified system as an ancestor. |
void |
matchAnyActionGroup(boolean match)
Matches systems with any action group.
|
void |
matchAnyAncestorSystem(boolean match)
Matches systems with any ancestor.
|
void |
matchAnyController(boolean match)
Matches systems with any controller.
|
void |
matchAnyDescendantSystem(boolean match)
Matches systems with any descendant.
|
void |
matchAnyDevice(boolean match)
Matches systems that have any device.
|
void |
matchAnyInput(boolean match)
Matches systems with any input.
|
void |
matchAnyScene(boolean match)
Matches systems with any scene.
|
void |
matchAnySetting(boolean match)
Matches systems with any setting.
|
void |
matchAnyTrigger(boolean match)
Matches systems with any trigger.
|
void |
matchControllerId(Id controllerId,
boolean match)
Sets the controller
Id for this query. |
void |
matchDescendantSystemId(Id systemId,
boolean match)
Sets the system
Id for this query to match systems that
have the specified system as a descendant. |
void |
matchDeviceId(Id deviceId,
boolean match)
Sets the device
Id for this query to match systems that
have a related device. |
void |
matchInputId(Id inputId,
boolean match)
Sets the input
Id for this query. |
void |
matchSceneId(Id sceneId,
boolean match)
Sets the scene
Id for this query. |
void |
matchSettingId(Id settingId,
boolean match)
Sets the setting
Id for this query. |
void |
matchTriggerId(Id triggerId,
boolean match)
Sets the trigger
Id for this query. |
boolean |
supportsActionGroupQuery()
Tests if an
ActionGroup is available. |
boolean |
supportsAncestorSystemQuery()
Tests if a
SystemQuery is available. |
boolean |
supportsControllerQuery()
Tests if a
ControllerQuery is available. |
boolean |
supportsDescendantSystemQuery()
Tests if a
SystemQuery is available. |
boolean |
supportsDeviceQuery()
Tests if a
DeviceQuery is available. |
boolean |
supportsInputQuery()
Tests if an
InputQuery is available. |
boolean |
supportsSceneQuery()
Tests if a
SceneQuery is available. |
boolean |
supportsSettingQuery()
Tests if a
SettingQuery is available. |
boolean |
supportsTriggerQuery()
Tests if a
TriggerQuery 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, supportsSubjectRelevancyQuery
clearIdTerms, matchId
clearRecordTerms, matchAnyRecord, matchRecordType
getRecordTypes, hasRecordType
clearAnyTerms, clearKeywordTerms, getStringMatchTypes, matchAny, matchKeyword, supportsStringMatchType
clearBrandingIdTerms, clearBrandingTerms, clearLicenseTerms, clearProviderIdTerms, clearProviderTerms, getBrandingQuery, getProviderQuery, matchAnyBranding, matchAnyLicense, matchAnyProvider, matchBrandingId, matchLicense, matchProviderId, supportsBrandingQuery, supportsProviderQuery
void matchDeviceId(Id deviceId, boolean match)
Id
for this query to match systems that
have a related device.deviceId
- a device Id
match
- true
if a positive match, false
for negative matchNullArgumentException
- deviceId
is
null
mandatory
- This method must be implemented. void clearDeviceIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsDeviceQuery()
DeviceQuery
is available. true
if a device query is available,
false
otherwisemandatory
- This method must be implemented. DeviceQuery getDeviceQuery()
OR
term.UnimplementedException
- supportsDeviceQuery()
is false
optional
- This method must be implemented if
supportsDeviceQuery()
is true.
void matchAnyDevice(boolean match)
match
- true
to match systems with any device,
false
to match systems with no devicemandatory
- This method must be implemented. void clearDeviceTerms()
mandatory
- This method must be implemented. void matchControllerId(Id controllerId, boolean match)
Id
for this query.controllerId
- the controller Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- controllerId
is
null
mandatory
- This method must be implemented. void clearControllerIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsControllerQuery()
ControllerQuery
is available. true
if a controller query is available,
false
otherwisemandatory
- This method must be implemented. ControllerQuery getControllerQuery()
OR
term.UnimplementedException
-
supportsControllerQuery()
is false
optional
- This method must be implemented if
supportsControllerQuery()
is true.
void matchAnyController(boolean match)
match
- true
to match systems with any
controller, false
to match systems with no
controllermandatory
- This method must be implemented. void clearControllerTerms()
mandatory
- This method must be implemented. void matchInputId(Id inputId, boolean match)
Id
for this query.inputId
- the input Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- inputId
is
null
mandatory
- This method must be implemented. void clearInputIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsInputQuery()
InputQuery
is available. true
if an input query is available,
false
otherwisemandatory
- This method must be implemented. InputQuery getInputQuery()
OR
term.UnimplementedException
- supportsInputQuery()
is false
optional
- This method must be implemented if
supportsInputQuery()
is true.
void matchAnyInput(boolean match)
match
- true
to match systems with any input,
false
to match systems with no inputsmandatory
- This method must be implemented. void clearInputTerms()
mandatory
- This method must be implemented. void matchSettingId(Id settingId, boolean match)
Id
for this query.settingId
- the setting Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- settingId
is
null
mandatory
- This method must be implemented. void clearSettingIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsSettingQuery()
SettingQuery
is available. true
if a setting query is available,
false
otherwisemandatory
- This method must be implemented. SettingQuery getSettingQuery()
OR
term.UnimplementedException
- supportsSettingQuery()
is false
optional
- This method must be implemented if
supportsSettingQuery()
is true.
void matchAnySetting(boolean match)
match
- true
to match systems with any setting,
false
to match systems with no settingsmandatory
- This method must be implemented. void clearSettingTerms()
mandatory
- This method must be implemented. void matchSceneId(Id sceneId, boolean match)
Id
for this query.sceneId
- the scene Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- sceneId
is
null
mandatory
- This method must be implemented. void clearSceneIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsSceneQuery()
SceneQuery
is available. true
if a scene query is available,
false
otherwisemandatory
- This method must be implemented. SceneQuery getSceneQuery()
OR
term.UnimplementedException
- supportsSceneQuery()
is false
optional
- This method must be implemented if
supportsSceneQuery()
is true.
void matchAnyScene(boolean match)
match
- true
to match systems with any scene,
false
to match systems with no scenesmandatory
- This method must be implemented. void clearSceneTerms()
mandatory
- This method must be implemented. void matchTriggerId(Id triggerId, boolean match)
Id
for this query.triggerId
- the trigger Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- triggerId
is
null
mandatory
- This method must be implemented. void clearTriggerIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsTriggerQuery()
TriggerQuery
is available. true
if a trigger query is available,
false
otherwisemandatory
- This method must be implemented. TriggerQuery getTriggerQuery()
OR
term.UnimplementedException
- supportsTriggerQuery()
is false
optional
- This method must be implemented if
supportsTriggerQuery()
is true.
void matchAnyTrigger(boolean match)
match
- true
to match systems with any trigger,
false
to match systems with no triggermandatory
- This method must be implemented. void clearTriggerTerms()
mandatory
- This method must be implemented. void matchActionGroupId(Id actionGroupId, boolean match)
Id
for this query.actionGroupId
- the action group Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- actionGroupId
is
null
mandatory
- This method must be implemented. void clearActionGroupIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsActionGroupQuery()
ActionGroup
is available. true
if an action group query is available,
false
otherwisemandatory
- This method must be implemented. ActionGroupQuery getActionGroupQuery()
OR
term.UnimplementedException
-
supportsActionGroupQuery()
is false
optional
- This method must be implemented if
supportsActionGroupQuery()
is true.
void matchAnyActionGroup(boolean match)
match
- true
to match systems with any action
group, false
to match systems with no action
groupsmandatory
- This method must be implemented. void clearActionGroupTerms()
mandatory
- This method must be implemented. void matchAncestorSystemId(Id systemId, boolean match)
Id
for this query to match systems that
have the specified system as an ancestor.systemId
- a system Id
match
- true
for a positive match, false
for negative matchNullArgumentException
- systemId
is
null
mandatory
- This method must be implemented. void clearAncestorSystemIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsAncestorSystemQuery()
SystemQuery
is available. true
if a system query is available,
false
otherwisemandatory
- This method must be implemented. SystemQuery getAncestorSystemQuery()
OR
term.UnimplementedException
-
supportsAncestorSystemQuery()
is false
optional
- This method must be implemented if
supportsAncestorSystemQuery()
is true.
void matchAnyAncestorSystem(boolean match)
match
- true
to match systems with any ancestor,
false
to match root systemsmandatory
- This method must be implemented. void clearAncestorSystemTerms()
mandatory
- This method must be implemented. void matchDescendantSystemId(Id systemId, boolean match)
Id
for this query to match systems that
have the specified system as a descendant.systemId
- a system Id
match
- true
for a positive match, false
for negative matchNullArgumentException
- systemId
is
null
mandatory
- This method must be implemented. void clearDescendantSystemIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsDescendantSystemQuery()
SystemQuery
is available. true
if a system query is available,
false
otherwisemandatory
- This method must be implemented. SystemQuery getDescendantSystemQuery()
OR
term.UnimplementedException
-
supportsDescendantSystemQuery()
is false
optional
- This method must be implemented if
supportsDescendantSystemQuery()
is true.
void matchAnyDescendantSystem(boolean match)
match
- true
to match systems with any
descendant, false
to match leaf systemsmandatory
- This method must be implemented. void clearDescendantSystemTerms()
mandatory
- This method must be implemented. SystemQueryRecord getSystemQueryRecord(Type systemRecordType) throws OperationFailedException
System
record Type.
Multiple record retrievals produce
a nested OR
term.systemRecordType
- a system record typeNullArgumentException
- systemRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(systemRecordType)
is false
mandatory
- This method must be implemented.