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