Package com.jalios.jcms.analytics.metric
Class AbstractReportMetric
- java.lang.Object
-
- com.jalios.jcms.analytics.metric.AbstractReportMetric
-
- All Implemented Interfaces:
DBData,java.io.Serializable
- Direct Known Subclasses:
AccessReportMetric,AccountReportMetric,AdminReportMetric,SearchReportMetric,TechnicalReportMetric,WriteReportMetric
public abstract class AbstractReportMetric extends java.lang.Object implements DBData
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractReportMetric()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidaggregateUridData(AbstractReportMetric metric)Aggregate a metric to this one (to provide aggregated metrics like global from uri's)abstract voidcheckAbsoluteMetrics(java.util.List<AbstractReportMetric> previousReportList)Check "photo" indicator in this metric.java.util.DategetEndDate()java.util.DategetReportDate()java.lang.LonggetRowId()java.util.DategetStartDate()java.lang.StringgetUrid()java.lang.StringgetWorkspaceId()abstract voidinitializeDBDataCollections()voidsetEndDate(java.util.Date endDate)voidsetReportDate(java.util.Date reportDate)voidsetRowId(java.lang.Long rowId)voidsetStartDate(java.util.Date startDate)voidsetUrid(java.lang.String urid)voidsetWorkspaceId(java.lang.String workspaceId)
-
-
-
Method Detail
-
getStartDate
public java.util.Date getStartDate()
-
setStartDate
public void setStartDate(java.util.Date startDate)
-
getEndDate
public java.util.Date getEndDate()
-
setEndDate
public void setEndDate(java.util.Date endDate)
-
getReportDate
public java.util.Date getReportDate()
-
setReportDate
public void setReportDate(java.util.Date reportDate)
-
getUrid
public java.lang.String getUrid()
-
setUrid
public void setUrid(java.lang.String urid)
-
getWorkspaceId
public java.lang.String getWorkspaceId()
-
setWorkspaceId
public void setWorkspaceId(java.lang.String workspaceId)
-
initializeDBDataCollections
public abstract void initializeDBDataCollections()
-
aggregateUridData
public abstract void aggregateUridData(AbstractReportMetric metric)
Aggregate a metric to this one (to provide aggregated metrics like global from uri's)- Parameters:
metric- the metric to add
-
checkAbsoluteMetrics
public abstract void checkAbsoluteMetrics(java.util.List<AbstractReportMetric> previousReportList)
Check "photo" indicator in this metric. If the photo indicator is missing, value can sometimes be computed from previous metrics.- Parameters:
previousReportList-Listof previousAbstractReportMetric
-
-