Class HiddenAttachmentRestoreEvent
- 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.GeneralAttachmentRestoreEvent
-
- com.atlassian.confluence.event.events.content.attachment.HiddenAttachmentRestoreEvent
-
- All Implemented Interfaces:
Contented
,Timestamped
,Restore
,UserDriven
,Serializable
public class HiddenAttachmentRestoreEvent extends GeneralAttachmentRestoreEvent
This is published when a hidden attachment is restored from the trash.- Since:
- 5.8
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description HiddenAttachmentRestoreEvent(Object source, Attachment attachment, @Nullable ConfluenceUser originatingUser)
Creates an attachment restore event
-
Method Summary
-
Methods inherited from class com.atlassian.confluence.event.events.content.attachment.GeneralAttachmentRestoreEvent
equals, getOriginatingUser, hashCode
-
Methods inherited from class com.atlassian.confluence.event.events.content.attachment.AttachmentEvent
getAttachedTo, getAttachment, getAttachments, getContent
-
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
-
HiddenAttachmentRestoreEvent
public HiddenAttachmentRestoreEvent(Object source, Attachment attachment, @Nullable ConfluenceUser originatingUser)
Creates an attachment restore event- Parameters:
source
- the object publishing the eventattachment
- the attachment that is being restoredoriginatingUser
- the user that trashed the attachment
-
-