OSID Logo
OSID Specifications
inquiry rules package
Version 3.1.0
Interfaceosid.inquiry.rules.AuditProcessorSmartInquestSession
Implementsosid.OsidSession
Used Byosid.inquiry.rules.InquiryRulesManager
osid.inquiry.rules.InquiryRulesProxyManager
Description

This session manages queries and sequencing to create "smart" dynamic catalogs. An AuditProcessorQuery can be retrieved from this session and mapped to this Inquest to create a virtual collection of AuditProcessors. The audit processors may be sequenced using the AuditProcessorSearchOrder from this session.

This Inquest has a default query that matches any audit processor and a default search order that specifies no sequencing. The queries may be examined using an AuditProcessorQueryInspector. The query may be modified by converting the inspector back to an AuditProcessorQuery.

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.
MethodgetAuditProcessorQuery
Description

Gets an audit processor query.

Returnosid.inquiry.rules.AuditProcessorQuery the audit processor query
Compliancemandatory This method must be implemented.
MethodgetAuditProcessorSearchOrder
Description

Gets an audit processor search order.

Returnosid.inquiry.rules.AuditProcessorSearchOrder the audit processor search order
Compliancemandatory This method must be implemented.
MethodapplyAuditProcessorQuery
Description

Applies an audit processor query to this inquest.

Parametersosid.inquiry.rules.AuditProcessorQueryauditProcessorQuery the audit processor query
ErrorsNULL_ARGUMENT auditProcessorQuery is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED auditProcessorQuery not of this service
Compliancemandatory This method must be implemented.
MethodinspectAuditProcessorQuery
Description

Gets an audit processor query inspector for this inquest.

Returnosid.inquiry.rules.AuditProcessorQueryInspector the audit processor query inspector
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
Compliancemandatory This method must be implemented.
MethodapplyAuditProcessorSequencing
Description

Applies an audit processor search order to this inquest.

Parametersosid.inquiry.rules.AuditProcessorSearchOrderauditProcessorSearchOrder the audit processor search order
ErrorsNULL_ARGUMENT auditProcessorSearchOrder is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED auditProcessorSearchOrder not of this service
Compliancemandatory This method must be implemented.
MethodgetAuditProcessorQueryFromInspector
Description

Gets an audit processor query from an inspector.

Parametersosid.inquiry.rules.AuditProcessorQueryInspectorauditProcessorQueryInspector an audit processor query inspector
Returnosid.inquiry.rules.AuditProcessorQuery the audit processor query
ErrorsNULL_ARGUMENT auditProcessorQueryInspector is null
UNSUPPORTED auditProcessorQueryInspector is not of this service
Compliancemandatory This method must be implemented.