Package | Description |
---|---|
com.xpn.xwiki | |
com.xpn.xwiki.api | |
com.xpn.xwiki.store | |
com.xpn.xwiki.store.hibernate |
Modifier and Type | Method and Description |
---|---|
DeletedAttachment |
XWiki.getDeletedAttachment(String id,
XWikiContext context)
Retrieve a specific attachment from the trash.
|
Modifier and Type | Method and Description |
---|---|
List<DeletedAttachment> |
XWiki.getDeletedAttachments(String docName,
String filename,
XWikiContext context)
Retrieve all the deleted attachments that belonged to a certain document and had the specified name.
|
List<DeletedAttachment> |
XWiki.getDeletedAttachments(String docName,
XWikiContext context)
Retrieve all the deleted attachments that belonged to a certain document.
|
Modifier and Type | Method and Description |
---|---|
DeletedAttachment |
DeletedAttachment.getDeletedAttachment()
Privileged access to the internal object wrapped by this API.
|
Constructor and Description |
---|
DeletedAttachment(DeletedAttachment deletedAttachment,
XWikiContext context)
Simple constructor, initializes a new API object with the current
context and
the specified protected deleted attachment object. |
Modifier and Type | Method and Description |
---|---|
DeletedAttachment |
AttachmentRecycleBinStore.getDeletedAttachment(long index,
XWikiContext context,
boolean bTransaction)
Returns a
handler for a deleted attachment. |
Modifier and Type | Method and Description |
---|---|
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).
|
List<DeletedAttachment> |
AttachmentRecycleBinStore.getAllDeletedAttachments(XWikiDocument doc,
XWikiContext context,
boolean bTransaction)
Get all the deleted attachments for a given document.
|
Modifier and Type | Method and Description |
---|---|
DeletedAttachment |
HibernateAttachmentRecycleBinStore.getDeletedAttachment(long index,
XWikiContext context,
boolean bTransaction) |
Modifier and Type | Method and Description |
---|---|
List<DeletedAttachment> |
HibernateAttachmentRecycleBinStore.getAllDeletedAttachments(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction) |
List<DeletedAttachment> |
HibernateAttachmentRecycleBinStore.getAllDeletedAttachments(XWikiDocument doc,
XWikiContext context,
boolean bTransaction) |
Copyright © 2004–2022 XWiki. All rights reserved.