OSID Logo
OSID Specifications
control package
Version 3.0.0
Release Candidate Preview
Interfaceosid.control.ActionGroupQuery
Implementsosid.OsidObjectQuery
osid.OsidAggregateableQuery
Description

This is the query for searching action groups. Each method match specifies an AND term while multiple invocations of the same method produce a nested OR.

MethodmatchActionId
Description

Sets the action Id for this query.

Parametersosid.id.IdactionIdthe action Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT actionId is null
CompliancemandatoryThis method must be implemented.
MethodclearActionIdTerms
Description

Clears the action Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsActionQuery
Description

Tests if an ActionQuery is available.

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

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

Returnosid.control.ActionQuerythe action query
ErrorsUNIMPLEMENTED supportsActionQuery() is false
ComplianceoptionalThis method must be implemented if supportsActionQuery() is true.
MethodmatchAnyAction
Description

Matches action groups with any action.

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

Clears the action query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchSystemId
Description

Sets the action group Id for this query to match controllers assigned to action groups.

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

Clears the system Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsSystemQuery
Description

Tests if a SystemQuery is available.

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

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

Returnosid.control.SystemQuerythe system query
ErrorsUNIMPLEMENTED supportsSystemQuery() is false
ComplianceoptionalThis method must be implemented if supportsSystemQuery() is true.
MethodclearSystemTerms
Description

Clears the system query terms.

CompliancemandatoryThis method must be implemented.
MethodgetActionGroupQueryRecord
Description

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

Parametersosid.type.TypeactionGroupRecordTypean action group record type
Returnosid.control.records.ActionGroupQueryRecordthe action group query record
ErrorsNULL_ARGUMENT actionGroupRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(actionGroupRecordType) is false
CompliancemandatoryThis method must be implemented.