public class ExportViewReport extends AbstractJcrReport
ExportViewReport handles REPORT requests for the 'exportview'
report. The 'exportview' report is used to export
DocView
and SysView
of the item represented by the requested resource.
The request body must contain a dcr:exportview
element:
<!ELEMENT exportview ( (sysview | docview)?, skipbinary?, norecurse ) > <!ELEMENT sysview EMPTY > <!ELEMENT docview EMPTY > <!ELEMENT skipbinary EMPTY > <!ELEMENT norecurse EMPTY >If no view type is specified the DocView is generated.
| Modifier and Type | Field and Description |
|---|---|
static org.apache.jackrabbit.webdav.version.report.ReportType |
EXPORTVIEW_REPORT
The exportview report type
|
| Constructor and Description |
|---|
ExportViewReport() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.jackrabbit.webdav.version.report.ReportType |
getType()
Returns
EXPORTVIEW_REPORT report type. |
void |
init(org.apache.jackrabbit.webdav.DavResource resource,
org.apache.jackrabbit.webdav.version.report.ReportInfo info)
Performs basic validation checks common to all JCR specific reports.
|
boolean |
isMultiStatusReport()
Always returns
false. |
Element |
toXml(Document document)
Creates a Xml document from the generated view.
|
public static final org.apache.jackrabbit.webdav.version.report.ReportType EXPORTVIEW_REPORT
public org.apache.jackrabbit.webdav.version.report.ReportType getType()
EXPORTVIEW_REPORT report type.EXPORTVIEW_REPORTReport.getType()public boolean isMultiStatusReport()
false.public void init(org.apache.jackrabbit.webdav.DavResource resource,
org.apache.jackrabbit.webdav.version.report.ReportInfo info)
throws org.apache.jackrabbit.webdav.DavException
AbstractJcrReportinit in interface org.apache.jackrabbit.webdav.version.report.Reportinit in class AbstractJcrReportorg.apache.jackrabbit.webdav.DavExceptionReport.init(DavResource, ReportInfo)Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.