Interface PostInfo
- All Superinterfaces:
PermissionCheckValue,Serializable
- All Known Implementing Classes:
PostInfoImpl
This class represents a Post in a Forum Topic.
To retrieve replies to this, see
DiscussionService.listPostReplies(PostInfo, int)- Since:
- 4.0
- Author:
- Nick Burch
-
Method Summary
Modifier and TypeMethodDescriptionGet the underlying node value that needs to be permission checked.getTitle()getTopic()voidsetContents(String contentHTML) Sets the (HTML) Content of the postvoidSets the Title of the post.
-
Method Details
-
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
-
getTopic
TopicInfo getTopic()- Returns:
- the
TopicInforepresenting the topic this belongs to
-
getSystemName
String getSystemName()- Returns:
- the System generated name for the post
-
getTitle
String getTitle()- Returns:
- the Title of the post (if set)
-
setTitle
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
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
-