Package org.xwiki.filter.event.model
Interface WikiDocumentFilter
-
public interface WikiDocumentFilter
Document related events.- Since:
- 6.2M1
- Version:
- $Id: 66d8b279a66da3ff563fc77d0ad9cba2f9a34d4c $
-
-
Field Summary
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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
-
LOG_DOCUMENT_CREATED
static final org.slf4j.Marker LOG_DOCUMENT_CREATED
Mark a log as a document save notification. First log parameter has to be theDocumentReference
.- Since:
- 6.2M1
-
LOG_DOCUMENT_UPDATED
static final org.slf4j.Marker LOG_DOCUMENT_UPDATED
Mark a log as a document save notification. First log parameter has to be theDocumentReference
.- Since:
- 6.2M1
-
LOG_DOCUMENT_DELETED
static final org.slf4j.Marker LOG_DOCUMENT_DELETED
Mark a log as a document delete notification. First log parameter has to be theDocumentReference
.- Since:
- 6.2M1
-
LOG_DOCUMENT_SKIPPED
static final org.slf4j.Marker LOG_DOCUMENT_SKIPPED
Mark a log as a document skipped notification. First log parameter has to be theDocumentReference
.- Since:
- 6.2M1
-
LOG_DOCUMENT_ERROR
static final org.slf4j.Marker LOG_DOCUMENT_ERROR
Mark a log as a document error notification. First log parameter has to be theDocumentReference
.- Since:
- 6.2M1
-
PARAMETER_SYNTAX
static final String PARAMETER_SYNTAX
- See Also:
- Constant Field Values
- Type:
Syntax
-
PARAMETER_PARENT
static final String PARAMETER_PARENT
- See Also:
- Constant Field Values
- Type:
EntityReference
-
PARAMETER_TITLE
static final String PARAMETER_TITLE
- See Also:
- Constant Field Values
- Type:
String
-
PARAMETER_HIDDEN
static final String PARAMETER_HIDDEN
- See Also:
- Constant Field Values
- Type:
Boolean
-
PARAMETER_CUSTOMCLASS
static final String PARAMETER_CUSTOMCLASS
- See Also:
- Constant Field Values
- Type:
String
-
PARAMETER_DEFAULTTEMPLATE
static final String PARAMETER_DEFAULTTEMPLATE
- See Also:
- Constant Field Values
- Type:
String
-
PARAMETER_VALIDATIONSCRIPT
static final String PARAMETER_VALIDATIONSCRIPT
- See Also:
- Constant Field Values
- Type:
String
-
PARAMETER_CONTENT
static final String PARAMETER_CONTENT
- See Also:
- Constant Field Values
- Type:
String
-
PARAMETER_CONTENT_HTML
static final String PARAMETER_CONTENT_HTML
- See Also:
- Constant Field Values
- Type:
String
-
PARAMETER_CONTENT_AUTHOR
static final String PARAMETER_CONTENT_AUTHOR
- See Also:
- Constant Field Values
- Type:
String
-
PARAMETER_CONTENT_DATE
static final String PARAMETER_CONTENT_DATE
- See Also:
- Constant Field Values
- Type:
Date
-
PARAMETER_CREATION_AUTHOR
static final String PARAMETER_CREATION_AUTHOR
- See Also:
- Constant Field Values
- Type:
String
-
PARAMETER_CREATION_DATE
static final String PARAMETER_CREATION_DATE
- See Also:
- Constant Field Values
- Type:
Date
-
PARAMETER_LOCALE
static final String PARAMETER_LOCALE
- See Also:
- Constant Field Values
- Type:
Locale
-
PARAMETER_LASTREVISION
static final String PARAMETER_LASTREVISION
- Since:
- 6.2M1
- See Also:
- Constant Field Values
- Type:
String
-
PARAMETER_REVISION_DATE
static final String PARAMETER_REVISION_DATE
- See Also:
- Constant Field Values
- Type:
Date
-
PARAMETER_REVISION_EFFECTIVEMETADATA_AUTHOR
static final String PARAMETER_REVISION_EFFECTIVEMETADATA_AUTHOR
- Since:
- 14.0RC1
- See Also:
- Constant Field Values
- Type:
String
-
PARAMETER_REVISION_ORIGINALMETADATA_AUTHOR
static final String PARAMETER_REVISION_ORIGINALMETADATA_AUTHOR
- Since:
- 14.0RC1
- See Also:
- Constant Field Values
- Type:
String
-
PARAMETER_REVISION_AUTHOR
@Deprecated static final String PARAMETER_REVISION_AUTHOR
Deprecated.since 14.0RC1, usePARAMETER_REVISION_EFFECTIVEMETADATA_AUTHOR
instead- See Also:
- Constant Field Values
- Type:
String
-
PARAMETER_REVISION_COMMENT
static final String PARAMETER_REVISION_COMMENT
- See Also:
- Constant Field Values
- Type:
String
-
PARAMETER_REVISION_MINOR
static final String PARAMETER_REVISION_MINOR
- See Also:
- Constant Field Values
- Type:
Boolean
-
-
Method Detail
-
beginWikiDocument
void beginWikiDocument(String name, @Default("") org.xwiki.filter.FilterEventParameters parameters) throws org.xwiki.filter.FilterException
- Parameters:
name
- the name of the documentparameters
- 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 documentparameters
- 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 documentparameters
- 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 documentparameters
- 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 documentparameters
- 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 documentparameters
- the properties of the document revision- Throws:
org.xwiki.filter.FilterException
- when failing to send event
-
-