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