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

java.lang.Object
  extended by java.util.EventObject
      extended by org.springframework.context.ApplicationEvent
          extended by com.atlassian.event.Event
              extended by com.atlassian.confluence.event.events.ConfluenceEvent
                  extended by com.atlassian.confluence.event.events.content.ContentEvent
                      extended by com.atlassian.confluence.event.events.content.attachment.AttachmentEvent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AttachmentCreateEvent, AttachmentRemoveEvent, AttachmentUpdateEvent, AttachmentViewEvent

public abstract class AttachmentEvent
extends ContentEvent

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
protected AttachmentEvent(java.lang.Object src, Attachment attachment, ContentEntityObject attachedTo)
           
protected AttachmentEvent(java.lang.Object src, java.util.List attachments, ContentEntityObject attachedTo)
           
 
Method Summary
 java.util.List getAttachments()
           
 ContentEntityObject getContent()
           
 
Methods inherited from class com.atlassian.event.Event
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

AttachmentEvent

protected AttachmentEvent(java.lang.Object src,
                          java.util.List attachments,
                          ContentEntityObject attachedTo)

AttachmentEvent

protected AttachmentEvent(java.lang.Object src,
                          Attachment attachment,
                          ContentEntityObject attachedTo)
Method Detail

getContent

public ContentEntityObject getContent()
Specified by:
getContent in class ContentEvent

getAttachments

public java.util.List getAttachments()


Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.