OSID Logo
OSID Specifications
inquiry package
Version 3.1.0
Interfaceosid.inquiry.InquestQuery
Implementsosid.OsidCatalogQuery
Used Byosid.inquiry.AuditQuery
osid.inquiry.InquestQuery
osid.inquiry.InquestQuerySession
osid.inquiry.InquestSearchSession
osid.inquiry.InquiryQuery
osid.inquiry.ResponseQuery
osid.inquiry.rules.AuditConstrainerEnablerQuery
osid.inquiry.rules.AuditConstrainerQuery
osid.inquiry.rules.AuditEnablerQuery
osid.inquiry.rules.AuditProcessorEnablerQuery
show 2 more…
osid.inquiry.rules.AuditProcessorQuery
osid.inquiry.rules.InquiryEnablerQuery
Description

This is the query for searching inquests. Each method match specifies an AND term while multiple invocations of the same method produce a nested OR.

MethodmatchInquiryId
Description

Sets the inquiry Id for this query to match inquests that have a related response.

Parametersosid.id.IdinquiryId an inquiry Id
booleanmatch true if a positive match, false for negative match
ErrorsNULL_ARGUMENT inquiryId is null
Compliancemandatory This method must be implemented.
MethodclearInquiryIdTerms
Description

Clears the inquiry Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsInquiryQuery
Description

Tests if an InquiryQuery is available.

Returnboolean true if an inquiry query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetInquiryQuery
Description

Gets the query for an inquiry. Multiple retrievals produce a nested OR term.

Returnosid.inquiry.InquiryQuery the inquiry query
ErrorsUNIMPLEMENTED supportsInquiryQuery() is false
Complianceoptional This method must be implemented if supportsInquiryQuery() is true.
MethodmatchAnyInquiry
Description

Matches inquests that have any inquiry.

Parametersbooleanmatch true to match inquests with any inquiry, false to match inquests with no inquiry
Compliancemandatory This method must be implemented.
MethodclearInquiryTerms
Description

Clears the inquiry query terms.

Compliancemandatory This method must be implemented.
MethodmatchAuditId
Description

Sets the audit Id for this query.

Parametersosid.id.IdauditId the audit Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT auditId is null
Compliancemandatory This method must be implemented.
MethodclearAuditIdTerms
Description

Clears the audit Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsAuditQuery
Description

Tests if an AuditQuery is available.

Returnboolean true if an audit query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetAuditQuery
Description

Gets the query for an audit. Multiple retrievals produce a nested OR term.

Returnosid.inquiry.AuditQuery the audit query
ErrorsUNIMPLEMENTED supportsAuditQuery() is false
Complianceoptional This method must be implemented if supportsAuditQuery() is true.
MethodmatchAnyAudit
Description

Matches inquests with any audit.

Parametersbooleanmatch true to match inquests with any audit, false to match inquests with no audit
Compliancemandatory This method must be implemented.
MethodclearAuditTerms
Description

Clears the audit query terms.

Compliancemandatory This method must be implemented.
MethodmatchResponseId
Description

Sets the response Id for this query.

Parametersosid.id.IdresponseId the response Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT responseId is null
Compliancemandatory This method must be implemented.
MethodclearResponseIdTerms
Description

Clears the response Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsResponseQuery
Description

Tests if a ResponseQuery is available.

Returnboolean true if a response query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetResponseQuery
Description

Gets the query for a response. Multiple retrievals produce a nested OR term.

Returnosid.inquiry.ResponseQuery the response query
ErrorsUNIMPLEMENTED supportsResponseQuery() is false
Complianceoptional This method must be implemented if supportsResponseQuery() is true.
MethodmatchAnyResponse
Description

Matches inquests with any response.

Parametersbooleanmatch true to match inquests with any response, false to match inquests with no response
Compliancemandatory This method must be implemented.
MethodclearResponseTerms
Description

Clears the response query terms.

Compliancemandatory This method must be implemented.
MethodmatchAncestorInquestId
Description

Sets the inquest Id for this query to match inquests that have the specified inquest as an ancestor.

Parametersosid.id.IdinquestId an inquest Id
booleanmatch true for a positive match, false for negative match
ErrorsNULL_ARGUMENT inquestId is null
Compliancemandatory This method must be implemented.
MethodclearAncestorInquestIdTerms
Description

Clears the ancestor inquest Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsAncestorInquestQuery
Description

Tests if an InquestQuery is available.

Returnboolean true if an inquest query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetAncestorInquestQuery
Description

Gets the query for an inquest. Multiple retrievals produce a nested OR term.

Returnosid.inquiry.InquestQuery the inquest query
ErrorsUNIMPLEMENTED supportsAncestorInquestQuery() is false
Complianceoptional This method must be implemented if supportsAncestorInquestQuery() is true.
MethodmatchAnyAncestorInquest
Description

Matches inquests with any ancestor.

Parametersbooleanmatch true to match inquests with any ancestor, false to match root inquests
Compliancemandatory This method must be implemented.
MethodclearAncestorInquestTerms
Description

Clears the ancestor inquest query terms.

Compliancemandatory This method must be implemented.
MethodmatchDescendantInquestId
Description

Sets the inquest Id for this query to match inquests that have the specified inquest as a descendant.

Parametersosid.id.IdinquestId an inquest Id
booleanmatch true for a positive match, false for negative match
ErrorsNULL_ARGUMENT inquestId is null
Compliancemandatory This method must be implemented.
MethodclearDescendantInquestIdTerms
Description

Clears the descendant inquest Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsDescendantInquestQuery
Description

Tests if an InquestQuery is available.

Returnboolean true if an inquest query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetDescendantInquestQuery
Description

Gets the query for an inquest/ Multiple retrievals produce a nested OR term.

Returnosid.inquiry.InquestQuery the inquest query
ErrorsUNIMPLEMENTED supportsDescendantInquestQuery() is false
Complianceoptional This method must be implemented if supportsDescendantInquestQuery() is true.
MethodmatchAnyDescendantInquest
Description

Matches inquests with any descendant.

Parametersbooleanmatch true to match inquests with any descendant, false to match leaf inquests
Compliancemandatory This method must be implemented.
MethodclearDescendantInquestTerms
Description

Clears the descendant inquest query terms.

Compliancemandatory This method must be implemented.
MethodgetInquestQueryRecord
Description

Gets the inquest query record corresponding to the given Inquest record Type .Multiple record retrievals produce a nested OR term.

Parametersosid.type.TypeinquestRecordType an inquest record type
Returnosid.inquiry.records.InquestQueryRecord the inquest query record
ErrorsNULL_ARGUMENT inquestRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(inquestRecordType) is false
Compliancemandatory This method must be implemented.