Interface TopicInfo

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

public interface TopicInfo extends Serializable, PermissionCheckValue
This class represents a Topic in a forum. To retrieve either the Primary Post, or all Posts, use DiscussionService.getPrimaryPost(TopicInfo) and DiscussionService.listPostReplies(TopicInfo, 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 topic
    • getContainerNodeRef

      NodeRef getContainerNodeRef()
      Returns:
      the NodeRef of the container this belongs to (Site or Otherwise)
    • getSystemName

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

      String getTitle()
      Returns:
      the Title of the topic.
    • setTitle

      void setTitle(String title)
      Sets the Title of the topic. The Title of the topic will be shared with the Primary Post
    • getCreator

      String getCreator()
      Returns:
      the creator of the topic
    • 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
    • getTags

      List<String> getTags()
      Returns:
      the Tags associated with the topic
    • getShortSiteName

      String getShortSiteName()
      Returns:
      the site this topic is associated with