public interface SceneQuery extends OsidObjectQuery
This is the query for searching scenes. 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 |
clearSettingIdTerms()
Clears the setting
Id query terms. |
void |
clearSettingTerms()
Clears the setting query terms.
|
void |
clearSystemIdTerms()
Clears the system
Id query terms. |
void |
clearSystemTerms()
Clears the system query terms.
|
SceneQueryRecord |
getSceneQueryRecord(Type sceneRecordType)
Gets the query record corresponding to the given
Scene
record Type. |
SettingQuery |
getSettingQuery()
Gets the query for a setting.
|
SystemQuery |
getSystemQuery()
Gets the query for a system.
|
void |
matchAnySetting(boolean match)
Matches scenes with any setting.
|
void |
matchSettingId(Id settingId,
boolean match)
Sets the setting
Id for this query. |
void |
matchSystemId(Id systemId,
boolean match)
Sets the system
Id for this query to match scenes
assigned to systems. |
boolean |
supportsSettingQuery()
Tests if a
SettingQuery is available. |
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, supportsSubjectRelevancyQuery
clearIdTerms, matchId
clearRecordTerms, matchAnyRecord, matchRecordType
getRecordTypes, hasRecordType
clearAnyTerms, clearKeywordTerms, getStringMatchTypes, matchAny, matchKeyword, supportsStringMatchType
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 scenes with any setting,
false
to match scenes with no settingsmandatory
- This method must be implemented. void clearSettingTerms()
mandatory
- This method must be implemented. void matchSystemId(Id systemId, boolean match)
Id
for this query to match scenes
assigned to systems.systemId
- the scene Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- sceneId
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. SceneQueryRecord getSceneQueryRecord(Type sceneRecordType) throws OperationFailedException
Scene
record Type.
Multiple record retrievals produce a
nested OR
term.sceneRecordType
- a scene record typeNullArgumentException
- sceneRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(sceneRecordType)
is false
mandatory
- This method must be implemented.