Package org.xwiki.observation.event
Class DocumentDeleteEvent
- java.lang.Object
-
- org.xwiki.observation.event.AbstractFilterableEvent
-
- org.xwiki.observation.event.AbstractDocumentEvent
-
- org.xwiki.observation.event.DocumentDeleteEvent
-
- All Implemented Interfaces:
Serializable
,org.xwiki.observation.event.Event
,org.xwiki.observation.event.FilterableEvent
@Deprecated public class DocumentDeleteEvent extends AbstractDocumentEvent
Deprecated.since 2.7RC1 useDocumentDeletedEvent
insteadAn event triggered when a document is deleted.- Version:
- $Id: 713b14bf8f97f9fcd9aec5c4a3302e3f022232fd $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DocumentDeleteEvent()
Deprecated.Constructor initializing the event filter with anAlwaysMatchingEventFilter
, meaning that this event will match any other document delete event.DocumentDeleteEvent(String documentName)
Deprecated.Constructor initializing the event filter with aFixedNameEventFilter
, meaning that this event will match only delete events affecting the same document.DocumentDeleteEvent(org.xwiki.observation.event.filter.EventFilter eventFilter)
Deprecated.Constructor using a customEventFilter
.
-
-
-
Constructor Detail
-
DocumentDeleteEvent
public DocumentDeleteEvent()
Deprecated.Constructor initializing the event filter with anAlwaysMatchingEventFilter
, meaning that this event will match any other document delete event.
-
DocumentDeleteEvent
public DocumentDeleteEvent(String documentName)
Deprecated.Constructor initializing the event filter with aFixedNameEventFilter
, meaning that this event will match only delete events affecting the same document.- Parameters:
documentName
- the name of the deleted document to match
-
DocumentDeleteEvent
public DocumentDeleteEvent(org.xwiki.observation.event.filter.EventFilter eventFilter)
Deprecated.Constructor using a customEventFilter
.- Parameters:
eventFilter
- the filter to use for matching events
-
-