com.atlassian.confluence.event.events.content.attachment
Class AttachmentRemoveEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
com.atlassian.event.Event
com.atlassian.confluence.event.events.ConfluenceEvent
com.atlassian.confluence.event.events.content.ContentEvent
com.atlassian.confluence.event.events.content.attachment.AttachmentEvent
com.atlassian.confluence.event.events.content.attachment.AttachmentRemoveEvent
- All Implemented Interfaces:
- Contented, Timestamped, Removed, UserDriven, java.io.Serializable
public class AttachmentRemoveEvent
- extends AttachmentEvent
- implements Removed, UserDriven
Event sent *before* the removal of an attachment.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Methods inherited from class com.atlassian.event.Event |
hashCode |
Methods inherited from class org.springframework.context.ApplicationEvent |
getTimestamp |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
AttachmentRemoveEvent
public AttachmentRemoveEvent(java.lang.Object src,
Attachment attachment,
com.atlassian.user.User remover)
getOriginatingUser
public com.atlassian.user.User getOriginatingUser()
- Description copied from interface:
UserDriven
- Return the user that generated the event if known.
- Specified by:
getOriginatingUser
in interface UserDriven
- Returns:
- User that drove an event. Null indicates either that the
event was driven by the anonymous user or the system itself.
getAttachment
public Attachment getAttachment()
- Get the removed attachment.
Copyright © 2003-2014 Atlassian. All Rights Reserved.