Interface WikiDocumentFilter


  • public interface WikiDocumentFilter
    Document related events.
    Since:
    6.2M1
    Version:
    $Id: 66d8b279a66da3ff563fc77d0ad9cba2f9a34d4c $
    • Method Detail

      • beginWikiDocument

        void beginWikiDocument​(String name,
                               @Default("")
                               org.xwiki.filter.FilterEventParameters parameters)
                        throws org.xwiki.filter.FilterException
        Parameters:
        name - the name of the document
        parameters - the properties of the document
        Throws:
        org.xwiki.filter.FilterException - when failing to send event
      • endWikiDocument

        void endWikiDocument​(String name,
                             @Default("")
                             org.xwiki.filter.FilterEventParameters parameters)
                      throws org.xwiki.filter.FilterException
        Parameters:
        name - the name of the document
        parameters - the properties of the document
        Throws:
        org.xwiki.filter.FilterException - when failing to send event
      • beginWikiDocumentLocale

        void beginWikiDocumentLocale​(@Default("")
                                     Locale locale,
                                     @Default("")
                                     org.xwiki.filter.FilterEventParameters parameters)
                              throws org.xwiki.filter.FilterException
        Parameters:
        locale - the locale of the document
        parameters - the properties of the document locale
        Throws:
        org.xwiki.filter.FilterException - when failing to send event
      • endWikiDocumentLocale

        void endWikiDocumentLocale​(@Default("")
                                   Locale locale,
                                   @Default("")
                                   org.xwiki.filter.FilterEventParameters parameters)
                            throws org.xwiki.filter.FilterException
        Parameters:
        locale - the locale of the document
        parameters - the properties of the document
        Throws:
        org.xwiki.filter.FilterException - when failing to send event
      • beginWikiDocumentRevision

        void beginWikiDocumentRevision​(String revision,
                                       @Default("")
                                       org.xwiki.filter.FilterEventParameters parameters)
                                throws org.xwiki.filter.FilterException
        Parameters:
        revision - the revision of the document
        parameters - the properties of the document revision
        Throws:
        org.xwiki.filter.FilterException - when failing to send event
      • endWikiDocumentRevision

        void endWikiDocumentRevision​(String revision,
                                     @Default("")
                                     org.xwiki.filter.FilterEventParameters parameters)
                              throws org.xwiki.filter.FilterException
        Parameters:
        revision - the revision of the document
        parameters - the properties of the document revision
        Throws:
        org.xwiki.filter.FilterException - when failing to send event