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 postvoidsetAuthor(UserIdentity author) Set the author of this post.voidsetCreationDate(Date startDate) Set the post's creation date.voidsetLastModified(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:
getContentin 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.
-