Class LocateByUuidReport
- java.lang.Object
-
- org.apache.jackrabbit.webdav.version.report.AbstractReport
-
- org.apache.jackrabbit.webdav.jcr.version.report.AbstractJcrReport
-
- org.apache.jackrabbit.webdav.jcr.version.report.LocateByUuidReport
-
- All Implemented Interfaces:
org.apache.jackrabbit.webdav.version.report.Report
,org.apache.jackrabbit.webdav.xml.XmlSerializable
public class LocateByUuidReport extends AbstractJcrReport
LocateByUuidReport
handles REPORT requests for the 'locate-by-uuid' report.The request body must be a 'dcr:locate-by-uuid' XML element:
<!ELEMENT locate-by-uuid ( href , prop? ) >
The response to a successful report request will be a Multi-Status response.
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.jackrabbit.webdav.version.report.ReportType
LOCATE_BY_UUID_REPORT
The exportview report type
-
Constructor Summary
Constructors Constructor Description LocateByUuidReport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.jackrabbit.webdav.version.report.ReportType
getType()
ReturnsLOCATE_BY_UUID_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 returnstrue
.Element
toXml(Document document)
Creates a Xml document from the generated view.
-
-
-
Method Detail
-
getType
public org.apache.jackrabbit.webdav.version.report.ReportType getType()
ReturnsLOCATE_BY_UUID_REPORT
report type.- Returns:
LOCATE_BY_UUID_REPORT
- See Also:
Report.getType()
-
isMultiStatusReport
public boolean isMultiStatusReport()
Always returnstrue
.- Returns:
- true
- See Also:
Report.isMultiStatusReport()
-
init
public void init(org.apache.jackrabbit.webdav.DavResource resource, org.apache.jackrabbit.webdav.version.report.ReportInfo info) throws org.apache.jackrabbit.webdav.DavException
Description copied from class:AbstractJcrReport
Performs basic validation checks common to all JCR specific reports.- Specified by:
init
in interfaceorg.apache.jackrabbit.webdav.version.report.Report
- Overrides:
init
in classAbstractJcrReport
- Throws:
org.apache.jackrabbit.webdav.DavException
- See Also:
Report.init(DavResource, ReportInfo)
-
-