|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PageRenderingCacheService
Manages the Rendering Cache of wiki pages. The cache stores all HTML markups from the wiki page markups. Therefore, it saves much time in rendering markups, especially with a long content page. Generally, its workflow is as follows:
| Method Summary | |
|---|---|
void |
addPageLink(WikiPageParams param,
WikiPageParams entity)
Adds a link between two pages. |
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. |
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 |
| Method Detail |
|---|
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 param
int getAttachmentCount(PageImpl page)
param - the parameter to specify the wiki pagetargetSyntax - the syntax to be display
org.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 invalidateUUIDCache(WikiPageParams param)
param - void invalidateAttachmentCache(WikiPageParams param)
param - specify identity of a page
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||