Package com.jalios.jcms.analytics.agent
Class WriteReportAgent
- java.lang.Object
-
- com.jalios.jcms.analytics.AbstractStatisticAgent
-
- com.jalios.jcms.analytics.agent.WriteReportAgent
-
- All Implemented Interfaces:
java.lang.Cloneable
,java.lang.Comparable<AbstractStatisticAgent>
public class WriteReportAgent extends AbstractStatisticAgent
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.jalios.jcms.analytics.AbstractStatisticAgent
AbstractStatisticAgent.AbstractReportMetricComparator
-
-
Constructor Summary
Constructors Constructor Description WriteReportAgent()
WriteReportAgent(AbstractStatisticAgent parent)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractStatisticAgent
clone()
void
doProcess(EventData data, StatisticContext context)
boolean
endAnalyze(AbstractReportMetric abstractReportMetric, StatisticContext context)
long
getDataCount(java.lang.Class<? extends Publication> clazz, Workspace ws)
Returns the number of data available for the given class in a workspace.java.lang.Class<? extends AbstractReportMetric>
getReportMetricClass()
static void
migrateData_10SP6()
void
startAnalyze(StatisticContext context)
-
Methods inherited from class com.jalios.jcms.analytics.AbstractStatisticAgent
addElement, compareTo, getDisplayJSP, getLatestAnalyzeDate, getMetricObjectSet, getName, getOrder, getReportDay, getWorkspace, getWorkspacesMetricObjectSet, init, isPluginAgent, isReportDisplayed, process, setDisplayJSP, setOrder, setPluginAgent, setReportDay, setWorkspace
-
-
-
-
Constructor Detail
-
WriteReportAgent
public WriteReportAgent()
-
WriteReportAgent
public WriteReportAgent(AbstractStatisticAgent parent)
-
-
Method Detail
-
clone
public AbstractStatisticAgent clone()
- Specified by:
clone
in classAbstractStatisticAgent
-
startAnalyze
public void startAnalyze(StatisticContext context)
- Specified by:
startAnalyze
in classAbstractStatisticAgent
-
getReportMetricClass
public java.lang.Class<? extends AbstractReportMetric> getReportMetricClass()
- Specified by:
getReportMetricClass
in classAbstractStatisticAgent
-
doProcess
public void doProcess(EventData data, StatisticContext context)
- Specified by:
doProcess
in classAbstractStatisticAgent
-
endAnalyze
public boolean endAnalyze(AbstractReportMetric abstractReportMetric, StatisticContext context)
- Specified by:
endAnalyze
in classAbstractStatisticAgent
-
getDataCount
public long getDataCount(java.lang.Class<? extends Publication> clazz, Workspace ws)
Returns the number of data available for the given class in a workspace.- Parameters:
clazz
- the class.ws
- the workspace- Returns:
- the number of data available for the given class which belongs to a workspace.
-
migrateData_10SP6
public static void migrateData_10SP6()
-
-