Interface PostInfo
-
- All Superinterfaces:
PermissionCheckValue,Serializable
- All Known Implementing Classes:
PostInfoImpl
public interface PostInfo extends Serializable, PermissionCheckValue
This class represents a Post in a Forum Topic. To retrieve replies to this, seeDiscussionService.listPostReplies(PostInfo, int)- Since:
- 4.0
- Author:
- Nick Burch
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetContents()DategetCreatedAt()StringgetCreator()DategetModifiedAt()StringgetModifier()NodeRefgetNodeRef()Get the underlying node value that needs to be permission checked.StringgetSystemName()StringgetTitle()TopicInfogetTopic()DategetUpdatedAt()voidsetContents(String contentHTML)Sets the (HTML) Content of the postvoidsetTitle(String title)Sets the Title of the post.
-
-
-
Method Detail
-
getNodeRef
NodeRef getNodeRef()
Description copied from interface:PermissionCheckValueGet the underlying node value that needs to be permission checked.- Specified by:
getNodeRefin interfacePermissionCheckValue- Returns:
- the NodeRef of the underlying post
-
getSystemName
String getSystemName()
- Returns:
- the System generated name for the post
-
getTitle
String getTitle()
- Returns:
- the Title of the post (if set)
-
setTitle
void setTitle(String title)
Sets the Title of the post. Normally only the Primary Post in a Topic has a Title set.
-
getContents
String getContents()
- Returns:
- the HTML Content of the post
-
setContents
void setContents(String contentHTML)
Sets the (HTML) Content of the post
-
getCreator
String getCreator()
- Returns:
- the creator of the post
-
getModifier
String getModifier()
- Returns:
- the modifier of the wiki page
-
getCreatedAt
Date getCreatedAt()
- Returns:
- the creation date and time
-
getModifiedAt
Date getModifiedAt()
- Returns:
- the modification date and time
-
getUpdatedAt
Date getUpdatedAt()
- Returns:
- the updated-at date and time
-
-