|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.struts.action.Action
com.softslate.commerce.customer.core.BaseAction
com.softslate.commerce.administrator.importexport.CommonExportAction
com.softslate.commerce.administrator.importexport.OrdersExportAction
public class OrdersExportAction
Struts Action class that gets invoked when user exports orders. This class extends CommonExportAction class. It overrides the "buildFileData" method to prevent duplicate records from appearing in the order export. Because the order export queries multiple database tables, duplicate records are possible if not all fields are being exported.
| Field Summary | |
|---|---|
(package private) static org.apache.commons.logging.Log |
log
|
| Fields inherited from class org.apache.struts.action.Action |
|---|
servlet |
| Constructor Summary | |
|---|---|
OrdersExportAction()
|
|
| Method Summary | |
|---|---|
java.lang.String[][] |
buildFileData(java.lang.String[] headerStr,
java.util.Collection businessObjects,
boolean includeHeader)
This overriding method eliminates duplicate records from the data being exported. |
| Methods inherited from class com.softslate.commerce.administrator.importexport.CommonExportAction |
|---|
buildFileRowColumnData, buildHeader, eliminateDuplicateRows, execute |
| 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
static org.apache.commons.logging.Log log
| Constructor Detail |
|---|
public OrdersExportAction()
| Method Detail |
|---|
public java.lang.String[][] buildFileData(java.lang.String[] headerStr,
java.util.Collection businessObjects,
boolean includeHeader)
throws java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException,
java.lang.NoSuchMethodException
buildFileData in class CommonExportActionjava.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.NoSuchMethodException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||