com.atlassian.confluence.pages
Class TreeBuilder

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

public class TreeBuilder
extends Object


Constructor Summary
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
 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.
 List getSortedTopLevelPages(Space space)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

getSortedTopLevelPages

public List getSortedTopLevelPages(Space space)


Copyright © 2003–2015 Atlassian. All rights reserved.