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
FieldsModifier and TypeFieldDescriptionprivate Stringprivate Stringprotected Stringprivate Stringprotected Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected Stringprotected String[]private static final longprotected Collectionprotected StringFields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]voidsetDirectoryOnServer(String directoryOnServer) voidsetDownloadOrWriteFile(String downloadOrWriteFile) voidsetFieldsAll(String fieldsAll) voidsetFileName(String fileName) voidsetHeaderRow(String headerRow) voidsetOutputFormat(String outputFormat) voidsetSelectedFields(String[] selectedFields) voidsetTableFields(Collection tableFields) voidsetTableName(String tableName) org.apache.struts.action.ActionErrorsvalidate(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, setUserMethods 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:
validatein classorg.apache.struts.action.ActionForm
-