OSID Logo
OSID Specifications
inquiry package
Version 3.0.0
Release Candidate Preview
Interfaceosid.inquiry.AuditSearchSession
Implementsosid.inquiry.AuditQuerySession
Description

This session provides methods for searching among Audit objects. The search query is constructed using the AudityQuery.

getAuditsByQuery() is the basic search method and returns a list of Audits. A more advanced search may be performed with getAuditsBySearch(). It accepts an AuditSearch in addition to the query for the purpose of specifying additional options affecting the entire search, such as ordering. getAuditsBySearch() returns an AuditSearchResults that can be used to access the resulting AuditList or be used to perform a search within the result set through AuditSearch.

This session defines views that offer differing behaviors for searching.

  • federated action group view: searches include audits in action groups of which this action group is an ancestor in the action group hierarchy
  • isolated action group view: searches are restricted to audits in this action group

Audits may have an audit record indicated by their respective record types. The audit record is accessed via the AuditQuery.

MethodgetAuditSearch
Description

Gets an audit search.

Returnosid.inquiry.AuditSearchthe audit search
CompliancemandatoryThis method must be implemented.
MethodgetAuditSearchOrder
Description

Gets an audit search order. The AuditSearchOrder is supplied to an AuditSearch to specify the ordering of results.

Returnosid.inquiry.AuditSearchOrderthe audit search order
CompliancemandatoryThis method must be implemented.
MethodgetAuditsBySearch
Description

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

Parametersosid.inquiry.AuditQueryauditQuerythe audit query
osid.inquiry.AuditSearchauditSearchthe audit search
Returnosid.inquiry.AuditSearchResultsthe audit search results
ErrorsNULL_ARGUMENT auditQuery or auditSearch is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
UNSUPPORTED auditQuery or auditSearch is not of this service
CompliancemandatoryThis method must be implemented.
MethodgetAuditQueryFromInspector
Description

Gets an audit query from an inspector. The inspector is available from an AuditSearchResults.

Parametersosid.inquiry.AuditQueryInspectorauditQueryInspectoran audit query inspector
Returnosid.inquiry.AuditQuerythe audit query
ErrorsNULL_ARGUMENT auditQueryInspector is null
UNSUPPORTED auditQueryInspector is not of this service
CompliancemandatoryThis method must be implemented.