Package com.jalios.jcms.analytics.agent
Class AccountReportAgent
- java.lang.Object
-
- com.jalios.jcms.analytics.AbstractStatisticAgent
-
- com.jalios.jcms.analytics.agent.AccountReportAgent
-
- All Implemented Interfaces:
java.lang.Cloneable
,java.lang.Comparable<AbstractStatisticAgent>
public class AccountReportAgent extends AbstractStatisticAgent
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.jalios.jcms.analytics.AbstractStatisticAgent
AbstractStatisticAgent.AbstractReportMetricComparator
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
GUEST_ACCOUNTS_GROUP_ID_PROP
static java.lang.String
IS_ACCOUNT_KEY
static java.lang.String
IS_CONTACT_KEY
static java.lang.String
IS_DISABLED_KEY
static java.lang.String
IS_GUEST_KEY
static java.lang.String
IS_OLD_ACCOUNT_KEY
static java.lang.String
IS_OLD_CONTACT_KEY
static java.lang.String
IS_OLD_DISABLED_KEY
static java.lang.String
IS_OLD_GUEST_KEY
-
Constructor Summary
Constructors Constructor Description AccountReportAgent()
AccountReportAgent(AbstractStatisticAgent parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractStatisticAgent
clone()
void
doProcess(EventData data, StatisticContext context)
boolean
endAnalyze(AbstractReportMetric reportMetric, StatisticContext context)
java.lang.Class<? extends AbstractReportMetric>
getReportMetricClass()
boolean
isReportDisplayed(Workspace displayedWS, java.util.Date beginDate, java.util.Date endDate)
Indicates if this agent have a display available for the provided parametersvoid
startAnalyze(StatisticContext context)
-
Methods inherited from class com.jalios.jcms.analytics.AbstractStatisticAgent
addElement, compareTo, getDisplayJSP, getLatestAnalyzeDate, getMetricObjectSet, getName, getOrder, getReportDay, getWorkspace, getWorkspacesMetricObjectSet, init, isPluginAgent, process, setDisplayJSP, setOrder, setPluginAgent, setReportDay, setWorkspace
-
-
-
-
Field Detail
-
GUEST_ACCOUNTS_GROUP_ID_PROP
public static final java.lang.String GUEST_ACCOUNTS_GROUP_ID_PROP
- See Also:
- Constant Field Values
-
IS_ACCOUNT_KEY
public static final java.lang.String IS_ACCOUNT_KEY
- See Also:
- Constant Field Values
-
IS_CONTACT_KEY
public static final java.lang.String IS_CONTACT_KEY
- See Also:
- Constant Field Values
-
IS_DISABLED_KEY
public static final java.lang.String IS_DISABLED_KEY
- See Also:
- Constant Field Values
-
IS_GUEST_KEY
public static final java.lang.String IS_GUEST_KEY
- See Also:
- Constant Field Values
-
IS_OLD_ACCOUNT_KEY
public static final java.lang.String IS_OLD_ACCOUNT_KEY
- See Also:
- Constant Field Values
-
IS_OLD_CONTACT_KEY
public static final java.lang.String IS_OLD_CONTACT_KEY
- See Also:
- Constant Field Values
-
IS_OLD_DISABLED_KEY
public static final java.lang.String IS_OLD_DISABLED_KEY
- See Also:
- Constant Field Values
-
IS_OLD_GUEST_KEY
public static final java.lang.String IS_OLD_GUEST_KEY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AccountReportAgent
public AccountReportAgent()
-
AccountReportAgent
public AccountReportAgent(AbstractStatisticAgent parent)
-
-
Method Detail
-
clone
public AbstractStatisticAgent clone()
- Specified by:
clone
in classAbstractStatisticAgent
-
startAnalyze
public void startAnalyze(StatisticContext context)
- Specified by:
startAnalyze
in classAbstractStatisticAgent
-
doProcess
public void doProcess(EventData data, StatisticContext context)
- Specified by:
doProcess
in classAbstractStatisticAgent
-
endAnalyze
public boolean endAnalyze(AbstractReportMetric reportMetric, StatisticContext context)
- Specified by:
endAnalyze
in classAbstractStatisticAgent
-
getReportMetricClass
public java.lang.Class<? extends AbstractReportMetric> getReportMetricClass()
- Specified by:
getReportMetricClass
in classAbstractStatisticAgent
-
isReportDisplayed
public boolean isReportDisplayed(Workspace displayedWS, java.util.Date beginDate, java.util.Date endDate)
Description copied from class:AbstractStatisticAgent
Indicates if this agent have a display available for the provided parameters- Overrides:
isReportDisplayed
in classAbstractStatisticAgent
- Parameters:
displayedWS
- theWorkspace
(can be null for all workspaces)beginDate
- the begin date of te displayed intervalendDate
- the end date of te displayed interval- Returns:
- true if the agent will be displayed, false otherwise
-
-