thinkmap.server.actions
Class ResetStatsAction

java.lang.Object
  extended by thinkmap.server.actions.ResetStatsAction
All Implemented Interfaces:
IAction, IDataSourceAction, JSONSerializable

public class ResetStatsAction
extends Object
implements IDataSourceAction

Version:
$Revision: 1.1 $

Constructor Summary
ResetStatsAction()
           
 
Method Summary
 Object apply(HttpServletRequest request, DataSourceContext datasource)
          Work on an IDataSource
 boolean canApply(DataSourceContext datasource)
           
 String getDescription()
          Get a long description of this action.
 String getId()
          Get a unique identifier for this action
 String getName()
          Get a human readable name for this action
 ActionParameter[] getParameters()
          Return the parameters that this action takes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResetStatsAction

public ResetStatsAction()
Method Detail

getName

public String getName()
Description copied from interface: IAction
Get a human readable name for this action

Specified by:
getName in interface IAction

getId

public String getId()
Description copied from interface: IAction
Get a unique identifier for this action

Specified by:
getId in interface IAction

getParameters

public ActionParameter[] getParameters()
Description copied from interface: IAction
Return the parameters that this action takes. Return null if this action takes no parameters.

Specified by:
getParameters in interface IAction
Returns:
the parameters that this action takes. Return null if this action takes no parameters.

getDescription

public String getDescription()
Description copied from interface: IAction
Get a long description of this action.

Specified by:
getDescription in interface IAction
Returns:
a long description of this action.

canApply

public boolean canApply(DataSourceContext datasource)
Specified by:
canApply in interface IDataSourceAction

apply

public Object apply(HttpServletRequest request,
                    DataSourceContext datasource)
             throws Exception
Description copied from interface: IDataSourceAction
Work on an IDataSource

Specified by:
apply in interface IDataSourceAction
Throws:
Exception


Copyright © 2013 Thinkmap, Inc. All Rights Reserved.