| java.lang.Object com.forthgo.jspwiki.jdbcprovider.JDBCBaseProvider com.forthgo.jspwiki.jdbcprovider.JDBCPageProvider
JDBCPageProvider | public class JDBCPageProvider extends JDBCBaseProvider implements WikiPageProvider(Code) | | Provides a database-based repository for Wiki pages.
MySQL commands to create the tables are provided in the code comments.
Based on Thierry Lach's DatabaseProvider, which supported Wiki pages
but not attachments.
author: Thierry Lach author: Xan Gregg |
ONE_MINUTE | final protected static int ONE_MINUTE(Code) | | |
log | final protected static Category log(Code) | | |
m_continuationEditTimeout | protected int m_continuationEditTimeout(Code) | | |
deletePage | public void deletePage(String pageName) throws ProviderException(Code) | | |
deleteVersion | public void deleteVersion(String pageName, int version) throws ProviderException(Code) | | |
getCheckAliveTableName | public String getCheckAliveTableName()(Code) | | |
getLog | public Category getLog()(Code) | | |
getPageCount | public int getPageCount()(Code) | | |
getPageInfo | public WikiPage getPageInfo(String page, int version) throws ProviderException(Code) | | Return the correct version of the page.
|
getPageText | public String getPageText(String page, int version) throws ProviderException(Code) | | |
getVersionHistory | public List getVersionHistory(String page) throws ProviderException(Code) | | Provide the list of versions.
|
|
|