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 ModifiableRichText
getContent()
Get 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 Detail
-
getContent
ModifiableRichText getContent()
Get the content of the post- Specified by:
getContent
in 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.
-
-