Class DocumentUpdateEvent

  • All Implemented Interfaces:
    Serializable, org.xwiki.observation.event.Event, org.xwiki.observation.event.FilterableEvent

    @Deprecated
    public class DocumentUpdateEvent
    extends AbstractDocumentEvent
    Deprecated.
    since 2.7RC1 use DocumentUpdatedEvent instead
    An event triggered when an existing document is saved (updated).
    Version:
    $Id: b58fd9d3ebaf2d8c08e3c396fa19a6ddc1e173ee $
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      DocumentUpdateEvent()
      Deprecated.
      Constructor initializing the event filter with an AlwaysMatchingEventFilter, meaning that this event will match any other document update event.
      DocumentUpdateEvent​(String documentName)
      Deprecated.
      Constructor initializing the event filter with a FixedNameEventFilter, meaning that this event will match only update events affecting the document matching the passed document name.
      DocumentUpdateEvent​(org.xwiki.observation.event.filter.EventFilter eventFilter)
      Deprecated.
      Constructor using a custom EventFilter.
    • Constructor Detail

      • DocumentUpdateEvent

        public DocumentUpdateEvent()
        Deprecated.
        Constructor initializing the event filter with an AlwaysMatchingEventFilter, meaning that this event will match any other document update event.
      • DocumentUpdateEvent

        public DocumentUpdateEvent​(String documentName)
        Deprecated.
        Constructor initializing the event filter with a FixedNameEventFilter, meaning that this event will match only update events affecting the document matching the passed document name.
        Parameters:
        documentName - the name of the updated document to match
      • DocumentUpdateEvent

        public DocumentUpdateEvent​(org.xwiki.observation.event.filter.EventFilter eventFilter)
        Deprecated.
        Constructor using a custom EventFilter.
        Parameters:
        eventFilter - the filter to use for matching events