Class CategoriesExportAction

java.lang.Object
org.apache.struts.action.Action

public class CategoriesExportAction extends CommonExportAction
Struts Action class that gets invoked when user exports categories. This extends CommonExportAction class. This class overrides the "buildFileRowColumnData" method, so that custom rowColumn data can be pulled from the Category object.
Author:
Ashish Jain, David Tobey
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) static org.apache.commons.logging.Log
     

    Fields inherited from class org.apache.struts.action.Action

    servlet
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
    buildFileRowColumnData(String headerStr, BusinessObject businessObject)
    This overriding method populates "parentCategoryCode" from the Category Object, as these can't be accessed by BeanUtils.getProperty(..)

    Methods inherited from class com.softslate.commerce.administrator.importexport.CommonExportAction

    buildFileData, 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