OSID Logo
OSID Specifications
forum package
Version 3.1.0
Interfaceosid.forum.Post
Implementsosid.OsidObject
Used Byosid.forum.PostAdminSession
osid.forum.PostList
osid.forum.PostLookupSession
osid.forum.Reply
Description

A Post represents a blob of text posted to a forum by a poster. Like all OSID objects, a Post is identified by its Id and any persisted references should use the Id.

MethodgetTimestamp
Description

Gets the time of this post.

Returnosid.calendaring.DateTime the time
Compliancemandatory This method must be implemented.
MethodgetPosterId
Description

Gets the poster Id of this post.

Returnosid.id.Id the poster resource Id
Compliancemandatory This method must be implemented.
MethodgetPoster
Description

Gets the poster of this post.

Returnosid.resource.Resource the poster resource
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetPostingAgentId
Description

Gets the posting agent Id of this post.

Returnosid.id.Id the posting agent Id
Compliancemandatory This method must be implemented.
MethodgetPostingAgent
Description

Gets the posting agent of this post.

Returnosid.authentication.Agent the posting agent
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetSubjectLine
Description

Gets the subject line of this post.

Returnosid.locale.DisplayText the subject
Compliancemandatory This method must be implemented.
MethodgetText
Description

Gets the text of the post.

Returnosid.locale.DisplayText the entry text
Compliancemandatory This method must be implemented.
MethodgetPostRecord
Description

Gets the post record corresponding to the given Post record Type.This method is used to retrieve an object implementing the requested record. The postRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(postRecordType) is true.

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