Class AttachmentCreateEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
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
An event indicating that one or more visible attachments have been added to a piece of content.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionAttachmentCreateEvent
(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 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
Methods inherited from interface com.atlassian.confluence.event.events.Timestamped
getTimestamp
-
Constructor Details
-
AttachmentCreateEvent
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
-
AttachmentCreateEvent
public AttachmentCreateEvent(Object src, List<Attachment> attachments, boolean suppressNotifications) -
AttachmentCreateEvent
-