Class DocumentDeleteEvent

    • Constructor Summary

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

      • DocumentDeleteEvent

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

        public DocumentDeleteEvent​(String documentName)
        Deprecated.
        Constructor initializing the event filter with a FixedNameEventFilter, meaning that this event will match only delete events affecting the same document.
        Parameters:
        documentName - the name of the deleted document to match
      • DocumentDeleteEvent

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