Class LatestActivityVersionReport
- java.lang.Object
 - 
- org.apache.jackrabbit.webdav.version.report.AbstractReport
 - 
- org.apache.jackrabbit.webdav.version.report.LatestActivityVersionReport
 
 
 
- 
- All Implemented Interfaces:
 Report,XmlSerializable
public class LatestActivityVersionReport extends AbstractReport
LatestActivityVersionReportis applied to a version history to identify the latest version that is selected from that version history by a given activity. 
- 
- 
Field Summary
Fields Modifier and Type Field Description static ReportTypeLATEST_ACTIVITY_VERSION 
- 
Constructor Summary
Constructors Constructor Description LatestActivityVersionReport() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReportTypegetType()ReturnsLATEST_ACTIVITY_VERSION.voidinit(DavResource resource, ReportInfo info)Check all the preconditions for this report.booleanisMultiStatusReport()Always returnsfalse.org.w3c.dom.ElementtoXml(org.w3c.dom.Document document)Returns the xml representation of the implementing object asElement. 
 - 
 
- 
- 
Field Detail
- 
LATEST_ACTIVITY_VERSION
public static final ReportType LATEST_ACTIVITY_VERSION
 
 - 
 
- 
Method Detail
- 
getType
public ReportType getType()
ReturnsLATEST_ACTIVITY_VERSION.- Returns:
 - the type of this report.
 - See Also:
 Report.getType()
 
- 
isMultiStatusReport
public boolean isMultiStatusReport()
Always returnsfalse.- Returns:
 - false
 - See Also:
 Report.isMultiStatusReport()
 
- 
init
public void init(DavResource resource, ReportInfo info) throws DavException
Check all the preconditions for this report.- Throws:
 DavException- if a precondition is not met.- See Also:
 Report.init(DavResource, ReportInfo)
 
- 
toXml
public org.w3c.dom.Element toXml(org.w3c.dom.Document document)
Description copied from interface:XmlSerializableReturns the xml representation of the implementing object asElement. The givenDocumentis used as factory and represents theowner documentof the returned DOM element.- Parameters:
 document- to be used as factory.- Returns:
 - a w3c element representing this object
 - See Also:
 XmlSerializable.toXml(Document)
 
 - 
 
 -