|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.webdav.version.report.VersionTreeReport
VersionTreeReport
encapsulates 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 |
Constructor Summary | |
VersionTreeReport()
|
Method Summary | |
ReportType |
getType()
Returns the registered type of this report. |
void |
setInfo(ReportInfo info)
Set the ReportInfo as specified by the REPORT request body,
that defines the details for this report. |
void |
setResource(DeltaVResource resource)
Set the DeltaVResource used to register this report. |
org.jdom.Document |
toXml()
Runs the DAV:version-tree report. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public VersionTreeReport()
Method Detail |
public ReportType getType()
Report
getType
in interface Report
public void setResource(DeltaVResource resource) throws IllegalArgumentException
DeltaVResource
used to register this report.
setResource
in interface Report
resource
-
IllegalArgumentException
- if the given resource is neither
VersionControlledResource
nor VersionResource
.Report.setResource(org.apache.jackrabbit.webdav.version.DeltaVResource)
public void setInfo(ReportInfo info) throws IllegalArgumentException
ReportInfo
as specified by the REPORT request body,
that defines the details for this report.
setInfo
in interface Report
info
-
IllegalArgumentException
- if the given ReportInfo
does not contain a DAV:version-tree element.Report.setInfo(ReportInfo)
public org.jdom.Document toXml() throws DavException
toXml
in interface Report
Document
representing the report in the required
format.
DavException
- if the resource or the info field are null
or if any other error occurs.Report.toXml()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |