public class LiferayAttachmentProvider
extends java.lang.Object
implements com.ecyrd.jspwiki.providers.WikiAttachmentProvider
| Constructor and Description |
|---|
LiferayAttachmentProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteAttachment(com.ecyrd.jspwiki.attachment.Attachment attachment) |
void |
deleteVersion(com.ecyrd.jspwiki.attachment.Attachment attachment) |
java.util.Collection<com.ecyrd.jspwiki.attachment.Attachment> |
findAttachments(com.ecyrd.jspwiki.QueryItem[] query) |
java.io.InputStream |
getAttachmentData(com.ecyrd.jspwiki.attachment.Attachment attachment) |
com.ecyrd.jspwiki.attachment.Attachment |
getAttachmentInfo(com.ecyrd.jspwiki.WikiPage page,
java.lang.String name,
int version) |
java.lang.String |
getProviderInfo() |
java.util.List<com.ecyrd.jspwiki.attachment.Attachment> |
getVersionHistory(com.ecyrd.jspwiki.attachment.Attachment attachment) |
void |
initialize(com.ecyrd.jspwiki.WikiEngine engine,
java.util.Properties props) |
java.util.List<com.ecyrd.jspwiki.attachment.Attachment> |
listAllChanged(java.util.Date timestamp) |
java.util.Collection<com.ecyrd.jspwiki.attachment.Attachment> |
listAttachments(com.ecyrd.jspwiki.WikiPage page) |
void |
moveAttachmentsForPage(java.lang.String oldParent,
java.lang.String newParent) |
void |
putAttachmentData(com.ecyrd.jspwiki.attachment.Attachment attachment,
java.io.InputStream data) |
public void deleteAttachment(com.ecyrd.jspwiki.attachment.Attachment attachment)
deleteAttachment in interface com.ecyrd.jspwiki.providers.WikiAttachmentProviderpublic void deleteVersion(com.ecyrd.jspwiki.attachment.Attachment attachment)
deleteVersion in interface com.ecyrd.jspwiki.providers.WikiAttachmentProviderpublic java.util.Collection<com.ecyrd.jspwiki.attachment.Attachment> findAttachments(com.ecyrd.jspwiki.QueryItem[] query)
findAttachments in interface com.ecyrd.jspwiki.providers.WikiAttachmentProviderpublic java.io.InputStream getAttachmentData(com.ecyrd.jspwiki.attachment.Attachment attachment)
getAttachmentData in interface com.ecyrd.jspwiki.providers.WikiAttachmentProviderpublic com.ecyrd.jspwiki.attachment.Attachment getAttachmentInfo(com.ecyrd.jspwiki.WikiPage page,
java.lang.String name,
int version)
throws com.ecyrd.jspwiki.providers.ProviderException
getAttachmentInfo in interface com.ecyrd.jspwiki.providers.WikiAttachmentProvidercom.ecyrd.jspwiki.providers.ProviderExceptionpublic java.lang.String getProviderInfo()
getProviderInfo in interface com.ecyrd.jspwiki.WikiProviderpublic java.util.List<com.ecyrd.jspwiki.attachment.Attachment> getVersionHistory(com.ecyrd.jspwiki.attachment.Attachment attachment)
getVersionHistory in interface com.ecyrd.jspwiki.providers.WikiAttachmentProviderpublic void initialize(com.ecyrd.jspwiki.WikiEngine engine,
java.util.Properties props)
initialize in interface com.ecyrd.jspwiki.WikiProviderpublic java.util.List<com.ecyrd.jspwiki.attachment.Attachment> listAllChanged(java.util.Date timestamp)
listAllChanged in interface com.ecyrd.jspwiki.providers.WikiAttachmentProviderpublic java.util.Collection<com.ecyrd.jspwiki.attachment.Attachment> listAttachments(com.ecyrd.jspwiki.WikiPage page)
listAttachments in interface com.ecyrd.jspwiki.providers.WikiAttachmentProviderpublic void moveAttachmentsForPage(java.lang.String oldParent,
java.lang.String newParent)
moveAttachmentsForPage in interface com.ecyrd.jspwiki.providers.WikiAttachmentProviderpublic void putAttachmentData(com.ecyrd.jspwiki.attachment.Attachment attachment,
java.io.InputStream data)
putAttachmentData in interface com.ecyrd.jspwiki.providers.WikiAttachmentProvider