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: d7af364513a4c10fdfe2c869eb393ee6f72d4e87 $
XWikiDocument.XWikiAttachmentToRemove
public XWikiDocument.XWikiAttachmentToRemove(XWikiAttachment attachment,
boolean toRecycleBin)
- Parameters:
attachment
- the attachment to deletetoRecycleBin
- true of the attachment should be moved to the recycle bin
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
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2004–2014 XWiki. All rights reserved.