Interface Forum


  • public interface Forum
    Forum wrapper.
    • Method Detail

      • getId

        int getId()
        Returns the forum id.
        Returns:
        the forum id.
      • getTopics

        ForumMessage[] getTopics()
        Returns all topics in the forum.
        Returns:
        all topics in the forum.
      • getTopicCount

        int getTopicCount()
        Returns the number of topics in the forum.
        Returns:
        the number of topics in the forum.
      • getTopics

        ForumMessage[] getTopics​(int from,
                                 int to)
        Returns the topics in the forum between the specified bounds.
        Parameters:
        from - The start index, inclusive.
        to - The end index, exclusive
        Returns:
        the topics in the forum between the specified bounds.
      • isLocked

        boolean isLocked()
        Returns true if the forum has been locked.
        Returns:
        true if the forum has been locked