Class VersionTreeReport
- java.lang.Object
-
- org.apache.jackrabbit.webdav.version.report.AbstractReport
-
- org.apache.jackrabbit.webdav.version.report.VersionTreeReport
-
- All Implemented Interfaces:
DeltaVConstants,Report,XmlSerializable
public class VersionTreeReport extends AbstractReport implements DeltaVConstants
VersionTreeReportencapsulates the DAV:version-tree report. It describes the requested properties of all the versions in the version history of a version. The DAV:version-tree report must be supported by all version resources and all version-controlled resources.
-
-
Field Summary
-
Fields inherited from interface org.apache.jackrabbit.webdav.version.DeltaVConstants
ATTR_NAME, ATTR_NAMESPACE, COMMENT, CREATOR_DISPLAYNAME, HEADER_LABEL, HEADER_LOCATION, NAMESPACE, SUPPORTED_LIVE_PROPERTY_SET, SUPPORTED_METHOD_SET, SUPPORTED_REPORT_SET, VERSION_CONTROLLED_CONFIGURATION, WORKSPACE, XML_ACTIVITY, XML_ACTIVITY_COLLECTION_SET, XML_BASELINE, XML_CHECKOUT, XML_CHECKOUT_CHECKIN, XML_CHECKOUT_UNLOCK_CHECKIN, XML_EXPAND_PROPERTY, XML_LABEL, XML_LABEL_ADD, XML_LABEL_NAME, XML_LABEL_REMOVE, XML_LABEL_SET, XML_LOCATE_BY_HISTORY, XML_LOCKED_CHECKIN, XML_MERGE, XML_N0_AUTO_MERGE, XML_N0_CHECKOUT, XML_OPTIONS, XML_OPTIONS_RESPONSE, XML_PROPERTY, XML_REPORT, XML_SUPPORTED_METHOD, XML_SUPPORTED_REPORT, XML_UPDATE, XML_VERSION, XML_VERSION_HISTORY, XML_VERSION_HISTORY_SET, XML_VERSION_TREE, XML_VH_COLLECTION_SET, XML_WORKSPACE, XML_WSP_COLLECTION_SET
-
-
Constructor Summary
Constructors Constructor Description VersionTreeReport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReportTypegetType()ReturnsReportType.VERSION_TREEvoidinit(DavResource resource, ReportInfo info)Validates the specified resource and info objects.booleanisMultiStatusReport()Always returnstrue.ElementtoXml(Document document)Runs the DAV:version-tree report.-
Methods inherited from class org.apache.jackrabbit.webdav.version.report.AbstractReport
normalizeResourceHref
-
-
-
-
Method Detail
-
getType
public ReportType getType()
ReturnsReportType.VERSION_TREE- Specified by:
getTypein interfaceReport- Returns:
ReportType.VERSION_TREE- See Also:
Report.getType()
-
isMultiStatusReport
public boolean isMultiStatusReport()
Always returnstrue.- Specified by:
isMultiStatusReportin interfaceReport- Returns:
- true
- See Also:
Report.isMultiStatusReport()
-
init
public void init(DavResource resource, ReportInfo info) throws DavException
Validates the specified resource and info objects.- Specified by:
initin interfaceReport- Parameters:
resource-info-- Throws:
DavException- See Also:
Report.init(DavResource, ReportInfo)
-
toXml
public Element toXml(Document document)
Runs the DAV:version-tree report.- Specified by:
toXmlin interfaceXmlSerializable- Parameters:
document-- Returns:
- Xml
Documentrepresenting the report in the required format. - See Also:
XmlSerializable.toXml(Document)
-
-