Package org.xwiki.refactoring.event
Class DocumentCopiedEvent
- java.lang.Object
-
- org.xwiki.refactoring.internal.event.AbstractEvent
-
- org.xwiki.refactoring.internal.event.AbstractEntityCopyOrRenameEvent<org.xwiki.model.reference.DocumentReference>
-
- org.xwiki.refactoring.event.DocumentCopiedEvent
-
- All Implemented Interfaces:
Serializable
,EndEvent
,EndFoldEvent
,Event
public class DocumentCopiedEvent extends org.xwiki.refactoring.internal.event.AbstractEntityCopyOrRenameEvent<org.xwiki.model.reference.DocumentReference> implements EndFoldEvent
Event fired after a document has been copied.The event also send the following parameters:
- source: the job which produced this event or null for a remote event
- data: the
CopyRequest
request of the job which produced this event
- Since:
- 11.1RC1
- Version:
- $Id: c843d6fbda1e52854c6dcce21865737bc1810c7b $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DocumentCopiedEvent()
Default constructor, used by listeners.DocumentCopiedEvent(org.xwiki.model.reference.DocumentReference sourceReference, org.xwiki.model.reference.DocumentReference targetReference)
Creates a new instance with the given data.
-
Method Summary
-
Methods inherited from class org.xwiki.refactoring.internal.event.AbstractEntityCopyOrRenameEvent
equals, getSourceReference, getTargetReference, hashCode, matches
-
Methods inherited from class org.xwiki.refactoring.internal.event.AbstractEvent
cancel, cancel, getReason, isCanceled
-
-
-
-
Constructor Detail
-
DocumentCopiedEvent
public DocumentCopiedEvent()
Default constructor, used by listeners.
-
DocumentCopiedEvent
public DocumentCopiedEvent(org.xwiki.model.reference.DocumentReference sourceReference, org.xwiki.model.reference.DocumentReference targetReference)
Creates a new instance with the given data.- Parameters:
sourceReference
- the reference of the source entitytargetReference
- the reference of the target entity
-
-