com.atlassian.confluence.event.events.content.attachment
Class AttachmentCreateEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.springframework.context.ApplicationEvent
          extended bycom.atlassian.event.Event
              extended bycom.atlassian.confluence.event.events.ConfluenceEvent
                  extended bycom.atlassian.confluence.event.events.content.ContentEvent
                      extended bycom.atlassian.confluence.event.events.content.attachment.AttachmentEvent
                          extended bycom.atlassian.confluence.event.events.content.attachment.AttachmentCreateEvent
All Implemented Interfaces:
Created, Serializable

public class AttachmentCreateEvent
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
AttachmentCreateEvent(Object src, Attachment attachment)
           
AttachmentCreateEvent(Object src, List attachments)
          Construct a new AttachmentCreateEvent.
 
Methods inherited from class com.atlassian.confluence.event.events.content.attachment.AttachmentEvent
getAttachments, getContent
 
Methods inherited from class com.atlassian.confluence.event.events.ConfluenceEvent
equals, hashCode
 
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
 

Constructor Detail

AttachmentCreateEvent

public AttachmentCreateEvent(Object src,
                             List 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 source
attachments - the attachments that have been created

AttachmentCreateEvent

public AttachmentCreateEvent(Object src,
                             Attachment attachment)


Confluence is developed by Atlassian.