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:
- Removed, UserDriven, Serializable
public class AttachmentRemoveEvent
- extends AttachmentEvent
- implements Removed, UserDriven
Event sent *before* the removal of an attachment.
- See Also:
- Serialized Form
Methods inherited from class com.atlassian.event.Event |
equals, hashCode |
Methods inherited from class org.springframework.context.ApplicationEvent |
getTimestamp |
AttachmentRemoveEvent
public AttachmentRemoveEvent(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-2011 Atlassian. All Rights Reserved.