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:
Serializable
- Direct Known Subclasses:
FroogleForm
,OrdersExportForm
,ProductExportForm
Action form class corresponding to the common text file export forms (for
options, attributes, and categories).
- Author:
- Ashish Jain
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprivate String
private String
protected String
private String
protected String
static final String
static final String
static final String
static final String
protected String
protected String[]
private static final long
protected Collection
protected String
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionString[]
void
setDirectoryOnServer
(String directoryOnServer) void
setDownloadOrWriteFile
(String downloadOrWriteFile) void
setFieldsAll
(String fieldsAll) void
setFileName
(String fileName) void
setHeaderRow
(String headerRow) void
setOutputFormat
(String outputFormat) void
setSelectedFields
(String[] selectedFields) void
setTableFields
(Collection tableFields) void
setTableName
(String tableName) org.apache.struts.action.ActionErrors
validate
(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request) Methods inherited from class com.softslate.commerce.customer.core.BaseForm
formUtils, getBusinessObjectFactory, getErrors, getMapping, getMessage, getMessages, getRequest, getSettings, getUser, html5OrXhtml, 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
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
OUTPUT_FORMAT_TAB
- See Also:
-
OUTPUT_FORMAT_PIPE
- See Also:
-
OUTPUT_FORMAT_CSV
- See Also:
-
OUTPUT_FORMAT_EXCEL
- See Also:
-
tableFields
-
selectedFields
-
fieldsAll
-
headerRow
-
outputFormat
-
tableName
-
downloadOrWriteFile
-
directoryOnServer
-
fileName
-
-
Constructor Details
-
ExportForm
public ExportForm()
-
-
Method Details
-
getDownloadOrWriteFile
-
setDownloadOrWriteFile
-
getDirectoryOnServer
-
setDirectoryOnServer
-
getFileName
-
setFileName
-
getFieldsAll
- Returns:
- the fieldsAll
-
setFieldsAll
- Parameters:
fieldsAll
- the fieldsAll to set
-
getHeaderRow
- Returns:
- the headerRow
-
setHeaderRow
- Parameters:
headerRow
- the headerRow to set
-
getOutputFormat
- Returns:
- the outputFormat
-
setOutputFormat
- Parameters:
outputFormat
- the outputFormat to set
-
getSelectedFields
- Returns:
- the selectedFields
-
setSelectedFields
- Parameters:
selectedFields
- the selectedFields to set
-
getTableFields
- Returns:
- the tableFields
-
setTableFields
- Parameters:
tableFields
- the tableFields to set
-
getTableName
- Returns:
- the tableName
-
setTableName
- 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 classorg.apache.struts.action.ActionForm
-