OSID Logo
OSID Specifications
control package
Version 3.1.0
Interfaceosid.control.ActionQuery
Implementsosid.OsidRuleQuery
osid.OsidSubjugateableQuery
Used Byosid.control.ActionGroupQuery
osid.control.rules.ActionEnablerQuery
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.IdactionGroupId an action group Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT actionGroupId is null
Compliancemandatory This method must be implemented.
MethodclearActionGroupIdTerms
Description

Clears the action group Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsActionGroupQuery
Description

Tests if an ActionGroupQuery is available.

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

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

Returnosid.control.ActionGroupQuery the action group query
ErrorsUNIMPLEMENTED supportsActionGroupQuery() is false
Complianceoptional This method must be implemented if supportsActionGroupQuery() is true.
MethodclearActionGroupTerms
Description

Clears the action group query terms.

Compliancemandatory This method must be implemented.
MethodmatchDelay
Description

Matches delays between the given range inclusive.

Parametersosid.calendaring.Durationstart start of range
osid.calendaring.Durationend end 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
Compliancemandatory This method must be implemented.
MethodmatchAnyDelay
Description

Matches any delay.

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

Clears the delay query terms.

Compliancemandatory This method must be implemented.
MethodmatchBlocking
Description

Matches blocking actions.

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

Clears the blocking query terms.

Compliancemandatory This method must be implemented.
MethodmatchNextActionGroupId
Description

Sets the executed action group Id for this query.

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

Clears the executed action group Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsNextActionGroupQuery
Description

Tests if an ActionGroupQuery is available.

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

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

Returnosid.control.ActionGroupQuery the action group query
ErrorsUNIMPLEMENTED supportsNextActionGroupQuery() is false
Complianceoptional This 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
Compliancemandatory This method must be implemented.
MethodclearNextActionGroupTerms
Description

Clears the action group query terms.

Compliancemandatory This method must be implemented.
MethodmatchSceneId
Description

Sets the scene Id for this query.

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

Clears the scene Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsSceneQuery
Description

Tests if a SceneQuery is available.

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

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

Returnosid.control.SceneQuery the scene query
ErrorsUNIMPLEMENTED supportsSceneQuery() is false
Complianceoptional This 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
Compliancemandatory This method must be implemented.
MethodclearSceneTerms
Description

Clears the scene query terms.

Compliancemandatory This method must be implemented.
MethodmatchSettingId
Description

Sets the setting Id for this query.

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

Clears the setting Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsSettingQuery
Description

Tests if a SettingQuery is available.

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

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

Returnosid.control.SettingQuery the setting query
ErrorsUNIMPLEMENTED supportsSettingQuery() is false
Complianceoptional This 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
Compliancemandatory This method must be implemented.
MethodclearSettingTerms
Description

Clears the setting query terms.

Compliancemandatory This 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.TypeactionRecordType an action record type
Returnosid.control.records.ActionQueryRecord the action query record
ErrorsNULL_ARGUMENT actionRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(actionRecordType) is false
Compliancemandatory This method must be implemented.