com.aoindustries.website
Class SiteSettingsAction

java.lang.Object
  extended by Action
      extended by com.aoindustries.website.SiteSettingsAction
Direct Known Subclasses:
LocaleAction

public class SiteSettingsAction
extends Action

Resolves the current SiteSettings, sets the request param siteSettings, and calls subclass implementation.

Author:
Dan Armstrong <dan@aoindustries.com>

Constructor Summary
SiteSettingsAction()
           
 
Method Summary
 ActionForward execute(ActionMapping mapping, ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Resolves the SiteSettings, sets the request attribute "siteSettings", then the subclass execute method is invoked.
 ActionForward execute(ActionMapping mapping, ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, SiteSettings siteSettings)
          Once the siteSettings are resolved, this version of the execute method is invoked.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SiteSettingsAction

public SiteSettingsAction()
Method Detail

execute

public final ActionForward execute(ActionMapping mapping,
                                   ActionForm form,
                                   javax.servlet.http.HttpServletRequest request,
                                   javax.servlet.http.HttpServletResponse response)
                            throws java.lang.Exception
Resolves the SiteSettings, sets the request attribute "siteSettings", then the subclass execute method is invoked.

Throws:
java.lang.Exception
See Also:
#execute(ActionMapping,ActionForm,HttpServletRequest,HttpServletResponse,Locale)

execute

public ActionForward execute(ActionMapping mapping,
                             ActionForm form,
                             javax.servlet.http.HttpServletRequest request,
                             javax.servlet.http.HttpServletResponse response,
                             SiteSettings siteSettings)
                      throws java.lang.Exception
Once the siteSettings are resolved, this version of the execute method is invoked. The default implementation of this method simply returns the mapping of "success".

Throws:
java.lang.Exception