public class DocumentDeletingEvent extends AbstractDocumentEvent
| Constructor and Description |
|---|
DocumentDeletingEvent()
Constructor initializing the event filter with an
AlwaysMatchingEventFilter, meaning that this event will match any
other document delete event. |
DocumentDeletingEvent(DocumentReference documentReference)
Constructor initializing the event filter with a
FixedNameEventFilter,
meaning that this event will match only delete events affecting the same document. |
DocumentDeletingEvent(org.xwiki.observation.event.filter.EventFilter eventFilter)
Constructor using a custom
EventFilter. |
public DocumentDeletingEvent()
AlwaysMatchingEventFilter, meaning that this event will match any
other document delete event.public DocumentDeletingEvent(DocumentReference documentReference)
FixedNameEventFilter,
meaning that this event will match only delete events affecting the same document.documentReference - the reference of the document to matchpublic DocumentDeletingEvent(org.xwiki.observation.event.filter.EventFilter eventFilter)
EventFilter.eventFilter - the filter to use for matching eventsCopyright © 2004–2014 XWiki. All rights reserved.