org.xwiki.bridge.event
Class AbstractDocumentEvent

java.lang.Object
  extended by org.xwiki.observation.event.AbstractFilterableEvent
      extended by org.xwiki.bridge.event.AbstractDocumentEvent
All Implemented Interfaces:
Serializable, org.xwiki.observation.event.Event, org.xwiki.observation.event.FilterableEvent
Direct Known Subclasses:
DocumentCreatedEvent, DocumentCreatingEvent, DocumentDeletedEvent, DocumentDeletingEvent, DocumentUpdatedEvent, DocumentUpdatingEvent

public abstract class AbstractDocumentEvent
extends org.xwiki.observation.event.AbstractFilterableEvent

Base class for all document related Event.

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

Constructor Summary
AbstractDocumentEvent()
          This event will match any other document event of the same type.
AbstractDocumentEvent(DocumentReference documentReference)
          This event will match only events of the same type affecting the same document.
AbstractDocumentEvent(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

AbstractDocumentEvent

public AbstractDocumentEvent()
This event will match any other document event of the same type.


AbstractDocumentEvent

public AbstractDocumentEvent(DocumentReference documentReference)
This event will match only events of the same type affecting the same document.

Parameters:
documentReference - the reference of the document relater to this event

AbstractDocumentEvent

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

Parameters:
eventFilter - the filter to use for matching events


Copyright © 2004-2013 XWiki. All Rights Reserved.