DocumentDeletedEvent instead@Deprecated public class DocumentDeleteEvent extends AbstractDocumentEvent
| Constructor and Description |
|---|
DocumentDeleteEvent()
Deprecated.
Constructor initializing the event filter with an
AlwaysMatchingEventFilter, meaning that this event will match any
other document delete event. |
DocumentDeleteEvent(org.xwiki.observation.event.filter.EventFilter eventFilter)
Deprecated.
Constructor using a custom
EventFilter. |
DocumentDeleteEvent(String documentName)
Deprecated.
Constructor initializing the event filter with a
FixedNameEventFilter,
meaning that this event will match only delete events affecting the same document. |
public DocumentDeleteEvent()
AlwaysMatchingEventFilter, meaning that this event will match any
other document delete event.public DocumentDeleteEvent(String documentName)
FixedNameEventFilter,
meaning that this event will match only delete events affecting the same document.documentName - the name of the deleted document to matchpublic DocumentDeleteEvent(org.xwiki.observation.event.filter.EventFilter eventFilter)
EventFilter.eventFilter - the filter to use for matching eventsCopyright © 2004–2022 XWiki. All rights reserved.