Interface PageAncestorManager

  • All Known Implementing Classes:
    HibernatePageAncestorManager

    public interface PageAncestorManager
    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.
    • Method Detail

      • rebuildAll

        void rebuildAll()
                 throws AncestorRebuildException
        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
      • rebuildSpace

        void rebuildSpace​(Space space)
                   throws AncestorRebuildException
        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