public final class WikiService
extends fr.paris.lutece.portal.service.cache.AbstractCacheableService
Modifier and Type | Method and Description |
---|---|
String |
getName() |
String |
getWikiPage(String strPageName,
TopicVersion version,
String strLanguage)
Get the Wiki page in HTML format
|
String |
getWikiPage(String strPageName,
TopicVersion version,
String strPageUrl,
String strLanguage)
Get the Wiki page in HTML format
|
static WikiService |
instance()
Returns the unique instance
|
static String |
renderEditor(TopicVersion version,
String strLanguage)
Render the wiki content for the editor (convert special characters)
|
clone, dispose, enableCache, getCache, getCacheSize, getFromCache, getInfos, getKeys, getMaxElements, getMemorySize, getTimeToLive, initCache, initCache, isCacheEnable, notifyElementEvicted, notifyElementExpired, notifyElementPut, notifyElementRemoved, notifyElementUpdated, notifyRemoveAll, putInCache, removeKey, resetCache
public String getName()
public static WikiService instance()
public String getWikiPage(String strPageName, TopicVersion version, String strPageUrl, String strLanguage)
strPageName
- The page nameversion
- The content versionstrPageUrl
- The page URLstrLanguage
- The languagepublic String getWikiPage(String strPageName, TopicVersion version, String strLanguage)
strPageName
- The page nameversion
- The topic versionstrLanguage
- The languagepublic static String renderEditor(TopicVersion version, String strLanguage)
version
- The versionstrLanguage
- The LanguageCopyright © 2019 City of Paris. All rights reserved.