Interface ModifiablePost
-
- All Superinterfaces:
Post
- All Known Implementing Classes:
JCRPost
public interface ModifiablePost extends Post
Common interface for modifiable post of a thread
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ModifiableRichTextgetContent()Get 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 Detail
-
getContent
ModifiableRichText getContent()
Get the content of the post- Specified by:
getContentin interfacePost- Returns:
- The content of the post
-
setAuthor
void setAuthor(UserIdentity author)
Set the author of this post.- Parameters:
author- the author
-
setCreationDate
void setCreationDate(Date startDate)
Set the post's creation date.- Parameters:
startDate- the post's creation date.
-
setLastModified
void setLastModified(Date date)
Set the post's modification date.- Parameters:
date- the last modification date to set.
-
-