org.xwiki.wikistream.model.filter
Interface WikiDocumentFilter


@Unstable
public interface WikiDocumentFilter

Document related events.

Since:
5.2M2
Version:
$Id: 18b216bed94da6b808697e377ecfa1f9237aa6f8 $

Field Summary
static String PARAMETER_CONTENT
           
static String PARAMETER_CONTENT_AUTHOR
           
static String PARAMETER_CONTENT_DATE
           
static String PARAMETER_CONTENT_HTML
           
static String PARAMETER_CREATION_AUTHOR
           
static String PARAMETER_CREATION_DATE
           
static String PARAMETER_CUSTOMCLASS
           
static String PARAMETER_DEFAULTTEMPLATE
           
static String PARAMETER_HIDDEN
           
static String PARAMETER_LASTREVISION
           
static String PARAMETER_LOCALE
           
static String PARAMETER_PARENT
           
static String PARAMETER_REVISION_AUTHOR
           
static String PARAMETER_REVISION_COMMENT
           
static String PARAMETER_REVISION_DATE
           
static String PARAMETER_REVISION_MINOR
           
static String PARAMETER_SYNTAX
           
static String PARAMETER_TITLE
           
static String PARAMETER_VALIDATIONSCRIPT
           
 
Method Summary
 void beginWikiDocument(String name, org.xwiki.filter.FilterEventParameters parameters)
           
 void beginWikiDocumentLocale(Locale locale, org.xwiki.filter.FilterEventParameters parameters)
           
 void beginWikiDocumentRevision(String revision, org.xwiki.filter.FilterEventParameters parameters)
           
 void endWikiDocument(String name, org.xwiki.filter.FilterEventParameters parameters)
           
 void endWikiDocumentLocale(Locale locale, org.xwiki.filter.FilterEventParameters parameters)
           
 void endWikiDocumentRevision(String revision, org.xwiki.filter.FilterEventParameters parameters)
           
 

Field Detail

PARAMETER_SYNTAX

static final String PARAMETER_SYNTAX
See Also:
Constant Field Values

PARAMETER_PARENT

static final String PARAMETER_PARENT
See Also:
Constant Field Values

PARAMETER_TITLE

static final String PARAMETER_TITLE
See Also:
Constant Field Values

PARAMETER_HIDDEN

static final String PARAMETER_HIDDEN
See Also:
Constant Field Values

PARAMETER_CUSTOMCLASS

static final String PARAMETER_CUSTOMCLASS
See Also:
Constant Field Values

PARAMETER_DEFAULTTEMPLATE

static final String PARAMETER_DEFAULTTEMPLATE
See Also:
Constant Field Values

PARAMETER_VALIDATIONSCRIPT

static final String PARAMETER_VALIDATIONSCRIPT
See Also:
Constant Field Values

PARAMETER_CONTENT

static final String PARAMETER_CONTENT
See Also:
Constant Field Values

PARAMETER_CONTENT_HTML

static final String PARAMETER_CONTENT_HTML
See Also:
Constant Field Values

PARAMETER_CONTENT_AUTHOR

static final String PARAMETER_CONTENT_AUTHOR
See Also:
Constant Field Values

PARAMETER_CONTENT_DATE

static final String PARAMETER_CONTENT_DATE
See Also:
Constant Field Values

PARAMETER_CREATION_AUTHOR

static final String PARAMETER_CREATION_AUTHOR
See Also:
Constant Field Values

PARAMETER_CREATION_DATE

static final String PARAMETER_CREATION_DATE
See Also:
Constant Field Values

PARAMETER_LOCALE

static final String PARAMETER_LOCALE
See Also:
Constant Field Values

PARAMETER_LASTREVISION

static final String PARAMETER_LASTREVISION
Since:
5.4M1
See Also:
Constant Field Values

PARAMETER_REVISION_DATE

static final String PARAMETER_REVISION_DATE
See Also:
Constant Field Values

PARAMETER_REVISION_AUTHOR

static final String PARAMETER_REVISION_AUTHOR
See Also:
Constant Field Values

PARAMETER_REVISION_COMMENT

static final String PARAMETER_REVISION_COMMENT
See Also:
Constant Field Values

PARAMETER_REVISION_MINOR

static final String PARAMETER_REVISION_MINOR
See Also:
Constant Field Values
Method Detail

beginWikiDocument

void beginWikiDocument(@Name(value="name")
                       String name,
                       @Default(value="")@Name(value="parameters")
                       org.xwiki.filter.FilterEventParameters parameters)
                       throws WikiStreamException
Parameters:
name - the name of the document
parameters - the properties of the document
Throws:
WikiStreamException - when failing to send event

endWikiDocument

void endWikiDocument(@Name(value="name")
                     String name,
                     @Default(value="")@Name(value="parameters")
                     org.xwiki.filter.FilterEventParameters parameters)
                     throws WikiStreamException
Parameters:
name - the name of the document
parameters - the properties of the document
Throws:
WikiStreamException - when failing to send event

beginWikiDocumentLocale

void beginWikiDocumentLocale(@Default(value="")@Name(value="locale")
                             Locale locale,
                             @Default(value="")@Name(value="parameters")
                             org.xwiki.filter.FilterEventParameters parameters)
                             throws WikiStreamException
Parameters:
locale - the locale of the document
parameters - the properties of the document locale
Throws:
WikiStreamException - when failing to send event

endWikiDocumentLocale

void endWikiDocumentLocale(@Default(value="")@Name(value="locale")
                           Locale locale,
                           @Default(value="")@Name(value="parameters")
                           org.xwiki.filter.FilterEventParameters parameters)
                           throws WikiStreamException
Parameters:
locale - the locale of the document
parameters - the properties of the document
Throws:
WikiStreamException - when failing to send event

beginWikiDocumentRevision

void beginWikiDocumentRevision(@Name(value="revision")
                               String revision,
                               @Default(value="")@Name(value="parameters")
                               org.xwiki.filter.FilterEventParameters parameters)
                               throws WikiStreamException
Parameters:
revision - the revision of the document
parameters - the properties of the document revision
Throws:
WikiStreamException - when failing to send event

endWikiDocumentRevision

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


Copyright © 2004–2014 XWiki. All rights reserved.