Uses of Interface
org.apache.wiki.api.core.Attachment
-
Packages that use Attachment Package Description org.apache.wiki.api.providers Page Providers' API package of JSPWiki.org.apache.wiki.api.spi JSPWiki's SPI package.org.apache.wiki.attachment Attachment management, uploading and downloading.org.apache.wiki.providers Provides storage for JSPWiki.org.apache.wiki.search Provides the JSPWiki search functionality.org.apache.wiki.search.tika org.apache.wiki.spi -
-
Uses of Attachment in org.apache.wiki.api.providers
Methods in org.apache.wiki.api.providers that return Attachment Modifier and Type Method Description Attachment
AttachmentProvider. getAttachmentInfo(Page page, java.lang.String name, int version)
Returns info about an attachment.Methods in org.apache.wiki.api.providers that return types with arguments of type Attachment Modifier and Type Method Description java.util.Collection<Attachment>
AttachmentProvider. findAttachments(QueryItem[] query)
Finds attachments based on the query.java.util.List<Attachment>
AttachmentProvider. getVersionHistory(Attachment att)
Returns version history.java.util.List<Attachment>
AttachmentProvider. listAllChanged(java.util.Date timestamp)
Lists changed attachments since given date.java.util.List<Attachment>
AttachmentProvider. listAttachments(Page page)
Lists all attachments attached to a page.Methods in org.apache.wiki.api.providers with parameters of type Attachment Modifier and Type Method Description void
AttachmentProvider. deleteAttachment(Attachment att)
Removes an entire page from the repository.void
AttachmentProvider. deleteVersion(Attachment att)
Removes a specific version from the repository.java.io.InputStream
AttachmentProvider. getAttachmentData(Attachment att)
Get attachment data.java.util.List<Attachment>
AttachmentProvider. getVersionHistory(Attachment att)
Returns version history.void
AttachmentProvider. putAttachmentData(Attachment att, java.io.InputStream data)
Put new attachment data. -
Uses of Attachment in org.apache.wiki.api.spi
Methods in org.apache.wiki.api.spi that return Attachment Modifier and Type Method Description Attachment
ContentsDSL. attachment(Engine engine, java.lang.String parentPage, java.lang.String fileName)
Creates a newAttachment
.Attachment
ContentsSPI. attachment(Engine engine, java.lang.String parentPage, java.lang.String fileName)
Creates a newAttachment
. -
Uses of Attachment in org.apache.wiki.attachment
Classes in org.apache.wiki.attachment that implement Attachment Modifier and Type Class Description class
Attachment
Describes an attachment.class
DynamicAttachment
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 Attachment Modifier and Type Method Description default Attachment
AttachmentManager. getAttachmentInfo(java.lang.String name)
Gets info on a particular attachment, latest version.default Attachment
AttachmentManager. getAttachmentInfo(java.lang.String name, int version)
Gets info on a particular attachment with the given version.default Attachment
AttachmentManager. getAttachmentInfo(Context context, java.lang.String attachmentname)
Figures out the full attachment name from the context and attachment name.Attachment
AttachmentManager. getAttachmentInfo(Context context, java.lang.String attachmentname, int version)
Figures out the full attachment name from the context and attachment name.Attachment
DefaultAttachmentManager. getAttachmentInfo(Context context, java.lang.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 Attachment Modifier and Type Method Description java.util.Collection<Attachment>
AttachmentManager. getAllAttachments()
Returns a collection of Attachments, containing each and every attachment that is in this Wiki.java.util.Collection<Attachment>
DefaultAttachmentManager. getAllAttachments()
Returns a collection of Attachments, containing each and every attachment that is in this Wiki.java.util.List<Attachment>
AttachmentManager. getVersionHistory(java.lang.String attachmentName)
Returns a list of versions of the attachment.java.util.List<Attachment>
DefaultAttachmentManager. getVersionHistory(java.lang.String attachmentName)
Returns a list of versions of the attachment.java.util.List<Attachment>
AttachmentManager. listAttachments(Page wikipage)
Returns the list of attachments associated with a given wiki page.java.util.List<Attachment>
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 Attachment Modifier and Type Method Description void
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.java.io.InputStream
DynamicAttachmentProvider. getAttachmentData(Context context, Attachment att)
Returns a stream of data for this attachment.default java.io.InputStream
AttachmentManager. getAttachmentStream(Attachment att)
Finds a (real) attachment from the repository as anInputStream
.java.io.InputStream
AttachmentManager. getAttachmentStream(Context ctx, Attachment att)
Returns an attachment stream using the particular WikiContext.java.io.InputStream
DefaultAttachmentManager. getAttachmentStream(Context ctx, Attachment att)
Returns an attachment stream using the particular WikiContext.default void
AttachmentManager. storeAttachment(Attachment att, java.io.File source)
Stores an attachment that lives in the given file.void
AttachmentManager. storeAttachment(Attachment att, java.io.InputStream in)
Stores an attachment directly from a stream.void
DefaultAttachmentManager. storeAttachment(Attachment att, java.io.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 Attachment Modifier and Type Method Description Attachment
BasicAttachmentProvider. getAttachmentInfo(Page page, java.lang.String name, int version)
Returns info about an attachment.Attachment
CachingAttachmentProvider. getAttachmentInfo(Page page, java.lang.String name, int version)
Returns info about an attachment.Attachment
WikiAttachmentAdapterProvider. getAttachmentInfo(Page page, java.lang.String name, int version)
Deprecated.Returns info about an attachment.Methods in org.apache.wiki.providers that return types with arguments of type Attachment Modifier and Type Method Description java.util.Collection<Attachment>
BasicAttachmentProvider. findAttachments(QueryItem[] query)
Finds attachments based on the query.java.util.Collection<Attachment>
CachingAttachmentProvider. findAttachments(QueryItem[] query)
Finds attachments based on the query.java.util.Collection<Attachment>
WikiAttachmentAdapterProvider. findAttachments(QueryItem[] query)
Deprecated.Finds attachments based on the query.java.util.List<Attachment>
BasicAttachmentProvider. getVersionHistory(Attachment att)
Returns version history.java.util.List<Attachment>
CachingAttachmentProvider. getVersionHistory(Attachment att)
Returns version history.java.util.List<Attachment>
WikiAttachmentAdapterProvider. getVersionHistory(Attachment att)
Deprecated.Returns version history.java.util.List<Attachment>
BasicAttachmentProvider. listAllChanged(java.util.Date timestamp)
Lists changed attachments since given date.java.util.List<Attachment>
CachingAttachmentProvider. listAllChanged(java.util.Date timestamp)
Lists changed attachments since given date.java.util.List<Attachment>
WikiAttachmentAdapterProvider. listAllChanged(java.util.Date timestamp)
Deprecated.Lists changed attachments since given date.java.util.List<Attachment>
BasicAttachmentProvider. listAttachments(Page page)
Lists all attachments attached to a page.java.util.List<Attachment>
CachingAttachmentProvider. listAttachments(Page page)
Lists all attachments attached to a page.java.util.List<Attachment>
WikiAttachmentAdapterProvider. listAttachments(Page page)
Deprecated.Lists all attachments attached to a page.Methods in org.apache.wiki.providers with parameters of type Attachment Modifier and Type Method Description void
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.java.io.InputStream
BasicAttachmentProvider. getAttachmentData(Attachment att)
Get attachment data.java.io.InputStream
CachingAttachmentProvider. getAttachmentData(Attachment att)
Get attachment data.java.io.InputStream
WikiAttachmentAdapterProvider. getAttachmentData(Attachment att)
Deprecated.Get attachment data.java.util.List<Attachment>
BasicAttachmentProvider. getVersionHistory(Attachment att)
Returns version history.java.util.List<Attachment>
CachingAttachmentProvider. getVersionHistory(Attachment att)
Returns version history.java.util.List<Attachment>
WikiAttachmentAdapterProvider. getVersionHistory(Attachment att)
Deprecated.Returns version history.void
BasicAttachmentProvider. putAttachmentData(Attachment att, java.io.InputStream data)
Put new attachment data.void
CachingAttachmentProvider. putAttachmentData(Attachment att, java.io.InputStream data)
Put new attachment data.void
WikiAttachmentAdapterProvider. putAttachmentData(Attachment att, java.io.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 Attachment Modifier and Type Method Description protected java.lang.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 Attachment Modifier and Type Method Description protected java.lang.String
TikaSearchProvider. getAttachmentContent(Attachment att)
-
Uses of Attachment in org.apache.wiki.spi
Methods in org.apache.wiki.spi that return Attachment Modifier and Type Method Description Attachment
ContentsSPIDefaultImpl. attachment(Engine engine, java.lang.String parentPage, java.lang.String fileName)
Creates a newAttachment
.
-