| java.lang.Object com.forthgo.jspwiki.jdbcprovider.JDBCBaseProvider com.forthgo.jspwiki.jdbcprovider.JDBCAttachmentProvider
JDBCAttachmentProvider | public class JDBCAttachmentProvider extends JDBCBaseProvider implements WikiAttachmentProvider(Code) | | Provides a database-based repository for Wiki attachments.
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 See Also: JDBCPageProvider |
Field Summary | |
final protected static Category | log |
log | final protected static Category log(Code) | | |
deleteAttachment | public void deleteAttachment(Attachment att) throws ProviderException(Code) | | |
deleteVersion | public void deleteVersion(Attachment att) throws ProviderException(Code) | | |
getAttachmentCount | public int getAttachmentCount()(Code) | | |
getAttachmentInfo | public Attachment getAttachmentInfo(WikiPage page, String name, int version) throws ProviderException(Code) | | |
getCheckAliveTableName | public String getCheckAliveTableName()(Code) | | |
getLog | public Category getLog()(Code) | | |
getVersionHistory | public List getVersionHistory(Attachment att)(Code) | | |
listAllChanged | public List listAllChanged(Date timestamp) throws ProviderException(Code) | | |
|
|