|
||||||||||
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
public class 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 ReportType.LOCATE_BY_HISTORY . |
void |
init(DavResource resource,
ReportInfo info)
Set the DeltaVResource for which this report was requested
and the ReportInfo as specified by the REPORT request body,
that defines the details for this report.Please note that this methods should perform basic validation checks in order to prevent execeptional situations during the xml serialization. |
boolean |
isMultiStatusReport()
Always returns true . |
Element |
toXml(Document document)
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()
ReportType.LOCATE_BY_HISTORY
.
getType
in interface Report
Report.getType()
public void init(DavResource resource, ReportInfo info) throws DavException
Report
DeltaVResource
for which this report was requested
and the ReportInfo
as specified by the REPORT request body,
that defines the details for this report.
init
in interface Report
DavException
Report.init(DavResource, ReportInfo)
public boolean isMultiStatusReport()
true
.
isMultiStatusReport
in interface Report
Report.isMultiStatusReport()
public Element toXml(Document document)
toXml
in interface XmlSerializable
document
-
Document
representing the report in the required
format.XmlSerializable.toXml(Document)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |