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