Package | Description |
---|---|
com.xpn.xwiki.api |
Modifier and Type | Method and Description |
---|---|
Attachment |
Document.addAttachment(String fileName,
byte[] data) |
Attachment |
Document.addAttachment(String fileName,
InputStream iStream) |
protected Attachment |
Api.convert(XWikiAttachment xattach)
Convert an internal representation of an attachment to the public api Attachment.
|
Attachment |
DeletedAttachment.getAttachment()
Access to the real attachment object.
|
Attachment |
Document.getAttachment(String filename) |
Attachment |
Attachment.getAttachmentRevision(String rev)
Allow to easily access any revision of an attachment.
|
Attachment |
AttachmentDiff.getNewAttachment() |
Attachment |
AttachmentDiff.getOrigAttachment() |
Modifier and Type | Method and Description |
---|---|
protected List<Attachment> |
Api.convertAttachments(List<XWikiAttachment> xattaches)
Convert a list of attachments in their internal form to a list of public api Attachments.
|
List<Attachment> |
Document.getAttachmentList() |
List<Attachment> |
XWiki.searchAttachments(String parametrizedSqlClause,
int nb,
int start,
List<?> parameterValues)
Search attachments by passing HQL where clause values as parameters.
|
Copyright © 2004–2022 XWiki. All rights reserved.