@Unstable
public interface WikiAttachmentFilter
| Modifier and Type | Field and Description |
|---|---|
static String |
PARAMETER_CONTENT_TYPE |
static String |
PARAMETER_CREATION_AUTHOR |
static String |
PARAMETER_CREATION_DATE |
static String |
PARAMETER_NAME |
static String |
PARAMETER_REVISION |
static String |
PARAMETER_REVISION_AUTHOR |
static String |
PARAMETER_REVISION_COMMENT |
static String |
PARAMETER_REVISION_DATE |
| Modifier and Type | Method and Description |
|---|---|
void |
onWikiAttachment(String name,
InputStream content,
Long size,
org.xwiki.filter.FilterEventParameters parameters) |
static final String PARAMETER_NAME
static final String PARAMETER_CONTENT_TYPE
static final String PARAMETER_CREATION_AUTHOR
static final String PARAMETER_CREATION_DATE
static final String PARAMETER_REVISION
static final String PARAMETER_REVISION_AUTHOR
static final String PARAMETER_REVISION_DATE
static final String PARAMETER_REVISION_COMMENT
void onWikiAttachment(@Name(value="name")
String name,
@Name(value="content")
InputStream content,
@Name(value="size")
Long size,
@Default(value="")@Name(value="parameters")
org.xwiki.filter.FilterEventParameters parameters)
throws WikiStreamException
name - the name of the attachmentcontent - the binary content of the attachmentsize - the size of the attachmentparameters - the properties of the attachmentWikiStreamException - when failing to send eventCopyright © 2004–2014 XWiki. All rights reserved.