Class ImportForm
java.lang.Object
org.apache.struts.action.ActionForm
com.softslate.commerce.administrator.core.BaseSerializableForm
com.softslate.commerce.administrator.importexport.ImportForm
- All Implemented Interfaces:
Serializable
Action form class corresponding to the form where an import is described.
Corresponds to requests to /ImportUploadForm.do, /ImportPreviewProcess.do,
and /ImportProcess.do.
- Author:
- David Tobey, Ashish Jain
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprivate String
private String
private Collection
private String[]
private org.apache.struts.upload.FormFile
private String
private String
(package private) static org.apache.commons.logging.Log
private String
private String[]
private String
private String
private Collection
private static final long
private String
private String
private String
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetExcel()
String[]
org.apache.struts.upload.FormFile
getFile()
String[]
getTable()
void
reset
(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request) void
setDelimiter
(String delimiter) void
void
setFieldOptions
(Collection fieldOptions) void
void
setFile
(org.apache.struts.upload.FormFile file) void
setHeaderRow
(String headerRow) void
setImportBehavior
(String importBehavior) void
setOverwrite
(String overwrite) void
setParsedHeaderFields
(String[] parsedFields) void
setPathOnServer
(String pathOnServer) void
setPreviewCount
(String previewCount) void
setRecords
(Collection records) void
setSubmitProcess
(String submitProcess) void
void
setUseFileOnServer
(String useFileOnServer) org.apache.struts.action.ActionErrors
validate
(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request) Methods inherited from class com.softslate.commerce.administrator.core.BaseSerializableForm
arrayAppend, arrayPrepend, arrayRemove, containsUnsafeCharacter, getAddFormAction, getAssigned, getAssignments, getCantSortByFields, getChildEditAction, getChildName, getDeleteID, getDisplayFields, getEditDeleteFormAction, getEditFormAction, getEditMode, getEntity, getEntityProperty, getFieldLables, getFirstRow, getFormAction, getFormUtils, getGrandparentIDField, getGrandparentName, getGreatGrandparentIDField, getGreatGrandparentName, getIdField, getIdIntegers, getIdValues, getItemsPerPage, getJoinManyToManyParent, getManyToManyClass, getManyToManyKey, getManyToManyProp, getNameField, getOutputMode, getParentID, getParentIDField, getParentKey, getParentName, getParentProperty, getParentScreen, getSearchableFields, getSearchableIntFields, getSearchString, getSortAscOrDesc, getSortByString, isM2mChild, setAddFormAction, setAssigned, setAssignments, setCantSortByFields, setChildEditAction, setChildName, setDeleteID, setDisplayFields, setEditDeleteFormAction, setEditFormAction, setEditMode, setEntity, setEntityProperty, setFieldLables, setFirstRow, setFormAction, setGrandparentIDField, setGrandparentName, setGreatGrandparentIDField, setGreatGrandparentName, setIdField, setIdIntegers, setIdValues, setItemsPerPage, setJoinManyToManyParent, setM2mChild, setManyToManyClass, setManyToManyKey, setManyToManyProp, setNameField, setOutputMode, setParentID, setParentIDField, setParentKey, setParentName, setParentProperty, setParentScreen, setProperties, setSearchableFields, setSearchableIntFields, setSearchString, setSortAscOrDesc, setSortByString
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
log
static org.apache.commons.logging.Log log -
submitProcess
-
previewCount
-
table
-
delimiter
-
excel
-
useFileOnServer
-
pathOnServer
-
importBehavior
-
file
private org.apache.struts.upload.FormFile file -
headerRow
-
overwrite
-
fields
-
fieldOptions
-
records
-
parsedHeaderFields
-
-
Constructor Details
-
ImportForm
public ImportForm()
-
-
Method Details
-
getSubmitProcess
-
setSubmitProcess
-
getPreviewCount
-
setPreviewCount
-
getDelimiter
-
setDelimiter
-
getExcel
-
setExcel
-
getTable
-
setTable
-
getUseFileOnServer
-
setUseFileOnServer
-
getPathOnServer
-
setPathOnServer
-
getFile
public org.apache.struts.upload.FormFile getFile() -
setFile
public void setFile(org.apache.struts.upload.FormFile file) -
getFieldOptions
-
setFieldOptions
-
getFields
- Overrides:
getFields
in classBaseSerializableForm
-
setFields
- Overrides:
setFields
in classBaseSerializableForm
-
getHeaderRow
-
setHeaderRow
-
getRecords
-
setRecords
-
getImportBehavior
-
setImportBehavior
-
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
-
reset
public void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request) - Overrides:
reset
in classorg.apache.struts.action.ActionForm
-
getOverwrite
-
setOverwrite
-
getParsedHeaderFields
-
setParsedHeaderFields
-