com.atlassian.confluence.event.events.content.attachment
Class AttachmentEvent
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
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- AttachmentCreateEvent, AttachmentRemoveEvent, AttachmentUpdateEvent, AttachmentViewEvent
public abstract class AttachmentEvent
- extends ContentEvent
- See Also:
- Serialized Form
Methods inherited from class org.springframework.context.ApplicationEvent |
getTimestamp |
AttachmentEvent
protected AttachmentEvent(Object src,
List<Attachment> attachments)
- Constructs a multi-attachment event. All attachments in the list are attached to the same entity.
AttachmentEvent
protected AttachmentEvent(Object src,
Attachment attachment)
getContent
public ContentEntityObject getContent()
- Specified by:
getContent
in class ContentEvent
getAttachments
public List<Attachment> getAttachments()