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

This session manages queries and sequencing to create "smart" dynamic inquests. An AuditEnablerQuery can be retrieved from this session and mapped to this Inquest to create a virtual collection of audit enablers. The audit enablers may be sequenced using the AuditEnablerSearchOrder from this session.

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

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

Gets an audit enabler query.

Returnosid.inquiry.rules.AuditEnablerQuery the audit enabler query
Compliancemandatory This method must be implemented.
MethodgetAuditEnablerSearchOrder
Description

Gets an audit enabler search order.

Returnosid.inquiry.rules.AuditEnablerSearchOrder the audit enabler search order
Compliancemandatory This method must be implemented.
MethodapplyAuditEnablerQuery
Description

Applies an audit enabler query to this inquest.

Parametersosid.inquiry.rules.AuditEnablerQueryauditEnablerQuery the audit enabler query
ErrorsNULL_ARGUMENT auditEnablerQuery is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED auditEnablerQuery not of this service
Compliancemandatory This method must be implemented.
MethodinspectAuditEnablerQuery
Description

Gets an audit enabler query inspector for this inquest.

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

Applies an audit enabler search order to this inquest.

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

Gets an audit enabler query from an inspector.

Parametersosid.inquiry.rules.AuditEnablerQueryInspectorauditEnablerQueryInspector an audit enabler query inspector
Returnosid.inquiry.rules.AuditEnablerQuery the audit enabler query
ErrorsNULL_ARGUMENT auditEnablerQueryInspector is null
UNSUPPORTED auditEnablerQueryInspector is not of this service
Compliancemandatory This method must be implemented.