public interface WikiAttachmentFilter
Modifier and Type | Field and Description |
---|---|
static String |
PARAMETER_CHARSET |
static String |
PARAMETER_CONTENT_TYPE |
static String |
PARAMETER_CREATION_AUTHOR |
static String |
PARAMETER_CREATION_DATE |
static String |
PARAMETER_MIMETYPE |
static String |
PARAMETER_NAME |
static String |
PARAMETER_REVISION |
static String |
PARAMETER_REVISION_AUTHOR |
static String |
PARAMETER_REVISION_COMMENT |
static String |
PARAMETER_REVISION_CONTENT_ALIAS |
static String |
PARAMETER_REVISION_DATE |
static String |
VALUE_REVISION_CONTENT_ALIAS_CURRENT |
Modifier and Type | Method and Description |
---|---|
default void |
beginWikiAttachmentRevision(String version,
org.xwiki.filter.input.InputSource content,
Long size,
org.xwiki.filter.FilterEventParameters parameters) |
default void |
beginWikiAttachmentRevisions(org.xwiki.filter.FilterEventParameters parameters) |
default void |
beginWikiDocumentAttachment(String name,
org.xwiki.filter.input.InputSource content,
Long size,
org.xwiki.filter.FilterEventParameters parameters) |
default void |
endWikiAttachmentRevision(String version,
org.xwiki.filter.input.InputSource content,
Long size,
org.xwiki.filter.FilterEventParameters parameters) |
default void |
endWikiAttachmentRevisions(org.xwiki.filter.FilterEventParameters parameters) |
default void |
endWikiDocumentAttachment(String name,
org.xwiki.filter.input.InputSource content,
Long size,
org.xwiki.filter.FilterEventParameters parameters) |
void |
onWikiAttachment(String name,
InputStream content,
Long size,
org.xwiki.filter.FilterEventParameters parameters) |
static final String PARAMETER_NAME
String
static final String PARAMETER_MIMETYPE
String
static final String PARAMETER_CHARSET
String
static final String PARAMETER_CONTENT_TYPE
String
static final String PARAMETER_CREATION_AUTHOR
String
static final String PARAMETER_CREATION_DATE
Date
static final String PARAMETER_REVISION
String
static final String PARAMETER_REVISION_AUTHOR
String
static final String PARAMETER_REVISION_DATE
Date
static final String PARAMETER_REVISION_COMMENT
String
@Unstable static final String PARAMETER_REVISION_CONTENT_ALIAS
String
@Unstable static final String VALUE_REVISION_CONTENT_ALIAS_CURRENT
void onWikiAttachment(String name, InputStream content, Long size, @Default(value="") org.xwiki.filter.FilterEventParameters parameters) throws org.xwiki.filter.FilterException
name
- the name of the attachmentcontent
- the binary content of the attachmentsize
- the size of the attachmentparameters
- the properties of the attachmentorg.xwiki.filter.FilterException
- when failing to send event@Unstable default void beginWikiDocumentAttachment(String name, org.xwiki.filter.input.InputSource content, Long size, @Default(value="") org.xwiki.filter.FilterEventParameters parameters) throws org.xwiki.filter.FilterException
name
- the name of the attachmentcontent
- the binary content of the attachmentsize
- the size of the attachmentparameters
- the properties of the attachmentorg.xwiki.filter.FilterException
- when failing to send event@Unstable default void endWikiDocumentAttachment(String name, org.xwiki.filter.input.InputSource content, Long size, @Default(value="") org.xwiki.filter.FilterEventParameters parameters) throws org.xwiki.filter.FilterException
name
- the name of the attachmentcontent
- the binary content of the attachmentsize
- the size of the attachmentparameters
- the properties of the attachmentorg.xwiki.filter.FilterException
- when failing to send event@Unstable default void beginWikiAttachmentRevisions(@Default(value="") org.xwiki.filter.FilterEventParameters parameters) throws org.xwiki.filter.FilterException
parameters
- the properties of the attachmentorg.xwiki.filter.FilterException
- when failing to send event@Unstable default void endWikiAttachmentRevisions(@Default(value="") org.xwiki.filter.FilterEventParameters parameters) throws org.xwiki.filter.FilterException
parameters
- the properties of the attachmentorg.xwiki.filter.FilterException
- when failing to send event@Unstable default void beginWikiAttachmentRevision(String version, org.xwiki.filter.input.InputSource content, Long size, @Default(value="") org.xwiki.filter.FilterEventParameters parameters) throws org.xwiki.filter.FilterException
version
- the revision of the attachmentcontent
- the binary content of the attachmentsize
- the size of the attachmentparameters
- the properties of the attachmentorg.xwiki.filter.FilterException
- when failing to send event@Unstable default void endWikiAttachmentRevision(String version, org.xwiki.filter.input.InputSource content, Long size, @Default(value="") org.xwiki.filter.FilterEventParameters parameters) throws org.xwiki.filter.FilterException
version
- the revision of the attachmentcontent
- the binary content of the attachmentsize
- the size of the attachmentparameters
- the properties of the attachmentorg.xwiki.filter.FilterException
- when failing to send eventCopyright © 2004–2022 XWiki. All rights reserved.