public abstract class AbstractDocumentRestoreEvent extends AbstractDocumentEvent
Modifier | Constructor and Description |
---|---|
protected |
AbstractDocumentRestoreEvent() |
protected |
AbstractDocumentRestoreEvent(DocumentReference documentReference) |
protected |
AbstractDocumentRestoreEvent(DocumentReference documentReference,
long deleteId) |
protected |
AbstractDocumentRestoreEvent(org.xwiki.observation.event.filter.EventFilter eventFilter)
Constructor using a custom
EventFilter . |
Modifier and Type | Method and Description |
---|---|
Long |
getDeleteId() |
boolean |
matches(Object otherEvent) |
cancel, cancel, getReason, isCanceled
protected final Long deleteId
protected AbstractDocumentRestoreEvent()
protected AbstractDocumentRestoreEvent(DocumentReference documentReference)
protected AbstractDocumentRestoreEvent(DocumentReference documentReference, long deleteId)
protected AbstractDocumentRestoreEvent(org.xwiki.observation.event.filter.EventFilter eventFilter)
EventFilter
.eventFilter
- the filter to use for matching eventspublic Long getDeleteId()
public boolean matches(Object otherEvent)
matches
in interface org.xwiki.observation.event.Event
matches
in class org.xwiki.observation.event.AbstractFilterableEvent
Copyright © 2004–2022 XWiki. All rights reserved.