public class DocumentCreatingEvent extends AbstractDocumentEvent
The event also send the following parameters:
| Constructor and Description |
|---|
DocumentCreatingEvent()
Constructor initializing the event filter with an
AlwaysMatchingEventFilter, meaning that this event will match any
other document delete event. |
DocumentCreatingEvent(DocumentReference documentReference)
Constructor initializing the event filter with a
FixedNameEventFilter,
meaning that this event will match only delete events affecting the same document. |
DocumentCreatingEvent(org.xwiki.observation.event.filter.EventFilter eventFilter)
Constructor using a custom
EventFilter. |
cancel, cancel, getReason, isCanceledequals, getEventFilter, hashCode, matchespublic DocumentCreatingEvent()
AlwaysMatchingEventFilter, meaning that this event will match any
other document delete event.public DocumentCreatingEvent(DocumentReference documentReference)
FixedNameEventFilter,
meaning that this event will match only delete events affecting the same document.documentReference - the reference of the document to matchpublic DocumentCreatingEvent(org.xwiki.observation.event.filter.EventFilter eventFilter)
EventFilter.eventFilter - the filter to use for matching eventsCopyright © 2004–2016 XWiki. All rights reserved.