com.atlassian.confluence.event.events.content.attachment
Class AttachmentVersionRemoveEvent
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.AttachmentVersionRemoveEvent
- All Implemented Interfaces:
- Contented, Timestamped, Removed, UserDriven, Serializable
public class AttachmentVersionRemoveEvent
- extends AttachmentEvent
- implements Removed, UserDriven
Event sent *before* the removal of an attachment version.
- See Also:
- Serialized Form
Methods inherited from class com.atlassian.event.Event |
equals, hashCode |
Methods inherited from class org.springframework.context.ApplicationEvent |
getTimestamp |
AttachmentVersionRemoveEvent
public AttachmentVersionRemoveEvent(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 version.
Copyright © 2003-2012 Atlassian. All Rights Reserved.