|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.OptionsExportAction
public class OptionsExportAction
Struts Action class that gets invoked when user exports options. This class extends CommonExportAction class. It overrides the "buildFileRowColumnData" method, so that custom rowColumn data can be pulled from the Option object. Option is Hibernate object, hence some data can be accessed lazily.
Field Summary | |
---|---|
(package private) static org.apache.commons.logging.Log |
log
|
Fields inherited from class org.apache.struts.action.Action |
---|
defaultLocale, servlet |
Constructor Summary | |
---|---|
OptionsExportAction()
|
Method Summary | |
---|---|
protected java.lang.String |
buildFileRowColumnData(java.lang.String headerStr,
BusinessObject businessObject)
This overriding method populates "attributeCode" from Option Object, as these can't be accessed by BeanUtils.getProperty(). |
Methods inherited from class com.softslate.commerce.administrator.importexport.CommonExportAction |
---|
buildFileData, buildHeader, execute, generateOutput, writeToOutput |
Methods inherited from class org.apache.struts.action.Action |
---|
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, 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 OptionsExportAction()
Method Detail |
---|
protected java.lang.String buildFileRowColumnData(java.lang.String headerStr, BusinessObject businessObject) throws java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
buildFileRowColumnData
in class CommonExportAction
headerStr
- businessObject
-
java.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 |