public class DocumentVersionRangeDeletingEvent extends AbstractDocumentEvent implements org.xwiki.observation.event.BeginEvent
The event also send the following parameters:
Constructor and Description |
---|
DocumentVersionRangeDeletingEvent()
Matches all
DocumentVersionRangeDeletingEvent events. |
DocumentVersionRangeDeletingEvent(DocumentReference documentReference,
String from,
String to) |
DocumentVersionRangeDeletingEvent(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 DocumentVersionRangeDeletingEvent()
DocumentVersionRangeDeletingEvent
events.public DocumentVersionRangeDeletingEvent(DocumentReference documentReference, String from, String to)
documentReference
- the reference of the document to matchfrom
- the oldest version deletedto
- the most recent version deletedpublic DocumentVersionRangeDeletingEvent(org.xwiki.observation.event.filter.EventFilter eventFilter)
EventFilter
to match the document reference.eventFilter
- the filter to use for matching eventsCopyright © 2004–2021 XWiki. All rights reserved.