Interface ModifiablePost

All Superinterfaces:
Post
All Known Implementing Classes:
JCRPost

public interface ModifiablePost extends Post
Common interface for modifiable post of a thread
  • Method Details

    • getContent

      Get the content of the post
      Specified by:
      getContent in interface Post
      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.