OSID Logo
OSID Specifications
inquiry package
Version 3.1.0
Interfaceosid.inquiry.ResponseSmartInquestSession
Implementsosid.OsidSession
Used Byosid.inquiry.InquiryManager
osid.inquiry.InquiryProxyManager
Description

This session manages queries and sequencing to create "smart" dynamic catalogs. A ResponseQuery can be retrieved from this session and inquestped to this Inquest to create a virtual collection of Responses. The responses may be sequenced using the ResponseSearchOrder from this session.

This Inquest has a default query that matches any response and a default search order that specifies no sequencing. The queries may be examined using a ResponseQueryInspector. The query may be modified by converting the inspector back to a ResponseQuery.

MethodgetInquestId
Description

Gets the Inquest Id associated with this session.

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

Gets the Inquest associated with this session.

Returnosid.inquiry.Inquest the inquest
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodcanManageSmartInquests
Description

Tests if this user can manage smart inquests. 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 application that may opt not to offer operations to unauthorized users.

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

Gets a response query.

Returnosid.inquiry.ResponseQuery the response query
Compliancemandatory This method must be implemented.
MethodgetResponseSearchOrder
Description

Gets a response search order.

Returnosid.inquiry.ResponseSearchOrder the response search order
Compliancemandatory This method must be implemented.
MethodapplyResponseQuery
Description

Applies a response query to this inquest.

Parametersosid.inquiry.ResponseQueryresponseQuery the response query
ErrorsNULL_ARGUMENT responseQuery is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED responseQuery not of this service
Compliancemandatory This method must be implemented.
MethodinspectResponseQuery
Description

Gets a response query inspector for this inquest.

Returnosid.inquiry.ResponseQueryInspector the response query inspector
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
Compliancemandatory This method must be implemented.
MethodapplyResponseSequencing
Description

Applies a response search order to this inquest.

Parametersosid.inquiry.ResponseSearchOrderresponseSearchOrder the response search order
ErrorsNULL_ARGUMENT responseSearchOrder is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED responseSearchOrder not of this service
Compliancemandatory This method must be implemented.
MethodgetResponseQueryFromInspector
Description

Gets a response query from an inspector.

Parametersosid.inquiry.ResponseQueryInspectorresponseQueryInspector a response query inspector
Returnosid.inquiry.ResponseQuery the response query
ErrorsNULL_ARGUMENT responseQueryInspector is null
UNSUPPORTED responseQueryInspector is not of this service
Compliancemandatory This method must be implemented.