Class TreeBuilder


  • public class TreeBuilder
    extends Object
    • Constructor Detail

      • 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 Detail

      • 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