public class DocumentVersionRangeDeletedEvent extends AbstractDocumentEvent implements org.xwiki.observation.event.EndEvent
The event also send the following parameters:
Constructor and Description |
---|
DocumentVersionRangeDeletedEvent()
Matches all
DocumentVersionRangeDeletedEvent events. |
DocumentVersionRangeDeletedEvent(DocumentReference documentReference,
String from,
String to) |
DocumentVersionRangeDeletedEvent(org.xwiki.observation.event.filter.EventFilter eventFilter)
Constructor using a custom
EventFilter to match the document reference. |
Modifier and Type | Method and Description |
---|---|
String |
getFrom() |
String |
getTo() |
cancel, cancel, getReason, isCanceled
equals, getEventFilter, hashCode, matches
public DocumentVersionRangeDeletedEvent()
DocumentVersionRangeDeletedEvent
events.public DocumentVersionRangeDeletedEvent(DocumentReference documentReference, String from, String to)
documentReference
- the reference of the document to matchfrom
- the oldest version deletedto
- the most recent version deletedpublic DocumentVersionRangeDeletedEvent(org.xwiki.observation.event.filter.EventFilter eventFilter)
EventFilter
to match the document reference.eventFilter
- the filter to use for matching eventsCopyright © 2004–2022 XWiki. All rights reserved.