|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jalios.jcms.policy.AbstractPolicyFilter com.jalios.jcms.policy.BasicStatPolicyFilter
public class BasicStatPolicyFilter
This class is a hook to allow developer to add custom stat behaviour
without implementing many StatListener
StatPolicyFilter
Field Summary | |
---|---|
static String |
REVISION
|
Fields inherited from class com.jalios.jcms.policy.AbstractPolicyFilter |
---|
order |
Constructor Summary | |
---|---|
BasicStatPolicyFilter()
|
Method Summary | |
---|---|
boolean |
checkAfterValidateEntry(AbstractStatFieldListener listener,
StatEntry entry,
boolean jcms)
This method is a Hook for handleStatEntry() method of AbstractStatFieldListener. |
boolean |
checkBeforeValidateEntry(AbstractStatFieldListener listener,
StatEntry entry,
boolean jcms)
This method is a Hook for handleStatEntry() method of AbstractStatFieldListener. |
StatListener |
checkCreateStatListener(PortletStat portlet,
PortalElement report,
StatListener listener)
This method is a Hook for createStatListener() method of StatManager. |
void |
checkEndOfStatEntries(AbstractStatFieldListener listener,
Map workspaceMap)
This method is a Hook for handleEndOfStatEntries() method of AbstractStatFieldListener. |
void |
checkGeneratedReports(Map jspMap,
StatReport report,
Member member)
This method is a Hook for method StaManager.render(). |
void |
checkProcessEntry(Map workspaceMap,
AbstractStatFieldListener listener,
StatEntry entry,
Object workspace)
This method is a Hook for handleStatEntry() method of AbstractStatFieldListener. |
StatListener |
createStatListener(PortletStat portlet,
PortalElement report,
StatListener listener)
This method is a Hook to createStatListener() method of StatManager. |
boolean |
init(Plugin plugin)
Initialize the component with the given plugin configuration |
void |
initListener(AbstractStatListener listener)
This method is a Hook for init() method of AbstractStatListener. |
Methods inherited from class com.jalios.jcms.policy.AbstractPolicyFilter |
---|
compareTo, equals, getOrder, setOrder |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Field Detail |
---|
public static final String REVISION
Constructor Detail |
---|
public BasicStatPolicyFilter()
Method Detail |
---|
public boolean init(Plugin plugin)
PluginComponent
init
in interface PluginComponent
plugin
- the calling plugin
PluginComponent.init(Plugin)
public void initListener(AbstractStatListener listener)
StatPolicyFilter
initListener
in interface StatPolicyFilter
listener
- an AbstractStatListenerStatPolicyFilter.initListener(AbstractStatListener)
public void checkEndOfStatEntries(AbstractStatFieldListener listener, Map workspaceMap)
StatPolicyFilter
checkEndOfStatEntries
in interface StatPolicyFilter
listener
- an AbstractStatListenerworkspaceMap
- the workspaceMapStatPolicyFilter.checkEndOfStatEntries(AbstractStatFieldListener, Map)
public boolean checkBeforeValidateEntry(AbstractStatFieldListener listener, StatEntry entry, boolean jcms)
StatPolicyFilter
checkBeforeValidateEntry
in interface StatPolicyFilter
listener
- an AbstractStatListenerentry
- the StatEntryjcms
- the value calculated by jcms
StatPolicyFilter.checkBeforeValidateEntry(AbstractStatFieldListener, StatEntry, boolean)
public boolean checkAfterValidateEntry(AbstractStatFieldListener listener, StatEntry entry, boolean jcms)
StatPolicyFilter
checkAfterValidateEntry
in interface StatPolicyFilter
listener
- an AbstractStatListenerentry
- the StatEntryjcms
- the value calculated by jcms
StatPolicyFilter.checkAfterValidateEntry(AbstractStatFieldListener, StatEntry, boolean)
public void checkProcessEntry(Map workspaceMap, AbstractStatFieldListener listener, StatEntry entry, Object workspace)
StatPolicyFilter
checkProcessEntry
in interface StatPolicyFilter
workspaceMap
- the workspaceMaplistener
- an AbstractStatListenerentry
- the StatEntryworkspace
- the workspaceStatPolicyFilter.checkProcessEntry(Map, AbstractStatFieldListener, StatEntry, Object)
public void checkGeneratedReports(Map jspMap, StatReport report, Member member)
StatPolicyFilter
checkGeneratedReports
in interface StatPolicyFilter
jspMap
- the Map of templatesreport
- the StatReportmember
- the working memberStatPolicyFilter.checkGeneratedReports(Map, StatReport, Member)
public StatListener createStatListener(PortletStat portlet, PortalElement report, StatListener listener)
StatPolicyFilter
createStatListener
in interface StatPolicyFilter
portlet
- a PortletStatreport
- the PortalElementlistener
- the proposed listener or null
StatPolicyFilter.createStatListener(PortletStat, PortalElement, StatListener)
public StatListener checkCreateStatListener(PortletStat portlet, PortalElement report, StatListener listener)
StatPolicyFilter
checkCreateStatListener
in interface StatPolicyFilter
portlet
- a PortletStatreport
- the PortalElementlistener
- the created listener
StatPolicyFilter.checkCreateStatListener(PortletStat, PortalElement, StatListener)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |