OSID Logo
OSID Specifications
forum package
Version 3.1.0
Interfaceosid.forum.PostSearchOrder
Implementsosid.OsidObjectSearchOrder
Used Byosid.forum.PostSearchSession
osid.forum.PostSmartForumSession
Description

An interface for specifying the ordering of search results.

MethodorderByTimestamp
Description

Specifies a preference for ordering the result set by the timestamp.

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodorderByPoster
Description

Specifies a preference for ordering the result set by the poster.

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodsupportsPosterSearchOrder
Description

Tests if a resource order interface is available.

Returnboolean true if a poster order interface is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetPosterSearchOrder
Description

Gets the poster order interface.

Returnosid.resource.ResourceSearchOrder the poster search order interface
ErrorsUNIMPLEMENTED supportsPosterSearchOrder() is false
Complianceoptional This method must be implemented if supportsPosterSearchOrder() is true.
MethodorderByPostingAgent
Description

Specifies a preference for ordering the result set by the posting agent.

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodsupportsPostingAgentSearchOrder
Description

Tests if a posting agent order interface is available.

Returnboolean true if a posting agent order interface is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetPostingAgentSearchOrder
Description

Gets the posting agent search order interface.

Returnosid.authentication.AgentSearchOrder the posting agent search order interface
ErrorsUNIMPLEMENTED supportsPostingAgentSearchOrder() is false
Complianceoptional This method must be implemented if supportsPostingAgentSearchOrder() is true.
MethodorderBySubjectLine
Description

Specifies a preference for ordering the result set by the subject.

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodorderByText
Description

Specifies a preference for ordering the result set by the text.

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodgetPostSearchOrderRecord
Description

Gets the post search record order corresponding to the given post record Type. Multiple retrievals return the same underlying object.

Parametersosid.type.TypepostRecordType a post record type
Returnosid.forum.records.PostSearchOrderRecord the post search order record
ErrorsNULL_ARGUMENT postRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(postRecordType) is false
Compliancemandatory This method must be implemented.