Class LatestActivityVersionReport
java.lang.Object
org.apache.jackrabbit.webdav.version.report.AbstractReport
org.apache.jackrabbit.webdav.version.report.LatestActivityVersionReport
- All Implemented Interfaces:
Report,XmlSerializable
LatestActivityVersionReport is applied to a version history to
identify the latest version that is selected from that version history by a
given activity.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetType()ReturnsLATEST_ACTIVITY_VERSION.voidinit(DavResource resource, ReportInfo info) Check all the preconditions for this report.booleanAlways returnsfalse.Returns the xml representation of the implementing object asElement.
-
Field Details
-
LATEST_ACTIVITY_VERSION
-
-
Constructor Details
-
LatestActivityVersionReport
public LatestActivityVersionReport()
-
-
Method Details
-
getType
ReturnsLATEST_ACTIVITY_VERSION.- Returns:
- the type of this report.
- See Also:
-
isMultiStatusReport
public boolean isMultiStatusReport()Always returnsfalse.- Returns:
- false
- See Also:
-
init
Check all the preconditions for this report.- Parameters:
resource-info-- Throws:
DavException- if a precondition is not met.- See Also:
-
toXml
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:
-