Interface Post
-
- All Known Subinterfaces:
ModifiablePost
- All Known Implementing Classes:
JCRPost
public interface Post
Common interface for post of a thread
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UserIdentitygetAuthor()Get the author of the postRichTextgetContent()Get the content of the postDategetCreationDate()Get the post's creation date.DategetLastModified()Get the post's last modification date.
-
-
-
Method Detail
-
getContent
RichText getContent()
Get the content of the post- Returns:
- The content as a
RichText
-
getAuthor
UserIdentity getAuthor()
Get the author of the post- Returns:
- The post's author
-
getCreationDate
Date getCreationDate()
Get the post's creation date.- Returns:
- the post's creation date.
-
getLastModified
Date getLastModified()
Get the post's last modification date.- Returns:
- the post's last modification date.
-
-