org.enableit.db.darrt.web
Class SchemaAction

java.lang.Object
  |
  +--org.apache.struts.action.Action
        |
        +--org.enableit.db.darrt.web.SchemaAction

public class SchemaAction
extends org.apache.struts.action.Action

Version:
$Revision: 1.17 $ $Date: 2004/03/20 05:25:03 $
Author:
Tim Stephenson

Field Summary
static java.lang.String PARM_OUTPUT_MODE
           
 
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
SchemaAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Process a request for database schema meta-data, making the result available via both Java object and Xml document in the application scope.
protected  boolean getRefresh(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
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
 

Field Detail

PARM_OUTPUT_MODE

public static final java.lang.String PARM_OUTPUT_MODE
See Also:
Constant Field Values
Constructor Detail

SchemaAction

public SchemaAction()
Method Detail

getRefresh

protected boolean getRefresh(org.apache.struts.action.ActionMapping mapping,
                             org.apache.struts.action.ActionForm form,
                             javax.servlet.http.HttpServletRequest request,
                             javax.servlet.http.HttpServletResponse response)
Returns:
true if any existing schema file should be removed and a current one exported.

execute

public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping,
                                                      org.apache.struts.action.ActionForm form,
                                                      javax.servlet.http.HttpServletRequest request,
                                                      javax.servlet.http.HttpServletResponse response)
                                               throws java.lang.Exception
Process a request for database schema meta-data, making the result available via both Java object and Xml document in the application scope.

Overrides:
execute in class org.apache.struts.action.Action
java.lang.Exception


Copyright © 1999-2004 enableIT.org. All Rights Reserved.