public class HibernatePageAncestorManager extends Object implements PageAncestorManager
| Constructor and Description |
|---|
HibernatePageAncestorManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
handleEvent(AncestorsUpdateEvent ancestorsUpdateEvent) |
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.
|
void |
setBatchOperationManager(BatchOperationManager batchOperationManager) |
void |
setCacheFactory(com.atlassian.cache.CacheFactory ignored)
Deprecated.
since 5.10. No longer used.
|
void |
setSessionFactory(org.hibernate.SessionFactory sessionFactory) |
public void rebuildAll()
throws AncestorRebuildException
PageAncestorManagerrebuildAll in interface PageAncestorManagerAncestorRebuildException - if errors occurred during the ancestor rebuildingpublic void rebuildSpace(Space space) throws AncestorRebuildException
PageAncestorManagerrebuildSpace in interface PageAncestorManagerspace - the space in which ancestors will be rebuiltAncestorRebuildException - if errors occurred during the ancestor rebuildingpublic void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
@Deprecated public void setCacheFactory(com.atlassian.cache.CacheFactory ignored)
public void setBatchOperationManager(BatchOperationManager batchOperationManager)
@EventListener public void handleEvent(AncestorsUpdateEvent ancestorsUpdateEvent)
Copyright © 2003–2022 Atlassian. All rights reserved.