org.apache.jackrabbit.webdav.jcr.version.report
Class LocateByUuidReport

java.lang.Object
  extended byorg.apache.jackrabbit.webdav.jcr.version.report.AbstractJcrReport
      extended byorg.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
static org.apache.jackrabbit.webdav.version.report.ReportType LOCATE_BY_UUID_REPORT
          The exportview report type
 
Constructor Summary
LocateByUuidReport()
           
 
Method Summary
 org.apache.jackrabbit.webdav.version.report.ReportType getType()
          Returns LOCATE_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 returns true.
 Element toXml(Document document)
          Creates a Xml document from the generated view.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOCATE_BY_UUID_REPORT

public static final org.apache.jackrabbit.webdav.version.report.ReportType LOCATE_BY_UUID_REPORT
The exportview report type

Constructor Detail

LocateByUuidReport

public LocateByUuidReport()
Method Detail

getType

public org.apache.jackrabbit.webdav.version.report.ReportType getType()
Returns LOCATE_BY_UUID_REPORT report type.

Returns:
LOCATE_BY_UUID_REPORT
See Also:
Report.getType()

isMultiStatusReport

public boolean isMultiStatusReport()
Always returns true.

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 interface org.apache.jackrabbit.webdav.version.report.Report
Overrides:
init in class AbstractJcrReport
Parameters:
resource -
info -
Throws:
org.apache.jackrabbit.webdav.DavException
See Also:
Report.init(DavResource, ReportInfo)

toXml

public Element toXml(Document document)
Creates a Xml document from the generated view.

Parameters:
document -
Returns:
Xml element representing the output of the specified view.
See Also:
XmlSerializable.toXml(Document)


Copyright © 2005-2006 . All Rights Reserved.