OSID Logo
OSID Specifications
configuration package
Version 3.1.0
Interfaceosid.configuration.ConfigurationQuery
Implementsosid.OsidCatalogQuery
Used Byosid.configuration.ConfigurationQuery
osid.configuration.ConfigurationQuerySession
osid.configuration.ConfigurationSearchSession
osid.configuration.ParameterQuery
osid.configuration.ValueQuery
osid.configuration.rules.ParameterProcessorEnablerQuery
osid.configuration.rules.ParameterProcessorQuery
osid.configuration.rules.ValueEnablerQuery
Description

This is the query for searching configurations. Each method match request produces an AND term while multiple invocations of a method produces a nested OR, except for accessing the ConfigurationQuery subinterface.

MethodmatchRegistry
Description

Matches configurations which are parameter registries.

Parametersbooleanmatch true for a positive match, false otherwise
Compliancemandatory This method must be implemented.
MethodclearRegistryTerms
Description

Clears the registry terms.

Compliancemandatory This method must be implemented.
MethodmatchParameterId
Description

Adds a parameter Id for this query.

Parametersosid.id.IdparameterId a parameter Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT parameterId is null
Compliancemandatory This method must be implemented.
MethodclearParameterIdTerms
Description

Clears the parameter Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsParameterQuery
Description

Tests if a ParameterQuery is available.

Returnboolean true if a parameter query interface is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetParameterQuery
Description

Gets the query interface for a parameter.

Returnosid.configuration.ParameterQuery the parameter query
ErrorsUNIMPLEMENTED supportsParameterQuery() is false
Complianceoptional This method must be implemented if supportsParameterQuery() is true.
MethodmatchAnyParameter
Description

Matches configurations that have any parameter.

Parametersbooleanmatch true to match configurations with any parameter, false to match configurations with no parameter
Compliancemandatory This method must be implemented.
MethodclearParameterTerms
Description

Clears the parameter terms.

Compliancemandatory This method must be implemented.
MethodmatchAncestorConfigurationId
Description

Adds a configuration Id for this query to match configurations which have as an ancestor the specified configuration.

Parametersosid.id.IdconfigurationId a configuration Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT configurationId is null
Compliancemandatory This method must be implemented.
MethodclearAncestorConfigurationIdTerms
Description

Clears the ancestor configuration Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsAncestorConfigurationQuery
Description

Tests if a ConfigurationQuery is available.

Returnboolean true if a configuration query interface is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetAncestorConfigurationQuery
Description

Gets the query interface for a configuration.

Returnosid.configuration.ConfigurationQuery the configuration query
ErrorsUNIMPLEMENTED supportsAncestorConfigurationQuery() is false
Complianceoptional This method must be implemented if supportsAncestorConfigurationQuery() is true.
MethodmatchAnyAncestorConfiguration
Description

Matches configurations that have any ancestor.

Parametersbooleanmatch true to match configurations with any ancestor, false to match root configurations
Compliancemandatory This method must be implemented.
MethodclearAncestorConfigurationTerms
Description

Clears the ancestor configuration terms.

Compliancemandatory This method must be implemented.
MethodmatchDescendantConfigurationId
Description

Adds a configuration Id for this query to match configurations which have as a descendant the specified configuration.

Parametersosid.id.IdconfigurationId a configuration Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT configurationId is null
Compliancemandatory This method must be implemented.
MethodclearDescendantConfigurationIdTerms
Description

Clears the descendant configuration Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsDescendantConfigurationQuery
Description

Tests if a ConfigurationQuery is available.

Returnboolean true if a configuration query interface is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetDescendantConfigurationQuery
Description

Gets the query interface for a configuration.

Returnosid.configuration.ConfigurationQuery the configuration query
ErrorsUNIMPLEMENTED supportsDescendantConfigurationQuery() is false
Complianceoptional This method must be implemented if supportsDescendantConfigurationQuery() is true.
MethodmatchAnyDescendantConfiguration
Description

Matches configurations that have any descendant.

Parametersbooleanmatch true to match configurations with any descendant, false to match leaf configurations
Compliancemandatory This method must be implemented.
MethodclearDescendantConfigurationTerms
Description

Clears the descendant configuration terms.

Compliancemandatory This method must be implemented.
MethodgetConfigurationQueryRecord
Description

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

Parametersosid.type.TypeconfigurationRecordType a configuration record type
Returnosid.configuration.records.ConfigurationQueryRecord the configuration query record
ErrorsNULL_ARGUMENT configurationRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(configurationRecordType) is false
Compliancemandatory This method must be implemented.