|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.jackrabbit.webdav.version.report.LocateByHistoryReport
LocateByHistoryReport encapsulates the DAV:locate-by-hisotry
report, that may be used to locate a version-controlled resource for that
version history. The DAV:locate-by-history report can be applied to a collection
to locate the collection member that is a version-controlled resource for a
specified version history resource.
<!ELEMENT locate-by-history (version-history-set, prop)> <!ELEMENT version-history-set (href+)>
| Field Summary |
| Constructor Summary | |
LocateByHistoryReport()
|
|
| Method Summary | |
ReportType |
getType()
Returns the registered type of this report. |
void |
setInfo(ReportInfo info)
Set the ReportInfo |
void |
setResource(DeltaVResource resource)
Set the DeltaVResource. |
org.jdom.Document |
toXml()
Run the report. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LocateByHistoryReport()
| Method Detail |
public ReportType getType()
Report
getType in interface ReportReport.getType()
public void setResource(DeltaVResource resource)
throws IllegalArgumentException
setResource in interface Reportresource -
IllegalArgumentException - if the specified resource is not a VersionControlledResource.Report.setResource(org.apache.jackrabbit.webdav.version.DeltaVResource)
public void setInfo(ReportInfo info)
throws IllegalArgumentException
ReportInfo
setInfo in interface Reportinfo -
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 ReportDocument representing the report in the required
format.
DavExceptionReport.toXml()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||