## Uses of Interface
org.apache.wiki.api.core.Attachment

Packages that use Attachment
org.apache.wiki.api.providers: Page Providers' API package of JSPWiki.
org.apache.wiki.api.spi: JSPWiki's SPI package.

### Uses of Attachment in org.apache.wiki.api.providers

Methods in org.apache.wiki.api.providers that return Attachment
`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
`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
`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
`Attachment` ContentsDSL.`attachment​(Engine engine, java.lang.String parentPage, java.lang.String fileName)` Creates a new `Attachment`.
`Attachment` ContentsSPI.`attachment​(Engine engine, java.lang.String parentPage, java.lang.String fileName)` Creates a new `Attachment`.