Uses of Class
com.xpn.xwiki.api.Attachment
-
Packages that use Attachment Package Description com.xpn.xwiki.api -
-
Uses of Attachment in com.xpn.xwiki.api
Methods in com.xpn.xwiki.api that return Attachment Modifier and Type Method 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()
Methods in com.xpn.xwiki.api that return types with arguments of type Attachment Modifier and Type Method 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.
-