public interface CacheInvalidationPolicy
| Modifier and Type | Method and Description | 
|---|---|
void | 
invalidateCacheOnContentCommented(Page page,
                                 Content content)
Invalidate cache on a content commented 
 | 
void | 
invalidateCacheOnContentDeletion(Site site,
                                String contentId)
Invalidate cache on a content deleted 
 | 
void | 
invalidateCacheOnContentModification(Site site,
                                    Content content)
Invalidate cache on a content modfication 
 | 
void | 
invalidateCacheOnPageDeletion(Site site,
                             PagesContainer parent,
                             String pageId,
                             String pathInSitemap)
Invalidate cache on a page deletion 
 | 
void | 
invalidateCacheOnPageMinorChange(Page page)
Invalidate cache on a minor page change. 
 | 
void | 
invalidateCacheOnPageModification(Page page)
Invalidate cache when a page is modified. 
 | 
void | 
invalidateCacheOnPageMove(Page page,
                         PagesContainer oldParent,
                         String oldPathInSitemap)
Invalidate cache on a page move 
 | 
void invalidateCacheOnPageModification(Page page) throws Exception
page - the modified pageException - if an error occursvoid invalidateCacheOnPageMinorChange(Page page) throws Exception
page - the modified pageException - if an error occursvoid invalidateCacheOnPageDeletion(Site site, PagesContainer parent, String pageId, String pathInSitemap) throws Exception
site - the siteparent - the parent page or sitemappageId - the page idpathInSitemap - path of the page in sitemapException - if an error occursvoid invalidateCacheOnPageMove(Page page, PagesContainer oldParent, String oldPathInSitemap) throws Exception
page - the page movedoldParent - the old parentoldPathInSitemap - the old path in sitemapException - if an error occursvoid invalidateCacheOnContentCommented(Page page, Content content) throws Exception
page - the pagecontent - the commented contentException - if an error occursvoid invalidateCacheOnContentDeletion(Site site, String contentId) throws Exception
site - the sitecontentId - the content idException - if an error occursvoid invalidateCacheOnContentModification(Site site, Content content) throws Exception
site - the sitecontent - the contentException - if an error occurs