Class AttachmentMovedEvent
- java.lang.Object
-
- org.xwiki.refactoring.internal.event.AbstractEvent
-
- org.xwiki.refactoring.internal.event.AbstractEntityCopyOrRenameEvent<org.xwiki.model.reference.AttachmentReference>
-
- org.xwiki.attachment.refactoring.event.AttachmentMovedEvent
-
- All Implemented Interfaces:
Serializable
,org.xwiki.observation.event.Event
@Unstable public class AttachmentMovedEvent extends org.xwiki.refactoring.internal.event.AbstractEntityCopyOrRenameEvent<org.xwiki.model.reference.AttachmentReference>
Event fired after an attachment is moved.The event also send the following parameters:
- source: the job which produced this event or null for a remote event
- data: the request of the job which produced this event
- Since:
- 14.2RC1
- Version:
- $Id: 1692d71ccae77c91aafa192e0f7b5077c276f3d6 $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AttachmentMovedEvent()
Default constructor, used by listeners.AttachmentMovedEvent(org.xwiki.model.reference.AttachmentReference sourceReference, org.xwiki.model.reference.AttachmentReference targetReference)
Creates a new instance with two attachment references.
-
-
-
Constructor Detail
-
AttachmentMovedEvent
public AttachmentMovedEvent()
Default constructor, used by listeners.
-
AttachmentMovedEvent
public AttachmentMovedEvent(org.xwiki.model.reference.AttachmentReference sourceReference, org.xwiki.model.reference.AttachmentReference targetReference)
Creates a new instance with two attachment references.- Parameters:
sourceReference
- the reference of the source attachmenttargetReference
- the reference of the target attachment
-
-