Liferay 6.0.5

com.liferay.portlet.wiki.engines.jspwiki
Class LiferayAttachmentProvider

java.lang.Object
  extended by com.liferay.portlet.wiki.engines.jspwiki.LiferayAttachmentProvider
All Implemented Interfaces:
com.ecyrd.jspwiki.providers.WikiAttachmentProvider, com.ecyrd.jspwiki.WikiProvider

public class LiferayAttachmentProvider
extends Object
implements com.ecyrd.jspwiki.providers.WikiAttachmentProvider


Field Summary
 
Fields inherited from interface com.ecyrd.jspwiki.WikiProvider
LATEST_VERSION
 
Constructor Summary
LiferayAttachmentProvider()
           
 
Method Summary
 void deleteAttachment(com.ecyrd.jspwiki.attachment.Attachment attachment)
           
 void deleteVersion(com.ecyrd.jspwiki.attachment.Attachment attachment)
           
 Collection<com.ecyrd.jspwiki.attachment.Attachment> findAttachments(com.ecyrd.jspwiki.QueryItem[] query)
           
 InputStream getAttachmentData(com.ecyrd.jspwiki.attachment.Attachment attachment)
           
 com.ecyrd.jspwiki.attachment.Attachment getAttachmentInfo(com.ecyrd.jspwiki.WikiPage page, String name, int version)
           
 String getProviderInfo()
           
 List<com.ecyrd.jspwiki.attachment.Attachment> getVersionHistory(com.ecyrd.jspwiki.attachment.Attachment attachment)
           
 void initialize(com.ecyrd.jspwiki.WikiEngine engine, Properties props)
           
 List<com.ecyrd.jspwiki.attachment.Attachment> listAllChanged(Date timestamp)
           
 Collection<com.ecyrd.jspwiki.attachment.Attachment> listAttachments(com.ecyrd.jspwiki.WikiPage page)
           
 void moveAttachmentsForPage(String oldParent, String newParent)
           
 void putAttachmentData(com.ecyrd.jspwiki.attachment.Attachment attachment, InputStream data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LiferayAttachmentProvider

public LiferayAttachmentProvider()
Method Detail

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 Collection<com.ecyrd.jspwiki.attachment.Attachment> findAttachments(com.ecyrd.jspwiki.QueryItem[] query)
Specified by:
findAttachments in interface com.ecyrd.jspwiki.providers.WikiAttachmentProvider

getAttachmentData

public 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,
                                                                 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 String getProviderInfo()
Specified by:
getProviderInfo in interface com.ecyrd.jspwiki.WikiProvider

getVersionHistory

public 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,
                       Properties props)
Specified by:
initialize in interface com.ecyrd.jspwiki.WikiProvider

listAllChanged

public List<com.ecyrd.jspwiki.attachment.Attachment> listAllChanged(Date timestamp)
Specified by:
listAllChanged in interface com.ecyrd.jspwiki.providers.WikiAttachmentProvider

listAttachments

public 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(String oldParent,
                                   String newParent)
Specified by:
moveAttachmentsForPage in interface com.ecyrd.jspwiki.providers.WikiAttachmentProvider

putAttachmentData

public void putAttachmentData(com.ecyrd.jspwiki.attachment.Attachment attachment,
                              InputStream data)
Specified by:
putAttachmentData in interface com.ecyrd.jspwiki.providers.WikiAttachmentProvider

Liferay 6.0.5