OSID Logo
OSID Specifications
configuration package
Version 3.0.0
Release Candidate Preview
Interfaceosid.configuration.ParameterSearchSession
Implementsosid.configuration.ParameterQuerySession
Description

This session provides methods for searching Parameter objects. The search query is constructed using the ParameterQuery.

getParametersByQuery() is the basic search method and returns a list of Parameters. A more advanced search may be performed with getParametersBySearch(). It accepts a ParameterSearch in addition to the query for the purpose of specifying additional options affecting the entire search, such as ordering. getParametersBySearch() returns a ParameterSearchResults that can be used to access the resulting ParameterList or be used to perform a search within the result set through ParameterSearch.

Two views of the configuration data are defined;

  • federated: parameters defined in configurations that are a parent of this configuration in the configuration hierarchy are included
  • isolated: parameters are contained to within this configuration
MethodgetParameterSearch
Description

Gets a parameter search.

Returnosid.configuration.ParameterSearchthe parameter search
CompliancemandatoryThis method must be implemented.
MethodgetParameterSearchOrder
Description

Gets a parameter entry search order. The ParameterEntrySearchOrder is supplied to an ParameterEntrySearch to specify the ordering of results.

Returnosid.configuration.ParameterSearchOrderthe parameter search order
CompliancemandatoryThis method must be implemented.
MethodgetParametersBySearch
Description

Gets a list of Parameters matching the given search query using the given search.

Parametersosid.configuration.ParameterQueryparameterQuerythe parameter query
osid.configuration.ParameterSearchparameterSearchthe parameter search
Returnosid.configuration.ParameterSearchResultsthe parameter search results
ErrorsNULL_ARGUMENT parameterQuery or parameterSearch is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
UNSUPPORTED parameterQuery or parameterSearch is not of this service
CompliancemandatoryThis method must be implemented.
MethodgetParameterQueryFromInspector
Description

Gets a parameter query from an inspector. The inspector is available from a ParameterSearchResults.

Parametersosid.configuration.ParameterQueryInspectorparameterQueryInspectora parameter query inspector
Returnosid.configuration.ParameterQuerythe parameter query
ErrorsNULL_ARGUMENT parameterQueryInspector is null
UNSUPPORTED parameterQueryInspector is not of this service
CompliancemandatoryThis method must be implemented.