OSID Logo
OSID Specifications
forum package
Version 3.0.0
Release Candidate Preview
Interfaceosid.forum.PostSearchResults
Implementsosid.OsidSearchResults
Description

This interface provides a means to capture results of a search.

MethodgetPosts
Description

Gets the post list resulting from a search.

Returnosid.forum.PostListthe post list
ErrorsILLEGAL_STATElist has already been retrieved
CompliancemandatoryThis method must be implemented.
MethodgetPostQueryInspector
Description

Gets the inspector for the query to examine the terns used in the search.

Returnosid.forum.PostQueryInspectorthe query inspector
CompliancemandatoryThis method must be implemented.
MethodgetPostSearchResultsRecord
Description

Gets the post search results record corresponding to the given post search record Type. This method is used to retrieve an object implementing the requested record.

Parametersosid.type.TypepostSearchRecordTypea post search record type
Returnosid.forum.records.PostSearchResultsRecordthe post search results record
ErrorsNULL_ARGUMENT PostSearchRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(postSearchRecordType) is false
CompliancemandatoryThis method must be implemented.