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
FieldsModifier and TypeFieldDescription(package private) static org.apache.commons.logging.Logprotected static final ThreadLocalFields inherited from class org.apache.struts.action.Action
servlet -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringbuildFileRowColumnData(String headerStr, BusinessObject businessObject) protected String[]buildHeader(ExportForm baseForm) org.apache.struts.action.ActionForwardexecute(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, eliminateDuplicateRowsMethods 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:
executein classCommonExportAction- Throws:
Exception
-
buildHeader
- Overrides:
buildHeaderin classCommonExportAction
-
buildFileRowColumnData
protected String buildFileRowColumnData(String headerStr, BusinessObject businessObject) throws IllegalAccessException, InvocationTargetException - Overrides:
buildFileRowColumnDatain classCommonExportAction- Throws:
IllegalAccessExceptionInvocationTargetException
-
escapeXML
-
formatForNull
-
lookupManufacturerName
-