Class GeneralAttachmentCreateEvent
- 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
-
- All Implemented Interfaces:
Contented
,Timestamped
,Created
,Serializable
- Direct Known Subclasses:
AttachmentCreateEvent
,HiddenAttachmentCreateEvent
public class GeneralAttachmentCreateEvent extends AttachmentEvent implements Created
An event indicating that one or more 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 GeneralAttachmentCreateEvent(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 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
-
GeneralAttachmentCreateEvent
public GeneralAttachmentCreateEvent(Object src, List<Attachment> attachments)
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
public GeneralAttachmentCreateEvent(Object src, Attachment attachment)
-
GeneralAttachmentCreateEvent
public GeneralAttachmentCreateEvent(Object src, List<Attachment> attachments, boolean suppressNotifications)
-
GeneralAttachmentCreateEvent
public GeneralAttachmentCreateEvent(Object src, Attachment attachment, boolean suppressNotifications)
-
-