Class AbstractReportMetric

java.lang.Object
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:
  • Constructor Details

    • AbstractReportMetric

      public AbstractReportMetric()
  • Method Details

    • 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 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(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