public class AnnotationDeletedEvent extends AbstractAnnotationEvent
The event also send the following parameters:
Constructor and Description |
---|
AnnotationDeletedEvent()
Constructor initializing the event filter with an
AlwaysMatchingEventFilter , meaning that this event will match any
other annotation delete event. |
AnnotationDeletedEvent(org.xwiki.observation.event.filter.EventFilter eventFilter)
Constructor using a custom
EventFilter . |
AnnotationDeletedEvent(String documentName,
String identifier)
Constructor initializing the event filter with a
FixedNameEventFilter ,
meaning that this event will match only annotation delete events affecting the document matching the passed
document name. |
getIdentifier
cancel, cancel, getReason, isCanceled
equals, getEventFilter, hashCode, matches
public AnnotationDeletedEvent()
AlwaysMatchingEventFilter
, meaning that this event will match any
other annotation delete event.public AnnotationDeletedEvent(String documentName, String identifier)
FixedNameEventFilter
,
meaning that this event will match only annotation delete events affecting the document matching the passed
document name.documentName
- the name of the document to matchidentifier
- the identifier of the deleted annotationpublic AnnotationDeletedEvent(org.xwiki.observation.event.filter.EventFilter eventFilter)
EventFilter
.eventFilter
- the filter to use for matching eventsCopyright © 2004–2022 XWiki. All rights reserved.