OSID Logo
OSID Specifications
lexicon package
Version 3.1.0
Interfaceosid.lexicon.ParameterSmartPressSession
Implementsosid.OsidSession
Used Byosid.lexicon.LexiconManager
osid.lexicon.LexiconProxyManager
Description

This session manages queries and sequencing to create "smart" dynamic catalogs. A ParameterQuery can be retrieved from this session and mapped to this Press to create a virtual collection of parameters. The parameters may be sequenced using the ParameterSearchOrder from this session.

This Press has a default query that matches any parameter and a default search order that specifies no sequencing. The queries may be examined using a ParameterQueryInspector. The query may be modified by converting the inspector back to a ParameterQuery.

MethodgetPressId
Description

Gets the Press Id associated with this session.

Returnosid.id.Id the Press Id associated with this session
Compliancemandatory This method must be implemented.
MethodgetPress
Description

Gets the Press associated with this session.

Returnosid.lexicon.Press the press
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodcanManageSmartPresses
Description

Tests if this user can manage smart presses. A return of true does not guarantee successful authorization. A return of false indicates that it is known methods in this session will result in a PERMISSION_DENIED. This is intended as a hint to an press that may opt not to offer operations to unauthorized users.

Returnboolean false if smart press management is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodgetParameterQuery
Description

Gets a parameter query.

Returnosid.lexicon.ParameterQuery the parameter query
Compliancemandatory This method must be implemented.
MethodgetParameterSearchOrder
Description

Gets a parameter search order.

Returnosid.lexicon.ParameterSearchOrder the parameter search order
Compliancemandatory This method must be implemented.
MethodapplyParameterQuery
Description

Applies a parameter query to this press.

Parametersosid.lexicon.ParameterQueryparameterQuery the parameter query
ErrorsNULL_ARGUMENT parameterQuery is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED parameterQuery not of this service
Compliancemandatory This method must be implemented.
MethodinspecParameterQuery
Description

Gets a parameter query inspector for this press.

Returnosid.lexicon.ParameterQueryInspector the parameter query inspector
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
Compliancemandatory This method must be implemented.
MethodapplyParameterSequencing
Description

Applies a parameter search order to this press.

Parametersosid.lexicon.ParameterSearchOrderparameterSearchOrder the parameter search order
ErrorsNULL_ARGUMENT parameterSearchOrder is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED parameterSearchOrder not of this service
Compliancemandatory This method must be implemented.
MethodgetParameterQueryFromInspector
Description

Gets a parameter query from an inspector.

Parametersosid.lexicon.ParameterQueryInspectorparameterQueryInspector a parameter query inspector
Returnosid.lexicon.ParameterQuery the parameter query
ErrorsNULL_ARGUMENT parameterQueryInspector is null
UNSUPPORTED parameterQueryInspector is not of this service
Compliancemandatory This method must be implemented.