org.alfresco.service.cmr.discussion
Interface PostInfo

All Superinterfaces:
PermissionCheckValue, java.io.Serializable
All Known Implementing Classes:
PostInfoImpl

public interface PostInfo
extends java.io.Serializable, PermissionCheckValue

This class represents a Post in a Forum Topic. To retrieve replies to this, see DiscussionService#listPostReplies(PostInfo, int, org.alfresco.query.PagingRequest)

Since:
4.0

Method Summary
 java.lang.String getContents()
           
 java.util.Date getCreatedAt()
           
 java.lang.String getCreator()
           
 java.util.Date getModifiedAt()
           
 java.lang.String getModifier()
           
 org.alfresco.service.cmr.repository.NodeRef getNodeRef()
          Get the underlying node value that needs to be permission checked.
 java.lang.String getSystemName()
           
 java.lang.String getTitle()
           
 TopicInfo getTopic()
           
 java.util.Date getUpdatedAt()
           
 void setContents(java.lang.String contentHTML)
          Sets the (HTML) Content of the post
 void setTitle(java.lang.String title)
          Sets the Title of the post.
 

Method Detail

getNodeRef

org.alfresco.service.cmr.repository.NodeRef getNodeRef()
Description copied from interface: PermissionCheckValue
Get the underlying node value that needs to be permission checked.

Specified by:
getNodeRef in interface PermissionCheckValue
Returns:
the NodeRef of the underlying post

getTopic

TopicInfo getTopic()
Returns:
the TopicInfo representing the topic this belongs to

getSystemName

java.lang.String getSystemName()
Returns:
the System generated name for the post

getTitle

java.lang.String getTitle()
Returns:
the Title of the post (if set)

setTitle

void setTitle(java.lang.String title)
Sets the Title of the post. Normally only the Primary Post in a Topic has a Title set.


getContents

java.lang.String getContents()
Returns:
the HTML Content of the post

setContents

void setContents(java.lang.String contentHTML)
Sets the (HTML) Content of the post


getCreator

java.lang.String getCreator()
Returns:
the creator of the post

getModifier

java.lang.String getModifier()
Returns:
the modifier of the wiki page

getCreatedAt

java.util.Date getCreatedAt()
Returns:
the creation date and time

getModifiedAt

java.util.Date getModifiedAt()
Returns:
the modification date and time

getUpdatedAt

java.util.Date getUpdatedAt()
Returns:
the updated-at date and time


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.