org.exoplatform.wiki.service.impl
Class JCRDataStorage
java.lang.Object
org.exoplatform.wiki.service.impl.JCRDataStorage
- All Implemented Interfaces:
- DataStorage
public class JCRDataStorage
- extends Object
- implements DataStorage
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JCRDataStorage
public JCRDataStorage()
setTemplatePagePlugin
public void setTemplatePagePlugin(WikiTemplatePagePlugin plugin)
search
public org.exoplatform.commons.utils.PageList<SearchResult> search(org.chromattic.api.ChromatticSession session,
WikiSearchData data)
throws Exception
- Specified by:
search in interface DataStorage
- Throws:
Exception
isDuplicateTitle
public boolean isDuplicateTitle(List<SearchResult> list,
SearchResult result)
getWikiPageByUUID
public Page getWikiPageByUUID(org.chromattic.api.ChromatticSession session,
String uuid)
throws Exception
- Description copied from interface:
DataStorage
- Get a wiki page by UUID
- Specified by:
getWikiPageByUUID in interface DataStorage
- Parameters:
session - The chromattics session to get wiki pageuuid - The node UUID of wiki page
- Returns:
- The wiki page
- Throws:
Exception
initDefaultTemplatePage
public void initDefaultTemplatePage(org.chromattic.api.ChromatticSession crmSession,
org.exoplatform.container.configuration.ConfigurationManager configurationManager,
String path)
searchRenamedPage
public List<SearchResult> searchRenamedPage(org.chromattic.api.ChromatticSession session,
WikiSearchData data)
throws Exception
- Specified by:
searchRenamedPage in interface DataStorage
- Throws:
Exception
getAttachmentAsStream
public InputStream getAttachmentAsStream(String path,
org.chromattic.api.ChromatticSession session)
throws Exception
- Specified by:
getAttachmentAsStream in interface DataStorage
- Throws:
Exception
searchTemplate
public List<TemplateSearchResult> searchTemplate(org.chromattic.api.ChromatticSession session,
TemplateSearchData data)
throws Exception
- Specified by:
searchTemplate in interface DataStorage
- Throws:
Exception
Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.