org.xwiki.bridge.event
Class DocumentDeletingEvent

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

public class DocumentDeletingEvent
extends AbstractDocumentEvent

An event triggered before a document is deleted.

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

Constructor Summary
DocumentDeletingEvent()
          Constructor initializing the event filter with an AlwaysMatchingEventFilter, meaning that this event will match any other document delete event.
DocumentDeletingEvent(DocumentReference documentReference)
          Constructor initializing the event filter with a FixedNameEventFilter, meaning that this event will match only delete events affecting the same document.
DocumentDeletingEvent(org.xwiki.observation.event.filter.EventFilter eventFilter)
          Constructor using a custom EventFilter.
 
Method Summary
 
Methods inherited from class org.xwiki.observation.event.AbstractFilterableEvent
getEventFilter, matches
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentDeletingEvent

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


DocumentDeletingEvent

public DocumentDeletingEvent(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

DocumentDeletingEvent

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

Parameters:
eventFilter - the filter to use for matching events


Copyright © 2004-2011 XWiki. All Rights Reserved.