|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use XWikiAttachment | |
---|---|
com.xpn.xwiki | |
com.xpn.xwiki.api | |
com.xpn.xwiki.doc | |
com.xpn.xwiki.plugin | |
com.xpn.xwiki.plugin.image | |
com.xpn.xwiki.store | |
com.xpn.xwiki.store.hibernate | |
com.xpn.xwiki.web |
Uses of XWikiAttachment in com.xpn.xwiki |
---|
Methods in com.xpn.xwiki that return types with arguments of type XWikiAttachment | |
---|---|
List<XWikiAttachment> |
XWiki.searchAttachments(String parametrizedSqlClause,
boolean checkRight,
int nb,
int start,
List<?> parameterValues,
XWikiContext context)
Search attachments by passing HQL where clause values as parameters. |
Uses of XWikiAttachment in com.xpn.xwiki.api |
---|
Methods in com.xpn.xwiki.api that return XWikiAttachment | |
---|---|
XWikiAttachment |
Attachment.getAttachment()
|
Methods in com.xpn.xwiki.api with parameters of type XWikiAttachment | |
---|---|
protected Attachment |
Api.convert(XWikiAttachment xattach)
Convert an internal representation of an attachment to the public api Attachment. |
Method parameters in com.xpn.xwiki.api with type arguments of type XWikiAttachment | |
---|---|
protected List<Attachment> |
Api.convertAttachments(List<XWikiAttachment> xattaches)
Convert a list of attachments in their internal form to a list of public api Attachments. |
Constructors in com.xpn.xwiki.api with parameters of type XWikiAttachment | |
---|---|
Attachment(Document doc,
XWikiAttachment attachment,
XWikiContext context)
|
Uses of XWikiAttachment in com.xpn.xwiki.doc |
---|
Methods in com.xpn.xwiki.doc that return XWikiAttachment | |
---|---|
XWikiAttachment |
XWikiDocument.addAttachment(String fileName,
byte[] content,
XWikiContext context)
Deprecated. use XWikiDocument.addAttachment(String, InputStream, XWikiContext) instead |
XWikiAttachment |
XWikiDocument.addAttachment(String fileName,
InputStream content,
XWikiContext context)
|
XWikiAttachment |
XWikiAttachmentArchive.getAttachment()
|
XWikiAttachment |
XWikiDocument.XWikiAttachmentToRemove.getAttachment()
|
XWikiAttachment |
XWikiAttachmentContent.getAttachment()
|
XWikiAttachment |
XWikiDocument.getAttachment(String filename)
|
XWikiAttachment |
XWikiAttachment.getAttachmentRevision(String rev,
XWikiContext context)
|
XWikiAttachment |
AttachmentDiff.getNewAttachment()
|
XWikiAttachment |
AttachmentDiff.getOrigAttachment()
|
XWikiAttachment |
XWikiAttachmentArchive.getRevision(XWikiAttachment attachment,
String rev,
XWikiContext context)
Get an old revision of the attachment which this is an archive of. |
XWikiAttachment |
XWikiDocument.removeAttachment(XWikiAttachment attachment)
Remove the attachment from the document attachment list and put it in the list of attachments to remove for next document save. |
XWikiAttachment |
XWikiDocument.removeAttachment(XWikiAttachment attachmentToRemove,
boolean toRecycleBin)
Remove the attachment from the document attachment list and put it in the list of attachments to remove for next document save. |
XWikiAttachment |
DeletedAttachment.restoreAttachment(XWikiAttachment attachment,
XWikiContext context)
Restore a XWikiAttachment from a DeletedAttachment . |
Methods in com.xpn.xwiki.doc that return types with arguments of type XWikiAttachment | |
---|---|
List<XWikiAttachment> |
XWikiDocument.getAttachmentList()
|
Methods in com.xpn.xwiki.doc with parameters of type XWikiAttachment | |
---|---|
void |
XWikiDocument.addAttachment(XWikiAttachment attachment)
Add passed attachment to the document. |
boolean |
XWikiAttachment.apply(XWikiAttachment attachment)
Apply the provided attachment so that the current one contains the same informations and indicate if it was necessary to modify it in any way. |
void |
XWikiDocument.deleteAttachment(XWikiAttachment attachment,
boolean toRecycleBin,
XWikiContext context)
Deprecated. since 5.2M1 use XWikiDocument.removeAttachment(XWikiAttachment) instead |
void |
XWikiDocument.deleteAttachment(XWikiAttachment attachment,
XWikiContext context)
Deprecated. since 5.2M1 use XWikiDocument.removeAttachment(XWikiAttachment) instead |
boolean |
XWikiAttachment.equalsData(XWikiAttachment otherAttachment,
XWikiContext xcontext)
|
XWikiAttachment |
XWikiAttachmentArchive.getRevision(XWikiAttachment attachment,
String rev,
XWikiContext context)
Get an old revision of the attachment which this is an archive of. |
void |
XWikiDocument.loadAttachmentContent(XWikiAttachment attachment,
XWikiContext context)
|
void |
XWikiAttachment.merge(XWikiAttachment previousAttachment,
XWikiAttachment nextAttachment,
MergeConfiguration configuration,
XWikiContext xcontext,
MergeResult mergeResult)
|
XWikiAttachment |
XWikiDocument.removeAttachment(XWikiAttachment attachment)
Remove the attachment from the document attachment list and put it in the list of attachments to remove for next document save. |
XWikiAttachment |
XWikiDocument.removeAttachment(XWikiAttachment attachmentToRemove,
boolean toRecycleBin)
Remove the attachment from the document attachment list and put it in the list of attachments to remove for next document save. |
XWikiAttachment |
DeletedAttachment.restoreAttachment(XWikiAttachment attachment,
XWikiContext context)
Restore a XWikiAttachment from a DeletedAttachment . |
void |
XWikiDocument.saveAttachmentContent(XWikiAttachment attachment,
boolean updateParent,
boolean transaction,
XWikiContext context)
|
void |
XWikiDocument.saveAttachmentContent(XWikiAttachment attachment,
XWikiContext context)
|
void |
XWikiAttachmentArchive.setAttachment(XWikiAttachment attachment)
Set the attachment to associate with this archive. |
void |
XWikiAttachmentContent.setAttachment(XWikiAttachment attachment)
|
protected void |
DeletedAttachment.setAttachment(XWikiAttachment attachment,
XWikiContext context)
Export XWikiAttachment to DeletedAttachment . |
Method parameters in com.xpn.xwiki.doc with type arguments of type XWikiAttachment | |
---|---|
void |
XWikiDocument.saveAttachmentsContent(List<XWikiAttachment> attachments,
XWikiContext context)
|
void |
XWikiDocument.setAttachmentList(List<XWikiAttachment> list)
|
Constructors in com.xpn.xwiki.doc with parameters of type XWikiAttachment | |
---|---|
AttachmentDiff(String fileName,
org.xwiki.diff.Delta.Type type,
XWikiAttachment origAttachment,
XWikiAttachment newAttachment)
|
|
DeletedAttachment(XWikiAttachment attachment,
String deleter,
Date deleteDate,
XWikiContext context)
A constructor with all the information about the deleted attachment. |
|
XWikiAttachmentContent(XWikiAttachment attachment)
Constructor with associated attachment specified. |
|
XWikiAttachmentContent(XWikiAttachment attachment,
org.apache.commons.fileupload.FileItem f)
|
|
XWikiDocument.XWikiAttachmentToRemove(XWikiAttachment attachment,
boolean toRecycleBin)
|
Uses of XWikiAttachment in com.xpn.xwiki.plugin |
---|
Methods in com.xpn.xwiki.plugin that return XWikiAttachment | |
---|---|
XWikiAttachment |
XWikiDefaultPlugin.downloadAttachment(XWikiAttachment attachment,
XWikiContext context)
Deprecated. |
XWikiAttachment |
XWikiPluginManager.downloadAttachment(XWikiAttachment attachment,
XWikiContext context)
|
XWikiAttachment |
XWikiPluginInterface.downloadAttachment(XWikiAttachment attachment,
XWikiContext context)
Deprecated. Plugin extension point allowing the plugin to perform modifications to an attachment when the user opens a document attachment. |
Methods in com.xpn.xwiki.plugin with parameters of type XWikiAttachment | |
---|---|
XWikiAttachment |
XWikiDefaultPlugin.downloadAttachment(XWikiAttachment attachment,
XWikiContext context)
Deprecated. |
XWikiAttachment |
XWikiPluginManager.downloadAttachment(XWikiAttachment attachment,
XWikiContext context)
|
XWikiAttachment |
XWikiPluginInterface.downloadAttachment(XWikiAttachment attachment,
XWikiContext context)
Deprecated. Plugin extension point allowing the plugin to perform modifications to an attachment when the user opens a document attachment. |
Uses of XWikiAttachment in com.xpn.xwiki.plugin.image |
---|
Methods in com.xpn.xwiki.plugin.image that return XWikiAttachment | |
---|---|
XWikiAttachment |
ImagePlugin.downloadAttachment(XWikiAttachment attachment,
XWikiContext context)
Deprecated. Plugin extension point allowing the plugin to perform modifications to an attachment when the user opens a document attachment. |
Methods in com.xpn.xwiki.plugin.image with parameters of type XWikiAttachment | |
---|---|
XWikiAttachment |
ImagePlugin.downloadAttachment(XWikiAttachment attachment,
XWikiContext context)
Deprecated. Plugin extension point allowing the plugin to perform modifications to an attachment when the user opens a document attachment. |
int |
ImagePlugin.getHeight(XWikiAttachment attachment,
XWikiContext context)
Deprecated. |
int |
ImagePlugin.getWidth(XWikiAttachment attachment,
XWikiContext context)
Deprecated. |
Uses of XWikiAttachment in com.xpn.xwiki.store |
---|
Methods in com.xpn.xwiki.store that return XWikiAttachment | |
---|---|
XWikiAttachment |
VoidAttachmentVersioningStore.VoidAttachmentArchive.getRevision(XWikiAttachment attachment,
String rev,
XWikiContext context)
Get an old revision of the attachment which this is an archive of. |
XWikiAttachment |
AttachmentRecycleBinStore.restoreFromRecycleBin(XWikiAttachment attachment,
long index,
XWikiContext context,
boolean bTransaction)
Restore an attachment from the recycle bin (with full history). |
Methods in com.xpn.xwiki.store with parameters of type XWikiAttachment | |
---|---|
void |
AttachmentVersioningStore.deleteArchive(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction)
Permanently delete attachment archive. |
void |
VoidAttachmentVersioningStore.deleteArchive(XWikiAttachment attachment,
XWikiContext context,
boolean transaction)
|
void |
XWikiHibernateAttachmentStore.deleteXWikiAttachment(XWikiAttachment attachment,
boolean parentUpdate,
XWikiContext context,
boolean bTransaction)
|
void |
XWikiAttachmentStoreInterface.deleteXWikiAttachment(XWikiAttachment attachment,
boolean parentUpdate,
XWikiContext context,
boolean bTransaction)
|
void |
XWikiHibernateAttachmentStore.deleteXWikiAttachment(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction)
|
void |
XWikiAttachmentStoreInterface.deleteXWikiAttachment(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction)
|
List<DeletedAttachment> |
AttachmentRecycleBinStore.getAllDeletedAttachments(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction)
Get all the deleted attachments from the database matching an attachment template (document name and filename). |
XWikiAttachment |
VoidAttachmentVersioningStore.VoidAttachmentArchive.getRevision(XWikiAttachment attachment,
String rev,
XWikiContext context)
Get an old revision of the attachment which this is an archive of. |
XWikiAttachmentArchive |
AttachmentVersioningStore.loadArchive(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction)
Load attachment archive from store. |
XWikiAttachmentArchive |
VoidAttachmentVersioningStore.loadArchive(XWikiAttachment attachment,
XWikiContext context,
boolean transaction)
|
void |
XWikiHibernateAttachmentStore.loadAttachmentContent(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction)
|
void |
XWikiAttachmentStoreInterface.loadAttachmentContent(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction)
|
XWikiAttachment |
AttachmentRecycleBinStore.restoreFromRecycleBin(XWikiAttachment attachment,
long index,
XWikiContext context,
boolean bTransaction)
Restore an attachment from the recycle bin (with full history). |
void |
XWikiHibernateAttachmentStore.saveAttachmentContent(XWikiAttachment attachment,
boolean parentUpdate,
XWikiContext context,
boolean bTransaction)
|
void |
XWikiAttachmentStoreInterface.saveAttachmentContent(XWikiAttachment attachment,
boolean bParentUpdate,
XWikiContext context,
boolean bTransaction)
|
void |
XWikiHibernateAttachmentStore.saveAttachmentContent(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction)
|
void |
XWikiAttachmentStoreInterface.saveAttachmentContent(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction)
|
void |
AttachmentRecycleBinStore.saveToRecycleBin(XWikiAttachment attachment,
String deleter,
Date date,
XWikiContext context,
boolean bTransaction)
Save attachment to recycle bin, with full history. |
Method parameters in com.xpn.xwiki.store with type arguments of type XWikiAttachment | |
---|---|
void |
XWikiHibernateAttachmentStore.saveAttachmentsContent(List<XWikiAttachment> attachments,
XWikiDocument doc,
boolean bParentUpdate,
XWikiContext context,
boolean bTransaction)
|
void |
XWikiAttachmentStoreInterface.saveAttachmentsContent(List<XWikiAttachment> attachments,
XWikiDocument doc,
boolean bParentUpdate,
XWikiContext context,
boolean bTransaction)
|
Constructors in com.xpn.xwiki.store with parameters of type XWikiAttachment | |
---|---|
VoidAttachmentVersioningStore.VoidAttachmentArchive(XWikiAttachment attachment)
Helper constructor. |
Uses of XWikiAttachment in com.xpn.xwiki.store.hibernate |
---|
Methods in com.xpn.xwiki.store.hibernate that return XWikiAttachment | |
---|---|
XWikiAttachment |
HibernateAttachmentRecycleBinStore.restoreFromRecycleBin(XWikiAttachment attachment,
long index,
XWikiContext context,
boolean bTransaction)
|
Methods in com.xpn.xwiki.store.hibernate with parameters of type XWikiAttachment | |
---|---|
void |
HibernateAttachmentVersioningStore.deleteArchive(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction)
|
List<DeletedAttachment> |
HibernateAttachmentRecycleBinStore.getAllDeletedAttachments(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction)
|
XWikiAttachmentArchive |
HibernateAttachmentVersioningStore.loadArchive(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction)
|
XWikiAttachment |
HibernateAttachmentRecycleBinStore.restoreFromRecycleBin(XWikiAttachment attachment,
long index,
XWikiContext context,
boolean bTransaction)
|
void |
HibernateAttachmentRecycleBinStore.saveToRecycleBin(XWikiAttachment attachment,
String deleter,
Date date,
XWikiContext context,
boolean bTransaction)
|
Uses of XWikiAttachment in com.xpn.xwiki.web |
---|
Methods in com.xpn.xwiki.web that return XWikiAttachment | |
---|---|
XWikiAttachment |
XWikiServletURLFactory.findAttachmentForDocRevision(XWikiDocument doc,
String docRevision,
String filename,
XWikiContext context)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |