com.jivesoftware.base.stats
Class AbstractReport
java.lang.Object
com.jivesoftware.base.stats.AbstractReport
- All Implemented Interfaces:
- Report
- Direct Known Subclasses:
- AbstractForumReport
public abstract class AbstractReport
- extends java.lang.Object
- implements Report
An abstract base class of Report which offers a default implementation of the interface.
Report writers should subclass this class.
- Since:
- 4.0
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
histograms
protected java.util.List histograms
shortDescription
protected java.lang.String shortDescription
name
protected java.lang.String name
displayName
protected java.lang.String displayName
description
protected java.lang.String description
properties
protected java.util.Map properties
dateRange
protected DateRange dateRange
startDate
protected java.util.Date startDate
endDate
protected java.util.Date endDate
series
protected java.util.List series
objects
protected java.util.List objects
AbstractReport
public AbstractReport()
getName
public java.lang.String getName()
- Description copied from interface:
Report
- Returns the name of the report.
- Specified by:
getName in interface Report
setName
public void setName(java.lang.String name)
- Specified by:
setName in interface Report
getShortDescription
public java.lang.String getShortDescription()
- Specified by:
getShortDescription in interface Report
setShortDescription
public void setShortDescription(java.lang.String shortDescription)
- Specified by:
setShortDescription in interface Report
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayName in interface Report
setDisplayName
public void setDisplayName(java.lang.String displayName)
- Specified by:
setDisplayName in interface Report
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription in interface Report
setDescription
public void setDescription(java.lang.String description)
- Specified by:
setDescription in interface Report
execute
public abstract void execute()
throws java.lang.Exception
- Specified by:
execute in interface Report
- Throws:
java.lang.Exception
getProperties
public java.util.Map getProperties()
- Specified by:
getProperties in interface Report
getExtraInfo
public java.util.List[] getExtraInfo()
- Specified by:
getExtraInfo in interface Report
getSeries
public Report[] getSeries()
- Specified by:
getSeries in interface Report
addSeries
public void addSeries(Report report)
getObjects
public java.util.List getObjects()
- Specified by:
getObjects in interface Report
setObjects
public void setObjects(java.util.List objects)
- Specified by:
setObjects in interface Report
getDataTables
public DataTable[] getDataTables()
- Specified by:
getDataTables in interface Report
getDataTableCSVs
public DataTable[] getDataTableCSVs()
- Specified by:
getDataTableCSVs in interface Report
getImageCSV
public DataTable[] getImageCSV()
- Specified by:
getImageCSV in interface Report
getCharts
public Chart[] getCharts()
- Specified by:
getCharts in interface Report
getHistograms
public Histogram[] getHistograms()
- Specified by:
getHistograms in interface Report
addHistogram
protected void addHistogram(Histogram histogram)
getStartDate
public java.util.Date getStartDate()
- Specified by:
getStartDate in interface Report
setStartDate
public void setStartDate(java.util.Date startDate)
getEndDate
public java.util.Date getEndDate()
- Specified by:
getEndDate in interface Report
setEndDate
public void setEndDate(java.util.Date date)
setDateRange
public void setDateRange(DateRange dateRange)
- Specified by:
setDateRange in interface Report
getDateRange
protected Report.ExtraInfo getDateRange()
- Gets the ExtraInfo object for the date range for the report.
- Returns:
- the extra info for the "Date Range" key.
Copyright © 1999-2006 Jive Software.