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 UserIdentity
getAuthor()
Get the author of the postRichText
getContent()
Get the content of the postDate
getCreationDate()
Get the post's creation date.Date
getLastModified()
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.
-
-