public interface PageRenderingCacheService
| Modifier and Type | Method and Description |
|---|---|
void |
addPageLink(WikiPageParams param,
WikiPageParams entity)
Adds a link between two pages.
|
void |
addUnCachedMacro(UnCachedMacroPlugin plugin)
adds plugin containing uncached macro list
|
int |
getAttachmentCount(PageImpl page)
Get number of attachment of a wiki page
|
Page |
getPageByParams(WikiPageParams param)
Gets the wiki page object by params
|
Map<WikiPageParams,List<WikiPageParams>> |
getPageLinksMap()
Returns a collection of connections of a wiki page.
|
String |
getRenderedContent(WikiPageParams param,
String targetSyntax)
Gets the rendered content of a wiki page.
|
org.exoplatform.services.cache.ExoCache<Integer,MarkupData> |
getRenderingCache()
Gets the rendering cache.
|
Set<String> |
getUncachedMacroes()
gets the list of uncached macroes
|
void |
invalidateAttachmentCache(WikiPageParams param)
Invalidate cache storing attachment size of a wiki page
|
void |
invalidateCache(WikiPageParams param)
Invalidates all cache entries linking to a page in case this page is removed, changed or renamed.
|
void |
invalidateUUIDCache(WikiPageParams param)
Invalidates the cache entry containing given wiki page param
|
String getRenderedContent(WikiPageParams param, String targetSyntax)
param - The parameter which specifies the wiki page.targetSyntax - The syntax to be displayed.Page getPageByParams(WikiPageParams param)
param - the wiki page paramint getAttachmentCount(PageImpl page)
param - the parameter to specify the wiki pagetargetSyntax - the syntax to be displayorg.exoplatform.services.cache.ExoCache<Integer,MarkupData> getRenderingCache()
Map<WikiPageParams,List<WikiPageParams>> getPageLinksMap()
void addPageLink(WikiPageParams param, WikiPageParams entity)
param - The identity parameter of the wiki page to add.entity - The identity parameter of the wiki page to be added.void invalidateCache(WikiPageParams param)
param - The parameter which specifies the wiki page identity.void addUnCachedMacro(UnCachedMacroPlugin plugin)
plugin - the pluginSet<String> getUncachedMacroes()
void invalidateUUIDCache(WikiPageParams param)
param - void invalidateAttachmentCache(WikiPageParams param)
param - specify identity of a pageCopyright © 2003–2015 eXo Platform SAS. All rights reserved.