Class FroogleProcessActionTabDelim
java.lang.Object
org.apache.struts.action.Action
com.softslate.commerce.customer.core.BaseAction
com.softslate.commerce.administrator.importexport.CommonExportAction
com.softslate.commerce.administrator.importexport.FroogleProcessActionTabDelim
- Direct Known Subclasses:
FroogleProcessAction
Struts action class that corresponds to the processing of the Froogle export.
Used for requests to "/administrator/FroogleProcess.do".
The execute
method of this class populates a
ProductListBean
named productList
in the request
scope containing all the active products. Next, it sets the response header
in such a way that the browser will prompt the user to open or download the
response as a file.
- Author:
- David Tobey
-
Field Summary
Modifier and TypeFieldDescription(package private) static org.apache.commons.logging.Log
protected static final ThreadLocal
Fields inherited from class org.apache.struts.action.Action
servlet
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
buildFileRowColumnData
(String headerStr, BusinessObject businessObject) protected String[]
buildHeader
(ExportForm baseForm) org.apache.struts.action.ActionForward
execute
(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) formatForNull
(String input) lookupManufacturerName
(Integer manufacturerID, Collection manufacturers) Methods inherited from class com.softslate.commerce.administrator.importexport.CommonExportAction
buildFileData, eliminateDuplicateRows
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
-
Field Details
-
log
static org.apache.commons.logging.Log log -
threadLocal
-
-
Constructor Details
-
FroogleProcessActionTabDelim
public FroogleProcessActionTabDelim()
-
-
Method Details
-
execute
public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception - Overrides:
execute
in classCommonExportAction
- Throws:
Exception
-
buildHeader
- Overrides:
buildHeader
in classCommonExportAction
-
buildFileRowColumnData
protected String buildFileRowColumnData(String headerStr, BusinessObject businessObject) throws IllegalAccessException, InvocationTargetException - Overrides:
buildFileRowColumnData
in classCommonExportAction
- Throws:
IllegalAccessException
InvocationTargetException
-
escapeXML
-
formatForNull
-
lookupManufacturerName
-