Class TreeBuilder

java.lang.Object
com.atlassian.confluence.pages.TreeBuilder

public class TreeBuilder extends Object
  • Constructor Details

    • TreeBuilder

      public TreeBuilder(com.atlassian.user.User user, ContentPermissionManager contentPermissionManager, PageManager pageManager)
      TreeBuilder needs a user Object to be able to test for page permissions.
  • Method Details

    • createPageTree

      public ContentTree createPageTree(Space space)
      Creates a tree of content that just includes the pages of the space.
      Parameters:
      space - to generate the tree of content from.
      Returns:
      ContentTree
    • createPageBlogTree

      public ContentTree createPageBlogTree(Space space)
      Creates a tree of content that includes the pages and the blog posts from the space.
      Parameters:
      space - to generate the tree of content from.
      Returns:
      ContentTree