com.liferay.portlet.wiki.engines.jspwiki
Class LiferayAttachmentProvider
java.lang.Object
com.liferay.portlet.wiki.engines.jspwiki.LiferayAttachmentProvider
- All Implemented Interfaces:
- com.ecyrd.jspwiki.providers.WikiAttachmentProvider, com.ecyrd.jspwiki.WikiProvider
public class LiferayAttachmentProvider
- extends java.lang.Object
- implements com.ecyrd.jspwiki.providers.WikiAttachmentProvider
View Source
- Author:
- Jorge Ferrer
| Fields inherited from interface com.ecyrd.jspwiki.WikiProvider |
LATEST_VERSION |
|
Method Summary |
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LiferayAttachmentProvider
public LiferayAttachmentProvider()
deleteAttachment
public void deleteAttachment(com.ecyrd.jspwiki.attachment.Attachment attachment)
- Specified by:
deleteAttachment in interface com.ecyrd.jspwiki.providers.WikiAttachmentProvider
deleteVersion
public void deleteVersion(com.ecyrd.jspwiki.attachment.Attachment attachment)
- Specified by:
deleteVersion in interface com.ecyrd.jspwiki.providers.WikiAttachmentProvider
findAttachments
public java.util.Collection<com.ecyrd.jspwiki.attachment.Attachment> findAttachments(com.ecyrd.jspwiki.QueryItem[] query)
- Specified by:
findAttachments in interface com.ecyrd.jspwiki.providers.WikiAttachmentProvider
getAttachmentData
public java.io.InputStream getAttachmentData(com.ecyrd.jspwiki.attachment.Attachment attachment)
- Specified by:
getAttachmentData in interface com.ecyrd.jspwiki.providers.WikiAttachmentProvider
getAttachmentInfo
public com.ecyrd.jspwiki.attachment.Attachment getAttachmentInfo(com.ecyrd.jspwiki.WikiPage page,
java.lang.String name,
int version)
throws com.ecyrd.jspwiki.providers.ProviderException
- Specified by:
getAttachmentInfo in interface com.ecyrd.jspwiki.providers.WikiAttachmentProvider
- Throws:
com.ecyrd.jspwiki.providers.ProviderException
getProviderInfo
public java.lang.String getProviderInfo()
- Specified by:
getProviderInfo in interface com.ecyrd.jspwiki.WikiProvider
getVersionHistory
public java.util.List<com.ecyrd.jspwiki.attachment.Attachment> getVersionHistory(com.ecyrd.jspwiki.attachment.Attachment attachment)
- Specified by:
getVersionHistory in interface com.ecyrd.jspwiki.providers.WikiAttachmentProvider
initialize
public void initialize(com.ecyrd.jspwiki.WikiEngine engine,
java.util.Properties props)
- Specified by:
initialize in interface com.ecyrd.jspwiki.WikiProvider
listAllChanged
public java.util.List<com.ecyrd.jspwiki.attachment.Attachment> listAllChanged(java.util.Date timestamp)
- Specified by:
listAllChanged in interface com.ecyrd.jspwiki.providers.WikiAttachmentProvider
listAttachments
public java.util.Collection<com.ecyrd.jspwiki.attachment.Attachment> listAttachments(com.ecyrd.jspwiki.WikiPage page)
- Specified by:
listAttachments in interface com.ecyrd.jspwiki.providers.WikiAttachmentProvider
moveAttachmentsForPage
public void moveAttachmentsForPage(java.lang.String oldParent,
java.lang.String newParent)
- Specified by:
moveAttachmentsForPage in interface com.ecyrd.jspwiki.providers.WikiAttachmentProvider
putAttachmentData
public void putAttachmentData(com.ecyrd.jspwiki.attachment.Attachment attachment,
java.io.InputStream data)
- Specified by:
putAttachmentData in interface com.ecyrd.jspwiki.providers.WikiAttachmentProvider