OSID Logo
OSID Specifications
commenting package
Version 3.0.0
Release Candidate Preview
Interfaceosid.commenting.CommentQueryInspector
Implementsosid.OsidRelationshipQueryInspector
Description

The comment query inspector for examining comment queries.

MethodgetReferenceIdTerms
Description

Gets the reference Id terms.

Returnosid.search.terms.IdTerm[]the reference Id terms
CompliancemandatoryThis method must be implemented.
MethodgetCommentorIdTerms
Description

Gets the resource Id terms.

Returnosid.search.terms.IdTerm[]the resource Id terms
CompliancemandatoryThis method must be implemented.
MethodgetCommentorTerms
Description

Gets the resource terms.

Returnosid.resource.ResourceQueryInspector[]the resource terms
CompliancemandatoryThis method must be implemented.
MethodgetCommentingAgentIdTerms
Description

Gets the agent Id terms.

Returnosid.search.terms.IdTerm[]the agent Id terms
CompliancemandatoryThis method must be implemented.
MethodgetCommentingAgentTerms
Description

Gets the agent terms.

Returnosid.authentication.AgentQueryInspector[]the agent terms
CompliancemandatoryThis method must be implemented.
MethodgetTextTerms
Description

Gets the text query terms.

Returnosid.search.terms.StringTerm[]the text query terms
CompliancemandatoryThis method must be implemented.
MethodgetRatingIdTerms
Description

Gets the rating Id terms.

Returnosid.search.terms.IdTerm[]the rating Id terms
CompliancemandatoryThis method must be implemented.
MethodgetRatingTerms
Description

Gets the rating terms.

Returnosid.grading.GradeQueryInspector[]the rating terms
CompliancemandatoryThis method must be implemented.
MethodgetBookIdTerms
Description

Gets the book Id terms.

Returnosid.search.terms.IdTerm[]the book Id terms
CompliancemandatoryThis method must be implemented.
MethodgetBookTerms
Description

Gets the book terms.

Returnosid.commenting.BookQueryInspector[]the book terms
CompliancemandatoryThis method must be implemented.
MethodgetCommentQueryInspectorRecord
Description

Gets the comment query inspector record corresponding to the given Comment record Type.

Parametersosid.type.TypecommentRecordTypea comment record type
Returnosid.commenting.records.CommentQueryInspectorRecordthe comment query inspector record
ErrorsNULL_ARGUMENT commentRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(commentRecordType) is false
CompliancemandatoryThis method must be implemented.