OSID Logo
OSID Specifications
inquiry package
Version 3.0.0
Release Candidate Preview
Interfaceosid.inquiry.ResponseQuery
Implementsosid.OsidRelationshipQuery
Description

This is the query for searching responses. 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.

Parametersosid.id.IdinquiryIdthe inquiry Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT inquiryId is null
CompliancemandatoryThis method must be implemented.
MethodclearInquiryIdTerms
Description

Clears the inquiry Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsInquiryQuery
Description

Tests if an InquiryQuery is available.

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

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

Returnosid.inquiry.InquiryQuerythe inquiry query
ErrorsUNIMPLEMENTED supportsInquiryQuery() is false
ComplianceoptionalThis method must be implemented if supportsInquiryQuery() is true.
MethodclearInquiryTerms
Description

Clears the inquiry query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchResponderId
Description

Sets the responder resource Id for this query.

Parametersosid.id.IdresourceIdthe resource Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT resourceId is null
CompliancemandatoryThis method must be implemented.
MethodclearResponderIdTerms
Description

Clears the responder resource Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsResponderQuery
Description

Tests if a ResourceQuery is available.

Returnboolean true if a resource query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetResponderQuery
Description

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

Returnosid.resource.ResourceQuerythe resource query
ErrorsUNIMPLEMENTED supportsResponderQuery() is false
ComplianceoptionalThis method must be implemented if supportsResponderQuery() is true.
MethodclearResponderTerms
Description

Clears the responder resource query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchRespondingAgentId
Description

Sets the responding agent Id for this query.

Parametersosid.id.IdagentIdthe agent Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT agentId is null
CompliancemandatoryThis method must be implemented.
MethodclearRespondingAgentIdTerms
Description

Clears the responding agent Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsRespondingAgentQuery
Description

Tests if an AgentQuery is available.

Returnboolean true if an agent query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetRespondingAgentQuery
Description

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

Returnosid.authentication.AgentQuerythe agent query
ErrorsUNIMPLEMENTED supportsRespondingAgentQuery() is false
ComplianceoptionalThis method must be implemented if supportsRespondingAgentQuery() is true.
MethodclearRespondingAgentTerms
Description

Clears the responding agent query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchAffirmative
Description

Matches affirmative responses.

Parametersbooleanmatch true for a positive match, false for a negative match
CompliancemandatoryThis method must be implemented.
MethodclearAffirmativeTerms
Description

Clears the affirmative query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchInquestId
Description

Sets the inquest Id for this query to match audits assigned to inquests.

Parametersosid.id.IdinquestIdthe inquest Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT inquestId is null
CompliancemandatoryThis method must be implemented.
MethodclearInquestIdTerms
Description

Clears the inquest Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsInquestQuery
Description

Tests if an InquestQuery is available.

Returnboolean true if an inquest query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetInquestQuery
Description

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

Returnosid.inquiry.InquestQuerythe inquest query
ErrorsUNIMPLEMENTED supportsInquestQuery() is false
ComplianceoptionalThis method must be implemented if supportsInquestQuery() is true.
MethodclearInquestTerms
Description

Clears the inquest query terms.

CompliancemandatoryThis method must be implemented.
MethodgetResponseQueryRecord
Description

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

Parametersosid.type.TyperesponseRecordTypea response record type
Returnosid.inquiry.records.ResponseQueryRecordthe response query record
ErrorsNULL_ARGUMENT responseRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(responseRecordType) is false
CompliancemandatoryThis method must be implemented.