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

This session provides methods for searching among AuditProcessors. The search query is constructed using the AuditProcessorQuery.

getAuditProcessorsByQuery() is the basic search method and returns a list of AuditProcessors. A more advanced search may be performed with getAuditProcessorsBySearch(). It accepts an AuditProcessorSearch in addition to the query for the purpose of specifying additional options affecting the entire search, such as ordering. getAuditProcessorsBySearch() returns an AuditProcessorSearchResults that can be used to access the resulting AuditProcessorList or be used to perform a search within the result set through Au ditProcessorSearch.

This session defines views that offer differing behaviors for searching.

  • federated inquest view: searches include audit processors in inquests of which this inquest is an ancestor in the inquest hierarchy
  • isolated inquest view: searches are restricted to audit processors in this inquest

Audit processors may have a query record indicated by their respective record types. The query record is accessed via the AuditProcessorQuery.

MethodgetAuditProcessorSearch
Description

Gets an audit processor search.

Returnosid.inquiry.rules.AuditProcessorSearch the audit processor search
Compliancemandatory This method must be implemented.
MethodgetAuditProcessorSearchOrder
Description

Gets an audit processor search order. The AuditProcessorSearchOrder is supplied to an AuditProcessorSearch to specify the ordering of results.

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

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

Parametersosid.inquiry.rules.AuditProcessorQueryauditProcessorQuery the audit processor query
osid.inquiry.rules.AuditProcessorSearchauditProcessorSearch the audit processor search
Returnosid.inquiry.rules.AuditProcessorSearchResults the returned search results
ErrorsNULL_ARGUMENT auditProcessorQuery or auditProcessorSearch is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED auditProcessorQuery or auditProcessorSearch is not of this service
Compliancemandatory This method must be implemented.
MethodgetAuditProcessorQueryFromInspector
Description

Gets an audit processor query from an inspector. The inspector is available from an AuditProcessorSearchResults.

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.