|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PageRenderingCacheService
This service Manage the Rendering Cache of wiki pages. The cache storage store all html markup from page wiki markup. Therefore, it saves much time in rendering markup, especially with long content page. Generally, its workflow as: Open a page, does this page's html markup exist in the cache ? - Yes = reuse this one. - No = Render the page and add to the cache. Editing a page = invalidating the cache page.
| Method Summary | |
|---|---|
void |
addPageLink(WikiPageParams param,
WikiPageParams entity)
Record a link between two pages |
Map<WikiPageParams,List<WikiPageParams>> |
getPageLinksMap()
Return the collection of connections of page. |
String |
getRenderedContent(WikiPageParams param,
String targetSyntax)
Get rendered content of a wiki page |
org.exoplatform.services.cache.ExoCache<MarkupKey,MarkupData> |
getRenderingCache()
Get the rendering cache |
void |
invalidateCache(WikiPageParams param)
Invalidate all cache entries link to a page in case this page is removed, changed or renamed... |
| Method Detail |
|---|
String getRenderedContent(WikiPageParams param,
String targetSyntax)
param - the parameter to specify the wiki pagetargetSyntax - the syntax to be display
org.exoplatform.services.cache.ExoCache<MarkupKey,MarkupData> getRenderingCache()
Map<WikiPageParams,List<WikiPageParams>> getPageLinksMap()
void addPageLink(WikiPageParams param,
WikiPageParams entity)
param - identity parameter of a page to addentity - identity parameter of page to be addedvoid invalidateCache(WikiPageParams param)
param - specify identity of a page
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||