|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jalios.jcms.stat.listener.AbstractStatListener com.jalios.jcms.stat.listener.AbstractStatFieldListener com.jalios.jcms.stat.listener.AbstractStatMultiListener
public abstract class AbstractStatMultiListener
Execute Multiple AbstractLogFieldListener.
Field Summary | |
---|---|
protected StatDateTimeListener |
dayListener
|
protected StatDateTimeListener |
dayWeekListener
|
protected StatDateTimeListener |
hourListener
|
protected List |
listeners
|
protected StatDateTimeListener |
monthListener
|
static String |
REVISION
|
protected StatDateTimeListener |
weekListener
|
Fields inherited from class com.jalios.jcms.stat.listener.AbstractStatFieldListener |
---|
beautifier, handleCount, handleTime, t0 |
Fields inherited from class com.jalios.jcms.stat.listener.AbstractStatListener |
---|
ADMIN_AREA, ALL_AREA, channel, display, displayAverage, displayTimeChart, displayWeekChart, FEED_AREA, filteredZone, name, portlet, PUBLIC_AREA, regexpFilter, report, WORK_AREA |
Fields inherited from interface com.jalios.jcms.stat.StatListener |
---|
ALL_WORKSPACE, TRUNCATE |
Constructor Summary | |
---|---|
AbstractStatMultiListener(String zone)
|
Method Summary | |
---|---|
void |
addListener(AbstractStatFieldListener l)
Add a listener to call |
SortedSet |
getCurrentObjSet(String mapKey)
Return the current processing objects |
void |
handleEndOfStatEntries(Map workspaceMap)
Call EndOfStatEntries with given WorkspaceMap |
void |
init(PortletStat portlet,
PortalElement report)
Init the Portlet attributs |
void |
processEntry(StatEntry entry,
Object workspace,
Map workspaceMap)
Process an object and store it to the workspace map |
protected void |
processEntry(StatEntry entry,
Object workspace,
Map workspaceMap,
Collection skip)
|
Object |
processWorkspace(StatEntry entry)
Get the workspace of the StatEntry |
void |
removeListener(AbstractStatFieldListener l)
Remove a Listener to call |
boolean |
validateEntry(StatEntry entry)
Validate the Stat Entry and get the correct parameter to process later. |
Methods inherited from class com.jalios.jcms.stat.listener.AbstractStatFieldListener |
---|
getBeautifier, getNanoDuration, getWorkspaceFieldMap, getWorkspaceFieldMap, getWorkspaceMap, handleEndOfStatEntries, handleStatEntry, timeStart, timeStop, updateWorkspaceMap, updateWorkspaceMap, updateWorkspaceMap |
Methods inherited from class com.jalios.jcms.stat.listener.AbstractStatListener |
---|
getDisplay, getName, getPortlet, getZone, handleStartDocument, isFiltered, setDisplay, setPortlet, setZone, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String REVISION
protected List listeners
protected StatDateTimeListener dayListener
protected StatDateTimeListener weekListener
protected StatDateTimeListener monthListener
protected StatDateTimeListener dayWeekListener
protected StatDateTimeListener hourListener
Constructor Detail |
---|
public AbstractStatMultiListener(String zone)
Method Detail |
---|
public void init(PortletStat portlet, PortalElement report)
StatListener
init
in interface StatListener
init
in class AbstractStatListener
StatListener.init(PortletStat, PortalElement)
public void handleEndOfStatEntries(Map workspaceMap)
AbstractStatFieldListener
handleEndOfStatEntries
in class AbstractStatFieldListener
AbstractStatFieldListener.handleEndOfStatEntries(Map)
public Object processWorkspace(StatEntry entry)
AbstractStatFieldListener
processWorkspace
in class AbstractStatFieldListener
AbstractStatFieldListener.processWorkspace(StatEntry)
public boolean validateEntry(StatEntry entry)
AbstractStatFieldListener
validateEntry
in class AbstractStatFieldListener
AbstractStatFieldListener.validateEntry(StatEntry)
public void processEntry(StatEntry entry, Object workspace, Map workspaceMap)
AbstractStatFieldListener
processEntry
in class AbstractStatFieldListener
AbstractStatFieldListener.processEntry(StatEntry, Object, Map)
protected void processEntry(StatEntry entry, Object workspace, Map workspaceMap, Collection skip)
public void addListener(AbstractStatFieldListener l)
l
- public void removeListener(AbstractStatFieldListener l)
l
- public SortedSet getCurrentObjSet(String mapKey)
getCurrentObjSet
in class AbstractStatFieldListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |