org.scrashmeow.ojb.console.framework
Class OjbcLookupDispatchAction

java.lang.Object
  |
  +--org.apache.struts.action.Action
        |
        +--org.apache.struts.actions.DispatchAction
              |
              +--org.apache.struts.actions.LookupDispatchAction
                    |
                    +--org.scrashmeow.ojb.console.framework.OjbcLookupDispatchAction
All Implemented Interfaces:
ApplicationServiceAware, java.io.Serializable
Direct Known Subclasses:
BrowseAction, ObjectInitializeEditorAction, RepositoryEditorAction, ViewerAction

public class OjbcLookupDispatchAction
extends org.apache.struts.actions.LookupDispatchAction
implements ApplicationServiceAware

Base class for a LookupDispatchAction. This is the primary base class for most actions within the console.

Author:
Alexander Bibighaus
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.actions.LookupDispatchAction
keyMethodMap, localeMap
 
Fields inherited from class org.apache.struts.actions.DispatchAction
clazz, log, messages, methods, types
 
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
OjbcLookupDispatchAction()
          Constructor for BaseAction.
 
Method Summary
protected  Breadcrumbs createBreadcrumbs(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, HttpServletRequest request)
          Method createBreadcrumbs @add-javadoc!!!
 org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, HttpServletRequest request, HttpServletResponse response)
          Method execute @add-javadoc!!!
protected  org.apache.struts.action.ActionForward findRedirectingForward(java.lang.String path)
          Method findRedirectingForward @add-javadoc!!!
 ApplicationService getApplicationService()
          Returns the applicationService.
protected  java.util.Map getKeyMethodMap()
           
protected  void initializeUserSession(HttpServletRequest request)
          Method initializeUserSession @add-javadoc!!!
 
Methods inherited from class org.apache.struts.actions.LookupDispatchAction
execute
 
Methods inherited from class org.apache.struts.actions.DispatchAction
dispatchMethod, getMethod, unspecified
 
Methods inherited from class org.apache.struts.action.Action
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

OjbcLookupDispatchAction

public OjbcLookupDispatchAction()
Constructor for BaseAction.

Method Detail

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
Method execute @add-javadoc!!!

Overrides:
execute in class org.apache.struts.actions.LookupDispatchAction
Parameters:
mapping - @add-javadoc!!!
form - @add-javadoc!!!
request - @add-javadoc!!!
response - @add-javadoc!!!
Returns:
@add-javadoc!!!
Throws:
java.lang.Exception - @add-javadoc!!!

createBreadcrumbs

protected Breadcrumbs createBreadcrumbs(org.apache.struts.action.ActionMapping mapping,
                                        org.apache.struts.action.ActionForm form,
                                        HttpServletRequest request)
                                 throws ServiceException
Method createBreadcrumbs @add-javadoc!!!

Parameters:
mapping - @add-javadoc!!!
form - @add-javadoc!!!
request - @add-javadoc!!!
Returns:
@add-javadoc!!!
Throws:
ServiceException - @add-javadoc!!!

getApplicationService

public ApplicationService getApplicationService()
Returns the applicationService.

Specified by:
getApplicationService in interface ApplicationServiceAware
Returns:
ActionServletApplicationService

getKeyMethodMap

protected java.util.Map getKeyMethodMap()
Specified by:
getKeyMethodMap in class org.apache.struts.actions.LookupDispatchAction
Returns:
@add-javadoc!!!
See Also:
LookupDispatchAction.getKeyMethodMap()

initializeUserSession

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

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

findRedirectingForward

protected org.apache.struts.action.ActionForward findRedirectingForward(java.lang.String path)
Method findRedirectingForward @add-javadoc!!!

Parameters:
path - @add-javadoc!!!
Returns:
@add-javadoc!!!


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