Package org.xwiki.observation.event
Class AbstractDocumentEvent
- java.lang.Object
-
- org.xwiki.observation.event.AbstractFilterableEvent
-
- org.xwiki.observation.event.AbstractDocumentEvent
-
- All Implemented Interfaces:
Serializable
,org.xwiki.observation.event.Event
,org.xwiki.observation.event.FilterableEvent
- Direct Known Subclasses:
DocumentDeleteEvent
,DocumentSaveEvent
,DocumentUpdateEvent
@Deprecated public abstract class AbstractDocumentEvent extends org.xwiki.observation.event.AbstractFilterableEvent
Deprecated.since 2.7RC1 useAbstractDocumentEvent
insteadBase class for all documentevents
.- Version:
- $Id: 4fcfcc5f2b56e4534b7da101fa8c6780506343f1 $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractDocumentEvent()
Deprecated.This event will match any other document event of the same type.AbstractDocumentEvent(String documentName)
Deprecated.useAbstractDocumentEvent(DocumentReference)
insteadAbstractDocumentEvent(DocumentReference documentReference)
Deprecated.This event will match only events of the same type affecting the same document.AbstractDocumentEvent(org.xwiki.observation.event.filter.EventFilter eventFilter)
Deprecated.Constructor using a customEventFilter
.
-
-
-
Constructor Detail
-
AbstractDocumentEvent
public AbstractDocumentEvent()
Deprecated.This event will match any other document event of the same type.
-
AbstractDocumentEvent
public AbstractDocumentEvent(DocumentReference documentReference)
Deprecated.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
@Deprecated public AbstractDocumentEvent(String documentName)
Deprecated.useAbstractDocumentEvent(DocumentReference)
insteadThis event will match only events of the same type affecting the same document.- Parameters:
documentName
- the name of the document related to this event
-
AbstractDocumentEvent
public AbstractDocumentEvent(org.xwiki.observation.event.filter.EventFilter eventFilter)
Deprecated.Constructor using a customEventFilter
.- Parameters:
eventFilter
- the filter to use for matching events
-
-