|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ecyrd.jspwiki.plugin.PageViewPlugin.PageViewManager
public final class PageViewPlugin.PageViewManager
Page view manager, handling all storage.
| Constructor Summary | |
|---|---|
PageViewPlugin.PageViewManager()
|
|
| Method Summary | |
|---|---|
void |
actionPerformed(WikiEvent event)
Inspect wiki events for shutdown. |
String |
execute(WikiContext context,
Map params)
Count a page hit, present a pages' counter or output a list of pagecounts. |
protected int |
getCount(Object key)
Retrieve a page count. |
void |
initialize(WikiEngine engine)
Initialize the page view manager. |
protected void |
storeCounters()
Save the page view counters to file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PageViewPlugin.PageViewManager()
| Method Detail |
|---|
public void initialize(WikiEngine engine)
engine - The wiki engine.public void actionPerformed(WikiEvent event)
actionPerformed in interface WikiEventListenerevent - The wiki event to inspect.
public String execute(WikiContext context,
Map params)
throws PluginException
context - the wiki contextparams - the plugin parameters
PluginException - Malformed pattern parameter.protected int getCount(Object key)
key - the key for the Counter
protected void storeCounters()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||