com.liferay.portlet.wiki.engines.jspwiki
Class LiferayPageProvider
java.lang.Object
com.liferay.portlet.wiki.engines.jspwiki.LiferayPageProvider
- All Implemented Interfaces:
- com.ecyrd.jspwiki.providers.WikiPageProvider, com.ecyrd.jspwiki.WikiProvider
public class LiferayPageProvider
- extends Object
- implements com.ecyrd.jspwiki.providers.WikiPageProvider
Fields inherited from interface com.ecyrd.jspwiki.WikiProvider |
LATEST_VERSION |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LiferayPageProvider
public LiferayPageProvider()
toJSPWikiPage
public static com.ecyrd.jspwiki.WikiPage toJSPWikiPage(WikiPage page,
com.ecyrd.jspwiki.WikiEngine engine)
deletePage
public void deletePage(String name)
- Specified by:
deletePage
in interface com.ecyrd.jspwiki.providers.WikiPageProvider
deleteVersion
public void deleteVersion(String title,
int version)
- Specified by:
deleteVersion
in interface com.ecyrd.jspwiki.providers.WikiPageProvider
findPages
public Collection<com.ecyrd.jspwiki.WikiPage> findPages(com.ecyrd.jspwiki.QueryItem[] query)
- Specified by:
findPages
in interface com.ecyrd.jspwiki.providers.WikiPageProvider
getAllChangedSince
public Collection<com.ecyrd.jspwiki.WikiPage> getAllChangedSince(Date date)
- Specified by:
getAllChangedSince
in interface com.ecyrd.jspwiki.providers.WikiPageProvider
getAllPages
public Collection<com.ecyrd.jspwiki.WikiPage> getAllPages()
throws com.ecyrd.jspwiki.providers.ProviderException
- Specified by:
getAllPages
in interface com.ecyrd.jspwiki.providers.WikiPageProvider
- Throws:
com.ecyrd.jspwiki.providers.ProviderException
getPageCount
public int getPageCount()
throws com.ecyrd.jspwiki.providers.ProviderException
- Specified by:
getPageCount
in interface com.ecyrd.jspwiki.providers.WikiPageProvider
- Throws:
com.ecyrd.jspwiki.providers.ProviderException
getPageInfo
public com.ecyrd.jspwiki.WikiPage getPageInfo(String title,
int version)
throws com.ecyrd.jspwiki.providers.ProviderException
- Specified by:
getPageInfo
in interface com.ecyrd.jspwiki.providers.WikiPageProvider
- Throws:
com.ecyrd.jspwiki.providers.ProviderException
getPageText
public String getPageText(String title,
int version)
throws com.ecyrd.jspwiki.providers.ProviderException
- Specified by:
getPageText
in interface com.ecyrd.jspwiki.providers.WikiPageProvider
- Throws:
com.ecyrd.jspwiki.providers.ProviderException
getProviderInfo
public String getProviderInfo()
- Specified by:
getProviderInfo
in interface com.ecyrd.jspwiki.WikiProvider
getVersionHistory
public List<com.ecyrd.jspwiki.WikiPage> getVersionHistory(String title)
- Specified by:
getVersionHistory
in interface com.ecyrd.jspwiki.providers.WikiPageProvider
initialize
public void initialize(com.ecyrd.jspwiki.WikiEngine engine,
Properties props)
- Specified by:
initialize
in interface com.ecyrd.jspwiki.WikiProvider
movePage
public void movePage(String from,
String to)
- Specified by:
movePage
in interface com.ecyrd.jspwiki.providers.WikiPageProvider
pageExists
public boolean pageExists(String title)
- Specified by:
pageExists
in interface com.ecyrd.jspwiki.providers.WikiPageProvider
putPageText
public void putPageText(com.ecyrd.jspwiki.WikiPage page,
String text)
- Specified by:
putPageText
in interface com.ecyrd.jspwiki.providers.WikiPageProvider