Interface SystemQuery
- All Superinterfaces:
Extensible, OsidBrowsableQuery, OsidCatalogQuery, OsidExtensibleQuery, OsidFederateableQuery, OsidIdentifiableQuery, OsidObjectQuery, OsidQuery, OsidSourceableQuery, Suppliable
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 .
-
Method Summary
Modifier and TypeMethodDescriptionvoidClears the action groupIdquery terms.voidClears the action group query terms.voidClears the ancestor systemIdquery terms.voidClears the ancestor system query terms.voidClears the controllerIdquery terms.voidClears the controller query terms.voidClears the descendant systemIdquery terms.voidClears the descendant system query terms.voidClears the deviceIdquery terms.voidClears the device query terms.voidClears the inputIdquery terms.voidClears the input query terms.voidClears the sceneIdquery terms.voidClears the scene query terms.voidClears the settingIdquery terms.voidClears the setting query terms.voidClears the triggerIdquery terms.voidClears the trigger query terms.Gets the query for an action group.Gets the query for a system.Gets the query for a controller.Gets the query for a system/ Multiple retrievals produce a nestedORterm.Gets the query for a device.Gets the query for an input.Gets the query for a scene.Gets the query for a setting.getSystemQueryRecord(Type systemRecordType) Gets the system query record corresponding to the givenSystemrecordType.Multiple record retrievals produce a nestedORterm.Gets the query for a trigger.voidmatchActionGroupId(Id actionGroupId, boolean match) Sets the action groupIdfor this query.voidmatchAncestorSystemId(Id systemId, boolean match) Sets the systemIdfor this query to match systems that have the specified system as an ancestor.voidmatchAnyActionGroup(boolean match) Matches systems with any action group.voidmatchAnyAncestorSystem(boolean match) Matches systems with any ancestor.voidmatchAnyController(boolean match) Matches systems with any controller.voidmatchAnyDescendantSystem(boolean match) Matches systems with any descendant.voidmatchAnyDevice(boolean match) Matches systems that have any device.voidmatchAnyInput(boolean match) Matches systems with any input.voidmatchAnyScene(boolean match) Matches systems with any scene.voidmatchAnySetting(boolean match) Matches systems with any setting.voidmatchAnyTrigger(boolean match) Matches systems with any trigger.voidmatchControllerId(Id controllerId, boolean match) Sets the controllerIdfor this query.voidmatchDescendantSystemId(Id systemId, boolean match) Sets the systemIdfor this query to match systems that have the specified system as a descendant.voidmatchDeviceId(Id deviceId, boolean match) Sets the deviceIdfor this query to match systems that have a related device.voidmatchInputId(Id inputId, boolean match) Sets the inputIdfor this query.voidmatchSceneId(Id sceneId, boolean match) Sets the sceneIdfor this query.voidmatchSettingId(Id settingId, boolean match) Sets the settingIdfor this query.voidmatchTriggerId(Id triggerId, boolean match) Sets the triggerIdfor this query.booleanTests if anActionGroupis available.booleanTests if aSystemQueryis available.booleanTests if aControllerQueryis available.booleanTests if aSystemQueryis available.booleanTests if aDeviceQueryis available.booleanTests if anInputQueryis available.booleanTests if aSceneQueryis available.booleanTests if aSettingQueryis available.booleanTests if aTriggerQueryis available.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 OsidExtensibleQuery
clearRecordTerms, matchAnyRecord, matchRecordTypeModifier and TypeMethodDescriptionvoidClears all recordTypeterms.voidmatchAnyRecord(boolean match) Matches an object that has any record.voidmatchRecordType(Type recordType, boolean match) Sets aTypefor querying objects having records implementing a given record type.Methods inherited from interface OsidIdentifiableQuery
clearIdTerms, matchIdModifier and TypeMethodDescriptionvoidClears allIdterms.voidAdds anIdto match.Methods inherited from interface OsidObjectQuery
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, supportsSubjectRelevancyQueryModifier and TypeMethodDescriptionvoidClears all commentIdterms.voidClears all comment terms.voidClears all creditIdterms.voidClears all credit terms.voidClears all description terms.voidClears all display name terms.voidClears all genus type terms.voidClears all journal entryIdterms.voidClears all journal entry terms.voidClears all genus type terms.voidClears all relationshipIdterms.voidClears all relationshipIdterms.voidClears all relationship terms.voidClears all stateIdterms.voidClears all state terms.voidClears all statistic terms.voidClears all subjectIdterms.voidClears all subject relevancy terms.voidClears all subject terms.Gets the query for a comment.Gets the query for an ackowledgement credit.Gets the query for a journal entry.Gets the query for relationship.Gets the query for a state.Gets the query for a statistic.Gets the query for a subject.Gets the query for a subject relevancy.voidmatchAnyComment(boolean match) Matches an object that has anyCommentin the givenBook.voidmatchAnyCredit(boolean match) Matches an object that has anyCredit.voidmatchAnyDescription(boolean match) Matches a description that has any value.voidmatchAnyDisplayName(boolean match) Matches any object with a display name.voidmatchAnyGenusType(boolean match) Matches an object that has any genus type.voidmatchAnyJournalEntry(boolean match) Matches an object that has anyJournalEntryin the givenJournal.voidmatchAnyRelationship(boolean match) Matches an object that has anyRelationship.voidmatchAnyState(boolean match) Matches an object that has any mapping to aStatein the givenProcess.voidmatchAnyStatistic(boolean match) Matches an object that has anyStatistic.voidmatchAnySubject(boolean match) Matches an object that has any relationship to aSubject.voidmatchCommentId(Id commentId, boolean match) Matches an object that has the given comment.voidmatchCreditId(Id creditId, boolean match) Matches an object that has the given credit.voidmatchDescription(String description, Type stringMatchType, boolean match) Adds a description name to match.voidmatchDisplayName(String displayName, Type stringMatchType, boolean match) Adds a display name to match.voidmatchGenusType(Type genusType, boolean match) Sets aTypefor querying objects of a given genus.voidmatchJournalEntryId(Id journalEntryId, boolean match) Matches an object that has the given journal entry.voidmatchParentGenusType(Type genusType, boolean match) Sets aTypefor querying objects of a given genus.voidmatchRelationshipId(Id relationshipId, boolean match) Matches an object that has the given relationship.voidmatchRelationshipPeerId(Id peerId, boolean match) Matches an object that has a relationship to the given peerId.voidmatchStateId(Id stateId, boolean match) Matches an object mapped to the given state.voidmatchSubjectId(Id subjectId, boolean match) Matches an object with a relationship to the given subject.booleanTests if aCommentQueryis available.booleanTests if aCreditQueryis available to provide queries of related acknowledgements.booleanTests if aJournalEntryis available to provide queries of journaledOsidObjects.booleanTests if aRelationshipQueryis available.booleanTests if aStateQueryis available to provide queries of processed objects.booleanTests if aStatisticQueryis available to provide statistical queries.booleanTests if aSubjectQueryis available.booleanTests if aRelevancyQueryis available to provide queries about the relationships toSubjects.Methods inherited from interface OsidQuery
clearAnyTerms, clearKeywordTerms, getStringMatchTypes, matchAny, matchKeyword, supportsStringMatchTypeModifier and TypeMethodDescriptionvoidClears the match any terms.voidClears all keyword terms.Gets the string matching types supported.voidmatchAny(boolean match) Matches any object.voidmatchKeyword(String keyword, Type stringMatchType, boolean match) Adds a keyword to match.booleansupportsStringMatchType(Type stringMatchType) Tests if the given string matching type is supported.Methods inherited from interface OsidSourceableQuery
clearBrandingIdTerms, clearBrandingTerms, clearLicenseTerms, clearProviderIdTerms, clearProviderTerms, getBrandingQuery, getProviderQuery, matchAnyBranding, matchAnyLicense, matchAnyProvider, matchBrandingId, matchLicense, matchProviderId, supportsBrandingQuery, supportsProviderQueryModifier and TypeMethodDescriptionvoidClears all assetIdterms.voidClears all branding terms.voidClears all license terms.voidClears all providerIdterms.voidClears all provider terms.getBrandingQuery(boolean match) Gets the query for an asset.getProviderQuery(boolean match) Gets the query for the provider.voidmatchAnyBranding(boolean match) Match sourceables with any branding.voidmatchAnyLicense(boolean match) Matches any object with a license.voidmatchAnyProvider(boolean match) Match sourceables with a provider value.voidmatchBrandingId(Id assetId, boolean match) Match theIdof an asset used for branding.voidmatchLicense(String license, Type stringMatchType, boolean match) Adds a license to match.voidmatchProviderId(Id resourceId, boolean match) Match theIdof the provider resource.booleanTests if anAssetQueryfor the branding is available.booleanTests if aResourceQueryfor the provider is available.
-
Method Details
-
matchDeviceId
Sets the deviceIdfor this query to match systems that have a related device.- Parameters:
deviceId- a deviceIdmatch-trueif a positive match,falsefor negative match- Throws:
NullArgumentException-deviceIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearDeviceIdTerms
void clearDeviceIdTerms()Clears the deviceIdquery terms.- Compliance:
mandatory- This method must be implemented.
-
supportsDeviceQuery
boolean supportsDeviceQuery()Tests if aDeviceQueryis available.- Returns:
trueif a device query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getDeviceQuery
DeviceQuery getDeviceQuery()Gets the query for a device. Multiple retrievals produce a nestedORterm.- Returns:
- the device query
- Throws:
UnimplementedException-supportsDeviceQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDeviceQuery()} is {@code true} .
-
matchAnyDevice
void matchAnyDevice(boolean match) Matches systems that have any device.- Parameters:
match-trueto match systems with any device,falseto match systems with no device- Compliance:
mandatory- This method must be implemented.
-
clearDeviceTerms
void clearDeviceTerms()Clears the device query terms.- Compliance:
mandatory- This method must be implemented.
-
matchControllerId
Sets the controllerIdfor this query.- Parameters:
controllerId- the controllerIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-controllerIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearControllerIdTerms
void clearControllerIdTerms()Clears the controllerIdquery terms.- Compliance:
mandatory- This method must be implemented.
-
supportsControllerQuery
boolean supportsControllerQuery()Tests if aControllerQueryis available.- Returns:
trueif a controller query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getControllerQuery
ControllerQuery getControllerQuery()Gets the query for a controller. Multiple retrievals produce a nestedORterm.- Returns:
- the controller query
- Throws:
UnimplementedException-supportsControllerQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsControllerQuery()} is {@code true} .
-
matchAnyController
void matchAnyController(boolean match) Matches systems with any controller.- Parameters:
match-trueto match systems with any controller,falseto match systems with no controller- Compliance:
mandatory- This method must be implemented.
-
clearControllerTerms
void clearControllerTerms()Clears the controller query terms.- Compliance:
mandatory- This method must be implemented.
-
matchInputId
Sets the inputIdfor this query.- Parameters:
inputId- the inputIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-inputIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearInputIdTerms
void clearInputIdTerms()Clears the inputIdquery terms.- Compliance:
mandatory- This method must be implemented.
-
supportsInputQuery
boolean supportsInputQuery()Tests if anInputQueryis available.- Returns:
trueif an input query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getInputQuery
InputQuery getInputQuery()Gets the query for an input. Multiple retrievals produce a nestedORterm.- Returns:
- the input query
- Throws:
UnimplementedException-supportsInputQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsInputQuery()} is {@code true} .
-
matchAnyInput
void matchAnyInput(boolean match) Matches systems with any input.- Parameters:
match-trueto match systems with any input,falseto match systems with no inputs- Compliance:
mandatory- This method must be implemented.
-
clearInputTerms
void clearInputTerms()Clears the input query terms.- Compliance:
mandatory- This method must be implemented.
-
matchSettingId
Sets the settingIdfor this query.- Parameters:
settingId- the settingIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-settingIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearSettingIdTerms
void clearSettingIdTerms()Clears the settingIdquery terms.- Compliance:
mandatory- This method must be implemented.
-
supportsSettingQuery
boolean supportsSettingQuery()Tests if aSettingQueryis available.- Returns:
trueif a setting query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getSettingQuery
SettingQuery getSettingQuery()Gets the query for a setting. Multiple retrievals produce a nestedORterm.- Returns:
- the setting query
- Throws:
UnimplementedException-supportsSettingQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSettingQuery()} is {@code true} .
-
matchAnySetting
void matchAnySetting(boolean match) Matches systems with any setting.- Parameters:
match-trueto match systems with any setting,falseto match systems with no settings- Compliance:
mandatory- This method must be implemented.
-
clearSettingTerms
void clearSettingTerms()Clears the setting query terms.- Compliance:
mandatory- This method must be implemented.
-
matchSceneId
Sets the sceneIdfor this query.- Parameters:
sceneId- the sceneIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-sceneIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearSceneIdTerms
void clearSceneIdTerms()Clears the sceneIdquery terms.- Compliance:
mandatory- This method must be implemented.
-
supportsSceneQuery
boolean supportsSceneQuery()Tests if aSceneQueryis available.- Returns:
trueif a scene query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getSceneQuery
SceneQuery getSceneQuery()Gets the query for a scene. Multiple retrievals produce a nestedORterm.- Returns:
- the scene query
- Throws:
UnimplementedException-supportsSceneQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSceneQuery()} is {@code true} .
-
matchAnyScene
void matchAnyScene(boolean match) Matches systems with any scene.- Parameters:
match-trueto match systems with any scene,falseto match systems with no scenes- Compliance:
mandatory- This method must be implemented.
-
clearSceneTerms
void clearSceneTerms()Clears the scene query terms.- Compliance:
mandatory- This method must be implemented.
-
matchTriggerId
Sets the triggerIdfor this query.- Parameters:
triggerId- the triggerIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-triggerIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearTriggerIdTerms
void clearTriggerIdTerms()Clears the triggerIdquery terms.- Compliance:
mandatory- This method must be implemented.
-
supportsTriggerQuery
boolean supportsTriggerQuery()Tests if aTriggerQueryis available.- Returns:
trueif a trigger query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getTriggerQuery
TriggerQuery getTriggerQuery()Gets the query for a trigger. Multiple retrievals produce a nestedORterm.- Returns:
- the trigger query
- Throws:
UnimplementedException-supportsTriggerQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsTriggerQuery()} is {@code true} .
-
matchAnyTrigger
void matchAnyTrigger(boolean match) Matches systems with any trigger.- Parameters:
match-trueto match systems with any trigger,falseto match systems with no trigger- Compliance:
mandatory- This method must be implemented.
-
clearTriggerTerms
void clearTriggerTerms()Clears the trigger query terms.- Compliance:
mandatory- This method must be implemented.
-
matchActionGroupId
Sets the action groupIdfor this query.- Parameters:
actionGroupId- the action groupIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-actionGroupIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearActionGroupIdTerms
void clearActionGroupIdTerms()Clears the action groupIdquery terms.- Compliance:
mandatory- This method must be implemented.
-
supportsActionGroupQuery
boolean supportsActionGroupQuery()Tests if anActionGroupis available.- Returns:
trueif an action group query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getActionGroupQuery
ActionGroupQuery getActionGroupQuery()Gets the query for an action group. Multiple retrievals produce a nestedORterm.- Returns:
- the action group query
- Throws:
UnimplementedException-supportsActionGroupQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsActionGroupQuery()} is {@code true} .
-
matchAnyActionGroup
void matchAnyActionGroup(boolean match) Matches systems with any action group.- Parameters:
match-trueto match systems with any action group,falseto match systems with no action groups- Compliance:
mandatory- This method must be implemented.
-
clearActionGroupTerms
void clearActionGroupTerms()Clears the action group query terms.- Compliance:
mandatory- This method must be implemented.
-
matchAncestorSystemId
Sets the systemIdfor this query to match systems that have the specified system as an ancestor.- Parameters:
systemId- a systemIdmatch-truefor a positive match,falsefor negative match- Throws:
NullArgumentException-systemIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearAncestorSystemIdTerms
void clearAncestorSystemIdTerms()Clears the ancestor systemIdquery terms.- Compliance:
mandatory- This method must be implemented.
-
supportsAncestorSystemQuery
boolean supportsAncestorSystemQuery()Tests if aSystemQueryis available.- Returns:
trueif a system query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getAncestorSystemQuery
SystemQuery getAncestorSystemQuery()Gets the query for a system. Multiple retrievals produce a nestedORterm.- Returns:
- the system query
- Throws:
UnimplementedException-supportsAncestorSystemQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAncestorSystemQuery()} is {@code true} .
-
matchAnyAncestorSystem
void matchAnyAncestorSystem(boolean match) Matches systems with any ancestor.- Parameters:
match-trueto match systems with any ancestor,falseto match root systems- Compliance:
mandatory- This method must be implemented.
-
clearAncestorSystemTerms
void clearAncestorSystemTerms()Clears the ancestor system query terms.- Compliance:
mandatory- This method must be implemented.
-
matchDescendantSystemId
Sets the systemIdfor this query to match systems that have the specified system as a descendant.- Parameters:
systemId- a systemIdmatch-truefor a positive match,falsefor negative match- Throws:
NullArgumentException-systemIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearDescendantSystemIdTerms
void clearDescendantSystemIdTerms()Clears the descendant systemIdquery terms.- Compliance:
mandatory- This method must be implemented.
-
supportsDescendantSystemQuery
boolean supportsDescendantSystemQuery()Tests if aSystemQueryis available.- Returns:
trueif a system query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getDescendantSystemQuery
SystemQuery getDescendantSystemQuery()Gets the query for a system/ Multiple retrievals produce a nestedORterm.- Returns:
- the system query
- Throws:
UnimplementedException-supportsDescendantSystemQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDescendantSystemQuery()} is {@code true} .
-
matchAnyDescendantSystem
void matchAnyDescendantSystem(boolean match) Matches systems with any descendant.- Parameters:
match-trueto match systems with any descendant,falseto match leaf systems- Compliance:
mandatory- This method must be implemented.
-
clearDescendantSystemTerms
void clearDescendantSystemTerms()Clears the descendant system query terms.- Compliance:
mandatory- This method must be implemented.
-
getSystemQueryRecord
Gets the system query record corresponding to the givenSystemrecordType.Multiple record retrievals produce a nestedORterm.- Parameters:
systemRecordType- a system record type- Returns:
- the system query record
- Throws:
NullArgumentException-systemRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(systemRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-