org.xwiki.bridge.event
Class DocumentUpdatingEvent

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

public class DocumentUpdatingEvent
extends AbstractDocumentEvent

An event triggered before a document is updated.

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

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

DocumentUpdatingEvent

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


DocumentUpdatingEvent

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

DocumentUpdatingEvent

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

Parameters:
eventFilter - the filter to use for matching events


Copyright © 2004-2012 XWiki. All Rights Reserved.