public interface

PageAncestorManager

com.atlassian.confluence.pages.ancestors.PageAncestorManager
Known Indirect Subclasses

Class Overview

Manages the storage of page ancestors, primarily to clean up the relationships after a bulk change.

This interface should really be a DAO, but the implementation ends up dealing with other managers, so it is staying in the manager layer for now.

Summary

Public Methods
void rebuildAll()
Rebuilds all the ancestors for all pages in the Confluence instance.
void rebuildSpace(Space space)
Rebuilds all the ancestors for pages within the given space.

Public Methods

public void rebuildAll ()

Rebuilds all the ancestors for all pages in the Confluence instance. This could take a while.

Throws
AncestorRebuildException if errors occurred during the ancestor rebuilding

public void rebuildSpace (Space space)

Rebuilds all the ancestors for pages within the given space. This could take a while.

Parameters
space the space in which ancestors will be rebuilt
Throws
AncestorRebuildException if errors occurred during the ancestor rebuilding