com.softslate.commerce.administrator.importexport
Class ExportForm
java.lang.Object
org.apache.struts.action.ActionForm
com.softslate.commerce.customer.core.BaseForm
com.softslate.commerce.administrator.importexport.ExportForm
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- FroogleForm, OrdersExportForm, ProductExportForm
public class ExportForm
- extends BaseForm
Action form class corresponding to the common text file export forms (for
options, attributes, and categories).
- Author:
- Ashish Jain
- See Also:
- Serialized Form
| Fields inherited from class org.apache.struts.action.ActionForm |
multipartRequestHandler, servlet |
| Methods inherited from class com.softslate.commerce.customer.core.BaseForm |
formUtils, getBusinessObjectFactory, getErrors, getMapping, getMessage, getMessages, getRequest, getSettings, getUser, initializeProperties, setBusinessObjectFactory, setErrors, setMapping, setMessages, setRequest, setSettings, setUser |
| Methods inherited from class org.apache.struts.action.ActionForm |
getMultipartRequestHandler, getServlet, getServletWrapper, reset, reset, setMultipartRequestHandler, setServlet, validate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
OUTPUT_FORMAT_TAB
public static final java.lang.String OUTPUT_FORMAT_TAB
- See Also:
- Constant Field Values
OUTPUT_FORMAT_PIPE
public static final java.lang.String OUTPUT_FORMAT_PIPE
- See Also:
- Constant Field Values
OUTPUT_FORMAT_CSV
public static final java.lang.String OUTPUT_FORMAT_CSV
- See Also:
- Constant Field Values
OUTPUT_FORMAT_EXCEL
public static final java.lang.String OUTPUT_FORMAT_EXCEL
- See Also:
- Constant Field Values
tableFields
protected java.util.Collection tableFields
selectedFields
protected java.lang.String[] selectedFields
fieldsAll
protected java.lang.String fieldsAll
headerRow
protected java.lang.String headerRow
outputFormat
protected java.lang.String outputFormat
tableName
protected java.lang.String tableName
downloadOrWriteFile
private java.lang.String downloadOrWriteFile
directoryOnServer
private java.lang.String directoryOnServer
ExportForm
public ExportForm()
getDownloadOrWriteFile
public java.lang.String getDownloadOrWriteFile()
setDownloadOrWriteFile
public void setDownloadOrWriteFile(java.lang.String downloadOrWriteFile)
getDirectoryOnServer
public java.lang.String getDirectoryOnServer()
setDirectoryOnServer
public void setDirectoryOnServer(java.lang.String directoryOnServer)
getFieldsAll
public java.lang.String getFieldsAll()
- Returns:
- the fieldsAll
setFieldsAll
public void setFieldsAll(java.lang.String fieldsAll)
- Parameters:
fieldsAll - the fieldsAll to set
getHeaderRow
public java.lang.String getHeaderRow()
- Returns:
- the headerRow
setHeaderRow
public void setHeaderRow(java.lang.String headerRow)
- Parameters:
headerRow - the headerRow to set
getOutputFormat
public java.lang.String getOutputFormat()
- Returns:
- the outputFormat
setOutputFormat
public void setOutputFormat(java.lang.String outputFormat)
- Parameters:
outputFormat - the outputFormat to set
getSelectedFields
public java.lang.String[] getSelectedFields()
- Returns:
- the selectedFields
setSelectedFields
public void setSelectedFields(java.lang.String[] selectedFields)
- Parameters:
selectedFields - the selectedFields to set
getTableFields
public java.util.Collection getTableFields()
- Returns:
- the tableFields
setTableFields
public void setTableFields(java.util.Collection tableFields)
- Parameters:
tableFields - the tableFields to set
getTableName
public java.lang.String getTableName()
- Returns:
- the tableName
setTableName
public void setTableName(java.lang.String tableName)
- Parameters:
tableName - the tableName to set
validate
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
- Overrides:
validate in class org.apache.struts.action.ActionForm
Copyright © SoftSlate, LLC 2003–2012