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