public class DocumentRestoringEvent extends AbstractDocumentRestoreEvent
The event also send the following parameters:
deleteId
Constructor and Description |
---|
DocumentRestoringEvent()
Constructor initializing the event filter with an
AlwaysMatchingEventFilter , meaning that this event will match any
other document delete event. |
DocumentRestoringEvent(DocumentReference documentReference)
Constructor initializing the event filter with a
FixedNameEventFilter ,
meaning that this event will match only delete events affecting the same document. |
DocumentRestoringEvent(DocumentReference documentReference,
long deleteId) |
DocumentRestoringEvent(org.xwiki.observation.event.filter.EventFilter eventFilter)
Constructor using a custom
EventFilter . |
getDeleteId, matches
cancel, cancel, getReason, isCanceled
public DocumentRestoringEvent()
AlwaysMatchingEventFilter
, meaning that this event will match any
other document delete event.public DocumentRestoringEvent(DocumentReference documentReference)
FixedNameEventFilter
,
meaning that this event will match only delete events affecting the same document.documentReference
- the reference of the document to matchpublic DocumentRestoringEvent(org.xwiki.observation.event.filter.EventFilter eventFilter)
EventFilter
.eventFilter
- the filter to use for matching eventspublic DocumentRestoringEvent(DocumentReference documentReference, long deleteId)
documentReference
- the reference of the document to matchdeleteId
- the unique identifier of the deleted documentCopyright © 2004–2022 XWiki. All rights reserved.