Package com.xpn.xwiki.doc
Class XWikiDocument.XWikiAttachmentToRemove
- java.lang.Object
-
- com.xpn.xwiki.doc.XWikiDocument.XWikiAttachmentToRemove
-
- Enclosing class:
- XWikiDocument
public static class XWikiDocument.XWikiAttachmentToRemove extends Object
An attachment waiting to be deleted at next document save.- Since:
- 5.2M1
- Version:
- $Id: 0ff4dc62f1173e6fe97b100ea609c0edfdc5cfce $
-
-
Constructor Summary
Constructors Constructor Description XWikiAttachmentToRemove(XWikiAttachment attachment, boolean toRecycleBin)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
XWikiAttachment
getAttachment()
int
hashCode()
boolean
isToRecycleBin()
String
toString()
-
-
-
Constructor Detail
-
XWikiAttachmentToRemove
public XWikiAttachmentToRemove(XWikiAttachment attachment, boolean toRecycleBin)
- Parameters:
attachment
- the attachment to deletetoRecycleBin
- true of the attachment should be moved to the recycle bin
-
-
Method Detail
-
getAttachment
public XWikiAttachment getAttachment()
- Returns:
- the attachment to delete
-
isToRecycleBin
public boolean isToRecycleBin()
- Returns:
- true of the attachment should be moved to the recycle bin
-
-