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 void
aggregateUridData(AbstractReportMetric metric)
Aggregate a metric to this one (to provide aggregated metrics like global from uri's)abstract void
checkAbsoluteMetrics(java.util.List<AbstractReportMetric> previousReportList)
Check "photo" indicator in this metric.java.util.Date
getEndDate()
java.util.Date
getReportDate()
java.lang.Long
getRowId()
java.util.Date
getStartDate()
java.lang.String
getUrid()
java.lang.String
getWorkspaceId()
abstract void
initializeDBDataCollections()
void
setEndDate(java.util.Date endDate)
void
setReportDate(java.util.Date reportDate)
void
setRowId(java.lang.Long rowId)
void
setStartDate(java.util.Date startDate)
void
setUrid(java.lang.String urid)
void
setWorkspaceId(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
-List
of previousAbstractReportMetric
-
-