Uses of Interface
org.apache.wiki.api.core.Attachment
Packages that use Attachment
Package
Description
Page Providers' API package of JSPWiki.
JSPWiki's SPI package.
Attachment management, uploading and downloading.
Provides storage for JSPWiki.
Provides the JSPWiki search functionality.
-
Uses of Attachment in org.apache.wiki.api.providers
Methods in org.apache.wiki.api.providers that return AttachmentModifier and TypeMethodDescriptionAttachmentProvider.getAttachmentInfo
(Page page, String name, int version) Returns info about an attachment.Methods in org.apache.wiki.api.providers that return types with arguments of type AttachmentModifier and TypeMethodDescriptionAttachmentProvider.findAttachments
(QueryItem[] query) Finds attachments based on the query.AttachmentProvider.getVersionHistory
(Attachment att) Returns version history.AttachmentProvider.listAllChanged
(Date timestamp) Lists changed attachments since given date.AttachmentProvider.listAttachments
(Page page) Lists all attachments attached to a page.Methods in org.apache.wiki.api.providers with parameters of type AttachmentModifier and TypeMethodDescriptionvoid
AttachmentProvider.deleteAttachment
(Attachment att) Removes an entire page from the repository.void
AttachmentProvider.deleteVersion
(Attachment att) Removes a specific version from the repository.AttachmentProvider.getAttachmentData
(Attachment att) Get attachment data.AttachmentProvider.getVersionHistory
(Attachment att) Returns version history.void
AttachmentProvider.putAttachmentData
(Attachment att, InputStream data) Put new attachment data. -
Uses of Attachment in org.apache.wiki.api.spi
Methods in org.apache.wiki.api.spi that return AttachmentModifier and TypeMethodDescriptionContentsDSL.attachment
(Engine engine, String parentPage, String fileName) Creates a newAttachment
.ContentsSPI.attachment
(Engine engine, String parentPage, String fileName) Creates a newAttachment
. -
Uses of Attachment in org.apache.wiki.attachment
Classes in org.apache.wiki.attachment that implement AttachmentModifier and TypeClassDescriptionclass
Describes an attachment.class
A DynamicAttachment is an attachment which does not really exist, but is created dynamically by a JSPWiki component.Methods in org.apache.wiki.attachment that return AttachmentModifier and TypeMethodDescriptiondefault Attachment
AttachmentManager.getAttachmentInfo
(String name) Gets info on a particular attachment, latest version.default Attachment
AttachmentManager.getAttachmentInfo
(String name, int version) Gets info on a particular attachment with the given version.default Attachment
AttachmentManager.getAttachmentInfo
(Context context, String attachmentname) Figures out the full attachment name from the context and attachment name.AttachmentManager.getAttachmentInfo
(Context context, String attachmentname, int version) Figures out the full attachment name from the context and attachment name.DefaultAttachmentManager.getAttachmentInfo
(Context context, String attachmentname, int version) Figures out the full attachment name from the context and attachment name.Methods in org.apache.wiki.attachment that return types with arguments of type AttachmentModifier and TypeMethodDescriptionAttachmentManager.getAllAttachments()
Returns a collection of Attachments, containing each and every attachment that is in this Wiki.DefaultAttachmentManager.getAllAttachments()
Returns a collection of Attachments, containing each and every attachment that is in this Wiki.AttachmentManager.getVersionHistory
(String attachmentName) Returns a list of versions of the attachment.DefaultAttachmentManager.getVersionHistory
(String attachmentName) Returns a list of versions of the attachment.AttachmentManager.listAttachments
(Page wikipage) Returns the list of attachments associated with a given wiki page.DefaultAttachmentManager.listAttachments
(Page wikipage) Returns the list of attachments associated with a given wiki page.Methods in org.apache.wiki.attachment with parameters of type AttachmentModifier and TypeMethodDescriptionvoid
AttachmentManager.deleteAttachment
(Attachment att) Deletes all versions of the given attachment.void
DefaultAttachmentManager.deleteAttachment
(Attachment att) Deletes all versions of the given attachment.void
AttachmentManager.deleteVersion
(Attachment att) Deletes the given attachment version.void
DefaultAttachmentManager.deleteVersion
(Attachment att) Deletes the given attachment version.DynamicAttachmentProvider.getAttachmentData
(Context context, Attachment att) Returns a stream of data for this attachment.default InputStream
AttachmentManager.getAttachmentStream
(Attachment att) Finds a (real) attachment from the repository as anInputStream
.AttachmentManager.getAttachmentStream
(Context ctx, Attachment att) Returns an attachment stream using the particular WikiContext.DefaultAttachmentManager.getAttachmentStream
(Context ctx, Attachment att) Returns an attachment stream using the particular WikiContext.default void
AttachmentManager.storeAttachment
(Attachment att, File source) Stores an attachment that lives in the given file.void
AttachmentManager.storeAttachment
(Attachment att, InputStream in) Stores an attachment directly from a stream.void
DefaultAttachmentManager.storeAttachment
(Attachment att, InputStream in) Stores an attachment directly from a stream. -
Uses of Attachment in org.apache.wiki.providers
Methods in org.apache.wiki.providers that return AttachmentModifier and TypeMethodDescriptionBasicAttachmentProvider.getAttachmentInfo
(Page page, String name, int version) Returns info about an attachment.CachingAttachmentProvider.getAttachmentInfo
(Page page, String name, int version) Returns info about an attachment.WikiAttachmentAdapterProvider.getAttachmentInfo
(Page page, String name, int version) Deprecated.Returns info about an attachment.Methods in org.apache.wiki.providers that return types with arguments of type AttachmentModifier and TypeMethodDescriptionBasicAttachmentProvider.findAttachments
(QueryItem[] query) Finds attachments based on the query.CachingAttachmentProvider.findAttachments
(QueryItem[] query) Finds attachments based on the query.WikiAttachmentAdapterProvider.findAttachments
(QueryItem[] query) Deprecated.Finds attachments based on the query.BasicAttachmentProvider.getVersionHistory
(Attachment att) Returns version history.CachingAttachmentProvider.getVersionHistory
(Attachment att) Returns version history.WikiAttachmentAdapterProvider.getVersionHistory
(Attachment att) Deprecated.Returns version history.BasicAttachmentProvider.listAllChanged
(Date timestamp) Lists changed attachments since given date.CachingAttachmentProvider.listAllChanged
(Date timestamp) Lists changed attachments since given date.WikiAttachmentAdapterProvider.listAllChanged
(Date timestamp) Deprecated.Lists changed attachments since given date.BasicAttachmentProvider.listAttachments
(Page page) Lists all attachments attached to a page.CachingAttachmentProvider.listAttachments
(Page page) Lists all attachments attached to a page.WikiAttachmentAdapterProvider.listAttachments
(Page page) Deprecated.Lists all attachments attached to a page.Methods in org.apache.wiki.providers with parameters of type AttachmentModifier and TypeMethodDescriptionvoid
BasicAttachmentProvider.deleteAttachment
(Attachment att) Removes an entire page from the repository.void
CachingAttachmentProvider.deleteAttachment
(Attachment att) Removes an entire page from the repository.void
WikiAttachmentAdapterProvider.deleteAttachment
(Attachment att) Deprecated.Removes an entire page from the repository.void
BasicAttachmentProvider.deleteVersion
(Attachment att) Removes a specific version from the repository.void
CachingAttachmentProvider.deleteVersion
(Attachment att) Removes a specific version from the repository.void
WikiAttachmentAdapterProvider.deleteVersion
(Attachment att) Deprecated.Removes a specific version from the repository.BasicAttachmentProvider.getAttachmentData
(Attachment att) Get attachment data.CachingAttachmentProvider.getAttachmentData
(Attachment att) Get attachment data.WikiAttachmentAdapterProvider.getAttachmentData
(Attachment att) Deprecated.Get attachment data.BasicAttachmentProvider.getVersionHistory
(Attachment att) Returns version history.CachingAttachmentProvider.getVersionHistory
(Attachment att) Returns version history.WikiAttachmentAdapterProvider.getVersionHistory
(Attachment att) Deprecated.Returns version history.void
BasicAttachmentProvider.putAttachmentData
(Attachment att, InputStream data) Put new attachment data.void
CachingAttachmentProvider.putAttachmentData
(Attachment att, InputStream data) Put new attachment data.void
WikiAttachmentAdapterProvider.putAttachmentData
(Attachment att, InputStream data) Deprecated.Put new attachment data. -
Uses of Attachment in org.apache.wiki.search
Methods in org.apache.wiki.search with parameters of type AttachmentModifier and TypeMethodDescriptionprotected String
LuceneSearchProvider.getAttachmentContent
(Attachment att) -
Uses of Attachment in org.apache.wiki.search.tika
Methods in org.apache.wiki.search.tika with parameters of type AttachmentModifier and TypeMethodDescriptionprotected String
TikaSearchProvider.getAttachmentContent
(Attachment att) -
Uses of Attachment in org.apache.wiki.spi
Methods in org.apache.wiki.spi that return AttachmentModifier and TypeMethodDescriptionContentsSPIDefaultImpl.attachment
(Engine engine, String parentPage, String fileName) Creates a newAttachment
.