Package com.atlassian.confluence.pages
Class TreeBuilder
- java.lang.Object
-
- com.atlassian.confluence.pages.TreeBuilder
-
public class TreeBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description TreeBuilder(com.atlassian.user.User user, ContentPermissionManager contentPermissionManager, PageManager pageManager)
TreeBuilder needs a user Object to be able to test for page permissions.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentTree
createPageBlogTree(Space space)
Creates a tree of content that includes the pages and the blog posts from the space.ContentTree
createPageTree(Space space)
Creates a tree of content that just includes the pages of the space.
-
-
-
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
-
-