Interface ModifiablePost
- All Superinterfaces:
Post
- All Known Implementing Classes:
JCRPost
Common interface for modifiable post of a thread
-
Method Summary
Modifier and TypeMethodDescriptionGet the content of the postvoid
setAuthor
(UserIdentity author) Set the author of this post.void
setCreationDate
(Date startDate) Set the post's creation date.void
setLastModified
(Date date) Set the post's modification date.Methods inherited from interface org.ametys.plugins.explorer.threads.Post
getAuthor, getCreationDate, getLastModified
-
Method Details
-
getContent
Get the content of the post- Specified by:
getContent
in interfacePost
- Returns:
- The content of the post
-
setAuthor
Set the author of this post.- Parameters:
author
- the author
-
setCreationDate
Set the post's creation date.- Parameters:
startDate
- the post's creation date.
-
setLastModified
Set the post's modification date.- Parameters:
date
- the last modification date to set.
-