All Packages Class Hierarchy This Package Previous Next Index
Class com.expershop.esapi.Action
java.lang.Object
|
+----com.expershop.esapi.Action
- public abstract class Action
- extends Object
- implements ESAction
An Expershop Action.
To be used by programmers (in the ExperShop API)
-
Action()
-
-
processRequest(ESClient, ESServletRequest, Object)
- INTERNAL USE: DO NOT OVERRIDE THIS METHOD
-
serverSide()
- Tells if the action is a server-side only action or not.
Server-side actions can only be invoked in the templates using $Action,
and can't be passed as HTTP parameters.
-
service(Session, ServletRequest, Object)
- This method should be overridden by programmers, to implement the action.
Action
public Action()
processRequest
public boolean processRequest(ESClient session,
ESServletRequest req,
Object info) throws Exception
- INTERNAL USE: DO NOT OVERRIDE THIS METHOD
service
public abstract boolean service(Session s,
ServletRequest r,
Object info) throws Exception
- This method should be overridden by programmers, to implement the action.
- Parameters:
- s - The user session
- r - The servlet request that contains the parameters
- info - An optional info parameter, default null
- Returns:
- true if the action succeeds, or false if the action fails.
serverSide
public abstract boolean serverSide()
- Tells if the action is a server-side only action or not.
Server-side actions can only be invoked in the templates using $Action,
and can't be passed as HTTP parameters.
- Returns:
- true for server-side actions, false otherwise.
All Packages Class Hierarchy This Package Previous Next Index