Class DocumentSaveEvent

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

    @Deprecated
    public class DocumentSaveEvent
    extends AbstractDocumentEvent
    Deprecated.
    since 2.7RC1 use DocumentCreatedEvent instead
    An event triggered when a document is saved for the first time (a new document is created).
    Version:
    $Id: 5b34ef1d811f0f7afd5d5c28e6a8c87b060ec159 $
    See Also:
    Serialized Form
    • Constructor Summary

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

      • DocumentSaveEvent

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

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

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