Interface PostInfo

All Superinterfaces:
PermissionCheckValue, Serializable
All Known Implementing Classes:
PostInfoImpl

public interface PostInfo extends Serializable, PermissionCheckValue
This class represents a Post in a Forum Topic. To retrieve replies to this, see DiscussionService.listPostReplies(PostInfo, int)
Since:
4.0
Author:
Nick Burch
  • Method Details

    • getNodeRef

      NodeRef getNodeRef()
      Description copied from interface: PermissionCheckValue
      Get the underlying node value that needs to be permission checked.
      Specified by:
      getNodeRef in interface PermissionCheckValue
      Returns:
      the NodeRef of the underlying post
    • getTopic

      TopicInfo getTopic()
      Returns:
      the TopicInfo representing the topic this belongs to
    • getSystemName

      String getSystemName()
      Returns:
      the System generated name for the post
    • getTitle

      String getTitle()
      Returns:
      the Title of the post (if set)
    • setTitle

      void setTitle(String title)
      Sets the Title of the post. Normally only the Primary Post in a Topic has a Title set.
    • getContents

      String getContents()
      Returns:
      the HTML Content of the post
    • setContents

      void setContents(String contentHTML)
      Sets the (HTML) Content of the post
    • getCreator

      String getCreator()
      Returns:
      the creator of the post
    • getModifier

      String getModifier()
      Returns:
      the modifier of the wiki page
    • getCreatedAt

      Date getCreatedAt()
      Returns:
      the creation date and time
    • getModifiedAt

      Date getModifiedAt()
      Returns:
      the modification date and time
    • getUpdatedAt

      Date getUpdatedAt()
      Returns:
      the updated-at date and time