org.scrashmeow.ojb.console.framework
Class OjbcAction

java.lang.Object
  |
  +--org.apache.struts.action.Action
        |
        +--org.scrashmeow.ojb.console.framework.OjbcAction
All Implemented Interfaces:
ApplicationServiceAware, java.io.Serializable

public class OjbcAction
extends org.apache.struts.action.Action
implements ApplicationServiceAware

Base class for a simple Action

Author:
Alexander Bibighaus
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.action.Action
ACTION_SERVLET_KEY, APPLICATION_KEY, DATA_SOURCE_KEY, defaultLocale, ERROR_KEY, EXCEPTION_KEY, FORM_BEANS_KEY, FORWARDS_KEY, LOCALE_KEY, MAPPING_KEY, MAPPINGS_KEY, MESSAGE_KEY, MESSAGES_KEY, MULTIPART_KEY, PLUG_INS_KEY, REQUEST_PROCESSOR_KEY, servlet, SERVLET_KEY, TRANSACTION_TOKEN_KEY
 
Constructor Summary
OjbcAction()
          Constructor for BaseAction.
 
Method Summary
 org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, HttpServletRequest request, HttpServletResponse response)
           
 ApplicationService getApplicationService()
          Returns the applicationService.
protected  void initializeUserSession(HttpServletRequest request)
          Method initializeUserSession @add-javadoc!!!
 
Methods inherited from class org.apache.struts.action.Action
execute, execute, generateToken, getDataSource, getDataSource, getLocale, getResources, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, perform, perform, resetToken, saveErrors, saveMessages, saveToken, setLocale, setServlet, toHex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OjbcAction

public OjbcAction()
Constructor for BaseAction.

Method Detail

getApplicationService

public ApplicationService getApplicationService()
Returns the applicationService.

Specified by:
getApplicationService in interface ApplicationServiceAware
Returns:
ActionServletApplicationService

initializeUserSession

protected void initializeUserSession(HttpServletRequest request)
                              throws ServiceException
Method initializeUserSession @add-javadoc!!!

Parameters:
request - @add-javadoc!!!
Throws:
ServiceException - @add-javadoc!!!

execute

public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping,
                                                      org.apache.struts.action.ActionForm form,
                                                      HttpServletRequest request,
                                                      HttpServletResponse response)
                                               throws java.lang.Exception
Overrides:
execute in class org.apache.struts.action.Action
Parameters:
mapping - @add-javadoc!!!
form - @add-javadoc!!!
request - @add-javadoc!!!
response - @add-javadoc!!!
Returns:
@add-javadoc!!!
Throws:
java.lang.Exception - @add-javadoc!!!
See Also:
org.apache.struts.action.Action#execute(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse)


Copyright © 2003 Alexander Bibighaus et al. All Rights Reserved.