skoinfo.rfc.database.action
Class DumpAction
java.lang.Object
com.opensymphony.xwork2.ActionSupport
skoinfo.rfc.common.action.AbstractAction
skoinfo.rfc.database.action.DumpAction
- All Implemented Interfaces:
- com.opensymphony.xwork2.Action, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, com.opensymphony.xwork2.ValidationAware, java.io.Serializable, org.apache.struts2.interceptor.ServletRequestAware, org.apache.struts2.interceptor.ServletResponseAware
public class DumpAction
- extends AbstractAction
- implements org.apache.struts2.interceptor.ServletRequestAware, org.apache.struts2.interceptor.ServletResponseAware
Database Dump Action 처리
- Version:
- RFC 1.1 Released, 2008.12.09
- Author:
- 조용로
- See Also:
- Serialized Form
Fields inherited from interface com.opensymphony.xwork2.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Methods inherited from class skoinfo.rfc.common.action.AbstractAction |
getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts |
Methods inherited from class com.opensymphony.xwork2.ActionSupport |
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setFieldErrors, validate |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DumpAction
public DumpAction()
execute
public java.lang.String execute()
throws java.lang.Exception
- Specified by:
execute
in interface com.opensymphony.xwork2.Action
- Overrides:
execute
in class com.opensymphony.xwork2.ActionSupport
- Throws:
java.lang.Exception
dumpDatabase
public void dumpDatabase(java.lang.String fileName)
throws java.io.FileNotFoundException,
java.sql.SQLException
- Throws:
java.io.FileNotFoundException
java.sql.SQLException
listAll
public void listAll()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
setServletRequest
public void setServletRequest(javax.servlet.http.HttpServletRequest request)
HttpServletRequest setter
- Specified by:
setServletRequest
in interface org.apache.struts2.interceptor.ServletRequestAware
setServletResponse
public void setServletResponse(javax.servlet.http.HttpServletResponse response)
HttpServletResponse setter
- Specified by:
setServletResponse
in interface org.apache.struts2.interceptor.ServletResponseAware
getContentType
public java.lang.String getContentType()
- Returns:
setContentType
public void setContentType(java.lang.String contentType)
- Parameters:
contentType
-
getContentDisposition
public java.lang.String getContentDisposition()
- Returns:
setContentDisposition
public void setContentDisposition(java.lang.String contentDisposition)
- Parameters:
contentDisposition
-
getInputStream
public java.io.InputStream getInputStream()
- Returns:
setInputStream
public void setInputStream(java.io.InputStream inputStream)
- Parameters:
inputStream
-
getContentLength
public long getContentLength()
- Returns:
setContentLength
public void setContentLength(long contentLength)
- Parameters:
contentLength
-