org.exoplatform.wiki.rendering.cache
Interface PageRenderingCacheService

All Known Implementing Classes:
PageRenderingCacheServiceImpl

public interface PageRenderingCacheService

Created by The eXo Platform SAS Author : Lai Trung Hieu hieult@exoplatform.com May 17, 2012


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

getRenderedContent

String getRenderedContent(WikiPageParams param,
                          String targetSyntax)
Get rendered content of a wiki page

Parameters:
param - the parameter to specify the wiki page
targetSyntax - the syntax to be display
Returns:
the rendered content

getRenderingCache

org.exoplatform.services.cache.ExoCache<MarkupKey,MarkupData> getRenderingCache()
Get the rendering cache

Returns:
the rendering cache

getPageLinksMap

Map<WikiPageParams,List<WikiPageParams>> getPageLinksMap()
Return the collection of connections of page. In details, a connections is built if in content of a page, there is a link to another page

Returns:
the map of connection

addPageLink

void addPageLink(WikiPageParams param,
                 WikiPageParams entity)
Record a link between two pages

Parameters:
param - identity parameter of a page to add
entity - identity parameter of page to be added

invalidateCache

void invalidateCache(WikiPageParams param)
Invalidate all cache entries link to a page in case this page is removed, changed or renamed...

Parameters:
param - specify identity of a page


Copyright © 2013 eXo Platform SAS. All Rights Reserved.