org.davesag.generica.controller
Class AbstractActionController

java.lang.Object
  extended byorg.davesag.generica.controller.AbstractController
      extended byorg.davesag.generica.controller.AbstractActionController
All Implemented Interfaces:
ActionController, Controller
Direct Known Subclasses:
AbstractHibernateController, SimpleUploadController

public abstract class AbstractActionController
extends AbstractController
implements ActionController

The AbstractActionController is a good root class for all of your ActionController s. Extend this and implement whichever specific ActionController interface you need.

Since:
Generica 1.0
Version:
CVS Revision $Id: AbstractActionController.java,v 1.3 2004/03/30 13:00:40 davesag Exp $
Author:
Dave Sag http://www.davesag.com

Field Summary
protected  AbstractAction theAction
           
 
Fields inherited from class org.davesag.generica.controller.AbstractController
theForm, theRequest, theResponse, theSession
 
Constructor Summary
AbstractActionController()
           
 
Method Summary
 AbstractAction getAction()
          get the struts action.
 MessageResources getMessages()
          get the web app's message resources.
 void setAction(AbstractAction action)
          Sets the struts action.
 
Methods inherited from class org.davesag.generica.controller.AbstractController
getApplication, getForm, getLocale, getRequest, getResponse, getSession, setForm, setRequest, setResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.davesag.generica.controller.Controller
setForm, setRequest, setResponse
 

Field Detail

theAction

protected AbstractAction theAction
Constructor Detail

AbstractActionController

public AbstractActionController()
Method Detail

setAction

public void setAction(AbstractAction action)
Sets the struts action.

Specified by:
setAction in interface ActionController
Parameters:
action - The action.

getAction

public AbstractAction getAction()
get the struts action.

Returns:
the struts action.

getMessages

public MessageResources getMessages()
get the web app's message resources.

Returns:
The Web Application's message resources.


Dave Sag Generica API version 0.5.9 - (prerelease) Copyright 2003 - 2004 Dave Sag.