OSID Logo
OSID Specifications
lexicon package
Version 3.0.0
Interfaceosid.lexicon.ParameterSearchSession
Implementsosid.lexicon.ParameterQuerySession
Used Byosid.lexicon.LexiconManager
osid.lexicon.LexiconProxyManager
Description

This session provides methods for searching among Parameters . The search query is constructed using the ParameteryQuery .

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 .

This session defines views that offer differing behaviors for searching.

  • federated press view: searches include parameters in presses of which this press is an ancestor in the press hierarchy
  • isolated press view: searches are restricted to parameters in this press

Parameters may have a parameter record indicated by their respective record types. The parameter record is accessed via the ParameterQuery .

MethodgetParameterSearch
Description

Gets a parameter search.

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

Gets a parameter search order. The ParameterSearchOrder is supplied to a ParameterSearch to specify the ordering of results.

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

Gets the search results matching the given search query using the given search.

Parametersosid.lexicon.ParameterQueryparameterQuerythe parameter query
osid.lexicon.ParameterSearchparameterSearchthe parameter search
Returnosid.lexicon.ParameterSearchResultsthe parameter search results
ErrorsNULL_ARGUMENTparameterQuery or parameterSearch is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
UNSUPPORTEDparameterQuery 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.lexicon.ParameterQueryInspectorparameterQueryInspectora parameter query inspector
Returnosid.lexicon.ParameterQuerythe parameter query
ErrorsNULL_ARGUMENTparameterQueryInspector is null
UNSUPPORTEDparameterQueryInspector is not of this service
CompliancemandatoryThis method must be implemented.