public class TreeBuilder extends Object
Constructor and Description |
---|
TreeBuilder(com.atlassian.user.User user,
ContentPermissionManager contentPermissionManager,
PageManager pageManager)
TreeBuilder needs a user Object to be able to test for page permissions.
|
Modifier and Type | Method and 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.
|
public TreeBuilder(com.atlassian.user.User user, ContentPermissionManager contentPermissionManager, PageManager pageManager)
public ContentTree createPageTree(Space space)
space
- to generate the tree of content from.ContentTree
public ContentTree createPageBlogTree(Space space)
space
- to generate the tree of content from.ContentTree
Copyright © 2003–2019 Atlassian. All rights reserved.