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