Class GeneralAttachmentCreateEvent
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
- All Implemented Interfaces:
Contented
,Timestamped
,Created
,Serializable
- Direct Known Subclasses:
AttachmentCreateEvent
,HiddenAttachmentCreateEvent
An event indicating that one or more attachments have been added to a piece of content.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionGeneralAttachmentCreateEvent
(Object src, Attachment attachment) GeneralAttachmentCreateEvent
(Object src, Attachment attachment, boolean suppressNotifications) GeneralAttachmentCreateEvent
(Object src, List<Attachment> attachments) Construct a new GeneralAttachmentCreateEvent.GeneralAttachmentCreateEvent
(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
-
GeneralAttachmentCreateEvent
Construct a new GeneralAttachmentCreateEvent. 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
-
GeneralAttachmentCreateEvent
-
GeneralAttachmentCreateEvent
public GeneralAttachmentCreateEvent(Object src, List<Attachment> attachments, boolean suppressNotifications) -
GeneralAttachmentCreateEvent
public GeneralAttachmentCreateEvent(Object src, Attachment attachment, boolean suppressNotifications)
-