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, seeDiscussionService.listPostReplies(PostInfo, int)- Since:
- 4.0
- Author:
- Nick Burch
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetContents()java.util.DategetCreatedAt()java.lang.StringgetCreator()java.util.DategetModifiedAt()java.lang.StringgetModifier()org.alfresco.service.cmr.repository.NodeRefgetNodeRef()Get the underlying node value that needs to be permission checked.java.lang.StringgetSystemName()java.lang.StringgetTitle()TopicInfogetTopic()java.util.DategetUpdatedAt()voidsetContents(java.lang.String contentHTML)Sets the (HTML) Content of the postvoidsetTitle(java.lang.String title)Sets the Title of the post.
-
-
-
Method Detail
-
getNodeRef
org.alfresco.service.cmr.repository.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
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
-
-