Class AttachmentCreateEvent
- 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.GeneralAttachmentCreateEvent
-
- com.atlassian.confluence.event.events.content.attachment.AttachmentCreateEvent
-
- All Implemented Interfaces:
Contented
,Timestamped
,Created
,Serializable
public class AttachmentCreateEvent extends GeneralAttachmentCreateEvent
An event indicating that one or more visible attachments have been added to a piece of content.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description AttachmentCreateEvent(Object src, Attachment attachment)
AttachmentCreateEvent(Object src, Attachment attachment, boolean suppressNotifications)
AttachmentCreateEvent(Object src, List<Attachment> attachments)
Construct a new AttachmentCreateEvent.AttachmentCreateEvent(Object src, List<Attachment> attachments, boolean suppressNotifications)
-
Method Summary
-
Methods inherited from class com.atlassian.confluence.event.events.content.attachment.AttachmentEvent
equals, getAttachedTo, getAttachment, getAttachments, getContent, hashCode
-
Methods inherited from class com.atlassian.confluence.event.events.content.ContentEvent
isSuppressNotifications, setSuppressNotifications
-
Methods inherited from class java.util.EventObject
getSource, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.atlassian.confluence.event.events.Timestamped
getTimestamp
-
-
-
-
Constructor Detail
-
AttachmentCreateEvent
public AttachmentCreateEvent(Object src, List<Attachment> attachments)
Construct a new AttachmentCreateEvent. Note that all attachments in a single event must have been attached to the same piece of content!- Parameters:
src
- the event sourceattachments
- the attachments that have been created
-
AttachmentCreateEvent
public AttachmentCreateEvent(Object src, Attachment attachment)
-
AttachmentCreateEvent
public AttachmentCreateEvent(Object src, List<Attachment> attachments, boolean suppressNotifications)
-
AttachmentCreateEvent
public AttachmentCreateEvent(Object src, Attachment attachment, boolean suppressNotifications)
-
-