com.jalios.jcms.analytics.metric
Class AbstractReportMetric

java.lang.Object
  extended by com.jalios.jcms.analytics.metric.AbstractReportMetric
All Implemented Interfaces:
DBData, Serializable
Direct Known Subclasses:
AccessReportMetric, AccountReportMetric, AdminReportMetric, SearchReportMetric, TechnicalReportMetric, WriteReportMetric

public abstract class AbstractReportMetric
extends Object
implements DBData

See Also:
Serialized Form

Constructor Summary
AbstractReportMetric()
           
 
Method Summary
abstract  void aggregateUridData(AbstractReportMetric metric)
          Aggregate a metric to this one (to provide aggregated metrics like global from uri's)
abstract  void checkAbsoluteMetrics(List<AbstractReportMetric> previousReportList)
          Check "photo" indicator in this metric.
 Date getEndDate()
           
 Date getReportDate()
           
 Long getRowId()
           
 Date getStartDate()
           
 String getUrid()
           
 String getWorkspaceId()
           
 void initializeDBDataCollections()
           
 void setEndDate(Date endDate)
           
 void setReportDate(Date reportDate)
           
 void setRowId(Long rowId)
           
 void setStartDate(Date startDate)
           
 void setUrid(String urid)
           
 void setWorkspaceId(String workspaceId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractReportMetric

public AbstractReportMetric()
Method Detail

getStartDate

public Date getStartDate()

setStartDate

public void setStartDate(Date startDate)

getEndDate

public Date getEndDate()

setEndDate

public void setEndDate(Date endDate)

getReportDate

public Date getReportDate()

setReportDate

public void setReportDate(Date reportDate)

getUrid

public String getUrid()

setUrid

public void setUrid(String urid)

getWorkspaceId

public String getWorkspaceId()

setWorkspaceId

public void setWorkspaceId(String workspaceId)

setRowId

public void setRowId(Long rowId)
Specified by:
setRowId in interface DBData

getRowId

public Long getRowId()
Specified by:
getRowId in interface DBData

initializeDBDataCollections

public 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(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 previous AbstractReportMetric


Copyright © 2001-2010 Jalios SA. All Rights Reserved.