Interface ActionQuery
- All Superinterfaces:
Extensible, OsidBrowsableQuery, OsidExtensibleQuery, OsidIdentifiableQuery, OsidObjectQuery, OsidOperableQuery, OsidQuery, OsidRuleQuery, OsidSubjugateableQuery, Suppliable
This is the query for searching actions. 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 blocking query terms.voidClears the delay query terms.voidClears the executed action groupIdquery terms.voidClears the action group query terms.voidClears the sceneIdquery terms.voidClears the scene query terms.voidClears the settingIdquery terms.voidClears the setting query terms.Gets the query for an action group.getActionQueryRecord(Type actionRecordType) Gets the action query record corresponding to the givenActionrecordType.Multiple record retrievals produce a nestedORterm.Gets the query for the action group to execute.Gets the query for a scene.Gets the query for a setting.voidmatchActionGroupId(Id actionGroupId, boolean match) Sets the action groupIdfor this query.voidmatchAnyDelay(boolean match) Matches any delay.voidmatchAnyNextActionGroup(boolean match) Matches actions with any executable action group.voidmatchAnyScene(boolean match) Matches actions with any scene.voidmatchAnySetting(boolean match) Matches actions with any setting.voidmatchBlocking(boolean match) Matches blocking actions.voidmatchDelay(Duration start, Duration end, boolean match) Matches delays between the given range inclusive.voidmatchNextActionGroupId(Id actionGroupId, boolean match) Sets the executed action groupIdfor this query.voidmatchSceneId(Id sceneId, boolean match) Sets the sceneIdfor this query.voidmatchSettingId(Id settingId, boolean match) Sets the settingIdfor this query.booleanTests if anActionGroupQueryis available.booleanTests if anActionGroupQueryis available.booleanTests if aSceneQueryis available.booleanTests if aSettingQueryis 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 OsidOperableQuery
clearActiveTerms, clearDisabledTerms, clearEnabledTerms, clearOperationalTerms, matchActive, matchDisabled, matchEnabled, matchOperationalModifier and TypeMethodDescriptionvoidClears the active query terms.voidClears the administratively disabled query terms.voidClears the administratively enabled query terms.voidClears the operational query terms.voidmatchActive(boolean match) Matches active.voidmatchDisabled(boolean match) Matches administratively disabled.voidmatchEnabled(boolean match) Matches administratively enabled.voidmatchOperational(boolean match) Matches operational operables.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 OsidRuleQuery
clearConditionRecordTypeTerms, clearRuleIdTerms, clearRuleTerms, getRuleQuery, matchAnyConditionRecordType, matchAnyRule, matchConditionRecordType, matchRuleId, supportsRuleQueryModifier and TypeMethodDescriptionvoidClears the condition recordTypequery terms.voidClears all ruleIdterms.voidClears all rule terms.getRuleQuery(boolean match) Gets the query for the rule.voidmatchAnyConditionRecordType(boolean match) Matches rules with any condition record type.voidmatchAnyRule(boolean match) Match any associated rule.voidmatchConditionRecordType(Type conditionRecordType, boolean match) Matches a condition record type.voidmatchRuleId(Id ruleId, boolean match) Match theIdof the rule.booleanTests if aRuleQueryfor the rule is available.
-
Method Details
-
matchActionGroupId
Sets the action groupIdfor this query.- Parameters:
actionGroupId- an 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 anActionGroupQueryis 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} .
-
clearActionGroupTerms
void clearActionGroupTerms()Clears the action group query terms.- Compliance:
mandatory- This method must be implemented.
-
matchDelay
Matches delays between the given range inclusive.- Parameters:
start- start of rangeend- end of rangematch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-startis greater thanendNullArgumentException-start or endisnull- Compliance:
mandatory- This method must be implemented.
-
matchAnyDelay
void matchAnyDelay(boolean match) Matches any delay.- Parameters:
match-trueto match actions with delays,falseto match actions with no delays- Compliance:
mandatory- This method must be implemented.
-
clearDelayTerms
void clearDelayTerms()Clears the delay query terms.- Compliance:
mandatory- This method must be implemented.
-
matchBlocking
void matchBlocking(boolean match) Matches blocking actions.- Parameters:
match-trueto match blocking actions,falseto match unblocking actions- Compliance:
mandatory- This method must be implemented.
-
clearBlockingTerms
void clearBlockingTerms()Clears the blocking query terms.- Compliance:
mandatory- This method must be implemented.
-
matchNextActionGroupId
Sets the executed action groupIdfor this query.- Parameters:
actionGroupId- an action groupIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-actionGroupIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearNextActionGroupIdTerms
void clearNextActionGroupIdTerms()Clears the executed action groupIdquery terms.- Compliance:
mandatory- This method must be implemented.
-
supportsNextActionGroupQuery
boolean supportsNextActionGroupQuery()Tests if anActionGroupQueryis available.- Returns:
trueif an action group query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getNextActionGroupQuery
ActionGroupQuery getNextActionGroupQuery()Gets the query for the action group to execute. Multiple retrievals produce a nestedORterm.- Returns:
- the action group query
- Throws:
UnimplementedException-supportsNextActionGroupQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsNextActionGroupQuery()} is {@code true} .
-
matchAnyNextActionGroup
void matchAnyNextActionGroup(boolean match) Matches actions with any executable action group.- Parameters:
match-trueto match actions with any action group,falseto match actions with no action groups- Compliance:
mandatory- This method must be implemented.
-
clearNextActionGroupTerms
void clearNextActionGroupTerms()Clears the action group query terms.- Compliance:
mandatory- This method must be implemented.
-
matchSceneId
Sets the sceneIdfor this query.- Parameters:
sceneId- a 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 actions with any scene.- Parameters:
match-trueto match actions with any scene,falseto match actions with no scene- Compliance:
mandatory- This method must be implemented.
-
clearSceneTerms
void clearSceneTerms()Clears the scene query terms.- Compliance:
mandatory- This method must be implemented.
-
matchSettingId
Sets the settingIdfor this query.- Parameters:
settingId- a 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 actions with any setting.- Parameters:
match-trueto match actions with any setting,falseto match actions with no setting- Compliance:
mandatory- This method must be implemented.
-
clearSettingTerms
void clearSettingTerms()Clears the setting query terms.- Compliance:
mandatory- This method must be implemented.
-
getActionQueryRecord
Gets the action query record corresponding to the givenActionrecordType.Multiple record retrievals produce a nestedORterm.- Parameters:
actionRecordType- an action record type- Returns:
- the action query record
- Throws:
NullArgumentException-actionRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(actionRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-