public class LatestActivityVersionReport extends Object implements Report
LatestActivityVersionReport
is applied to a version history to
identify the latest version that is selected from that version history by a
given activity.Modifier and Type | Field and Description |
---|---|
static ReportType |
LATEST_ACTIVITY_VERSION |
Constructor and Description |
---|
LatestActivityVersionReport() |
Modifier and Type | Method and Description |
---|---|
ReportType |
getType()
Returns
LATEST_ACTIVITY_VERSION . |
void |
init(DavResource resource,
ReportInfo info)
Check all the preconditions for this report.
|
boolean |
isMultiStatusReport()
Always returns
false . |
Element |
toXml(Document document)
Returns the xml representation of the implementing object as
Element . |
public static final ReportType LATEST_ACTIVITY_VERSION
public ReportType getType()
LATEST_ACTIVITY_VERSION
.getType
in interface Report
Report.getType()
public boolean isMultiStatusReport()
false
.isMultiStatusReport
in interface Report
Report.isMultiStatusReport()
public void init(DavResource resource, ReportInfo info) throws DavException
init
in interface Report
DavException
- if a precondition is not met.Report.init(DavResource, ReportInfo)
public Element toXml(Document document)
XmlSerializable
Element
. The given Document
is used
as factory and represents the owner document
of the returned DOM element.toXml
in interface XmlSerializable
document
- to be used as factory.XmlSerializable.toXml(Document)
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.