|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.observation.event.AbstractFilterableEvent
org.xwiki.bridge.event.AbstractDocumentEvent
org.xwiki.bridge.event.DocumentCreatedEvent
public class DocumentCreatedEvent
An event triggered after a document is created.
| Constructor Summary | |
|---|---|
DocumentCreatedEvent()
Constructor initializing the event filter with an AlwaysMatchingEventFilter, meaning that this event will match any
other document delete event. |
|
DocumentCreatedEvent(DocumentReference documentReference)
Constructor initializing the event filter with a FixedNameEventFilter,
meaning that this event will match only delete events affecting the same document. |
|
DocumentCreatedEvent(org.xwiki.observation.event.filter.EventFilter eventFilter)
Constructor using a custom EventFilter. |
|
| Method Summary |
|---|
| Methods inherited from class org.xwiki.observation.event.AbstractFilterableEvent |
|---|
equals, getEventFilter, hashCode, matches |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DocumentCreatedEvent()
AlwaysMatchingEventFilter, meaning that this event will match any
other document delete event.
public DocumentCreatedEvent(DocumentReference documentReference)
FixedNameEventFilter,
meaning that this event will match only delete events affecting the same document.
documentReference - the reference of the document to matchpublic DocumentCreatedEvent(org.xwiki.observation.event.filter.EventFilter eventFilter)
EventFilter.
eventFilter - the filter to use for matching events
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||