OSID Logo
OSID Specifications
control package
Version 3.0.0
Release Candidate Preview
Interfaceosid.control.ActionQuery
Implementsosid.OsidRuleQuery
osid.OsidSubjugateableQuery
Description

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.

MethodmatchActionGroupId
Description

Sets the action group Id for this query.

Parametersosid.id.IdactionGroupIdan action group Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT actionGroupId is null
CompliancemandatoryThis method must be implemented.
MethodclearActionGroupIdTerms
Description

Clears the action group Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsActionGroupQuery
Description

Tests if an ActionGroupQuery is available.

Returnboolean true if an action group query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetActionGroupQuery
Description

Gets the query for an action group. Multiple retrievals produce a nested OR term.

Returnosid.control.ActionGroupQuerythe action group query
ErrorsUNIMPLEMENTED supportsActionGroupQuery() is false
ComplianceoptionalThis method must be implemented if supportsActionGroupQuery() is true.
MethodclearActionGroupTerms
Description

Clears the action group query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchDelay
Description

Matches delays between the given range inclusive.

Parametersosid.calendaring.Durationstartstart of range
osid.calendaring.Durationendend of range
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT start is greater than end
NULL_ARGUMENT start or end is null
CompliancemandatoryThis method must be implemented.
MethodmatchAnyDelay
Description

Matches any delay.

Parametersbooleanmatch true to match actions with delays, false to match actions with no delays
CompliancemandatoryThis method must be implemented.
MethodclearDelayTerms
Description

Clears the delay query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchBlocking
Description

Matches blocking actions.

Parametersbooleanmatch true to match blocking actions, false to match unblocking actions
CompliancemandatoryThis method must be implemented.
MethodclearBlockingTerms
Description

Clears the blocking query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchNextActionGroupId
Description

Sets the executed action group Id for this query.

Parametersosid.id.IdactionGroupIdan action group Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT actionGroupId is null
CompliancemandatoryThis method must be implemented.
MethodclearNextActionGroupIdTerms
Description

Clears the executed action group Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsNextActionGroupQuery
Description

Tests if an ActionGroupQuery is available.

Returnboolean true if an action group query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetNextActionGroupQuery
Description

Gets the query for the action group to execute. Multiple retrievals produce a nested OR term.

Returnosid.control.ActionGroupQuerythe action group query
ErrorsUNIMPLEMENTED supportsNextActionGroupQuery() is false
ComplianceoptionalThis method must be implemented if supportsNextActionGroupQuery() is true.
MethodmatchAnyNextActionGroup
Description

Matches actions with any executable action group.

Parametersbooleanmatch true to match actions with any action group, false to match actions with no action groups
CompliancemandatoryThis method must be implemented.
MethodclearNextActionGroupTerms
Description

Clears the action group query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchSceneId
Description

Sets the scene Id for this query.

Parametersosid.id.IdsceneIda scene Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT sceneId is null
CompliancemandatoryThis method must be implemented.
MethodclearSceneIdTerms
Description

Clears the scene Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsSceneQuery
Description

Tests if a SceneQuery is available.

Returnboolean true if a scene query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetSceneQuery
Description

Gets the query for a scene. Multiple retrievals produce a nested OR term.

Returnosid.control.SceneQuerythe scene query
ErrorsUNIMPLEMENTED supportsSceneQuery() is false
ComplianceoptionalThis method must be implemented if supportsSceneQuery() is true.
MethodmatchAnyScene
Description

Matches actions with any scene.

Parametersbooleanmatch true to match actions with any scene, false to match actions with no scene
CompliancemandatoryThis method must be implemented.
MethodclearSceneTerms
Description

Clears the scene query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchSettingId
Description

Sets the setting Id for this query.

Parametersosid.id.IdsettingIda setting Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT settingId is null
CompliancemandatoryThis method must be implemented.
MethodclearSettingIdTerms
Description

Clears the setting Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsSettingQuery
Description

Tests if a SettingQuery is available.

Returnboolean true if a setting query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetSettingQuery
Description

Gets the query for a setting. Multiple retrievals produce a nested OR term.

Returnosid.control.SettingQuerythe setting query
ErrorsUNIMPLEMENTED supportsSettingQuery() is false
ComplianceoptionalThis method must be implemented if supportsSettingQuery() is true.
MethodmatchAnySetting
Description

Matches actions with any setting.

Parametersbooleanmatch true to match actions with any setting, false to match actions with no setting
CompliancemandatoryThis method must be implemented.
MethodclearSettingTerms
Description

Clears the setting query terms.

CompliancemandatoryThis method must be implemented.
MethodgetActionQueryRecord
Description

Gets the action query record corresponding to the given Action record Type. Multiple record retrievals produce a nested OR term.

Parametersosid.type.TypeactionRecordTypean action record type
Returnosid.control.records.ActionQueryRecordthe action query record
ErrorsNULL_ARGUMENT actionRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(actionRecordType) is false
CompliancemandatoryThis method must be implemented.