org.xwiki.bridge.event
Class DocumentDeletedEvent

java.lang.Object
  extended by org.xwiki.observation.event.AbstractFilterableEvent
      extended by org.xwiki.bridge.event.AbstractDocumentEvent
          extended by org.xwiki.bridge.event.DocumentDeletedEvent
All Implemented Interfaces:
Serializable, org.xwiki.observation.event.Event, org.xwiki.observation.event.FilterableEvent

public class DocumentDeletedEvent
extends AbstractDocumentEvent

An event triggered after a document is deleted.

Since:
2.7RC1
Version:
$Id: 249df4e5a5eae4bcf01f056e27cb1ba1b5959a91 $
See Also:
Serialized Form

Constructor Summary
DocumentDeletedEvent()
          Constructor initializing the event filter with an AlwaysMatchingEventFilter, meaning that this event will match any other document delete event.
DocumentDeletedEvent(DocumentReference documentReference)
          Constructor initializing the event filter with a FixedNameEventFilter, meaning that this event will match only delete events affecting the same document.
DocumentDeletedEvent(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

DocumentDeletedEvent

public DocumentDeletedEvent()
Constructor initializing the event filter with an AlwaysMatchingEventFilter, meaning that this event will match any other document delete event.


DocumentDeletedEvent

public DocumentDeletedEvent(DocumentReference documentReference)
Constructor initializing the event filter with a FixedNameEventFilter, meaning that this event will match only delete events affecting the same document.

Parameters:
documentReference - the reference of the document to match

DocumentDeletedEvent

public DocumentDeletedEvent(org.xwiki.observation.event.filter.EventFilter eventFilter)
Constructor using a custom EventFilter.

Parameters:
eventFilter - the filter to use for matching events


Copyright © 2004–2014 XWiki. All rights reserved.