com.softslate.commerce.businessobjects.importexport
Class BasicImportExportProcessor
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
com.softslate.commerce.businessobjects.importexport.BasicImportExportProcessor
- All Implemented Interfaces:
- BusinessObject, BusinessProcessor, ImportExportProcessor
- Direct Known Subclasses:
- BasicExportProcessor, BasicImportProcessor
public class BasicImportExportProcessor
- extends BaseBusinessProcessor
- implements ImportExportProcessor
Base class with common methods handling the processing of text file imports
and exports.
- Author:
- David Tobey, Ashish Jain
Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessProcessor |
formatDateTime, formatPrice, getAppComponents, getAppSettings, getAttributeIDs, getBusinessObjectFactory, getDaoFactory, getProductIDs, getSettings, getUser, initialize, loadMatchingSkus, parseDateTime, parseResponseData, prepareRequestData, sendHTTPPost, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setSettings, setUser, utils |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessProcessor |
getAppComponents, getAppSettings, getBusinessObjectFactory, getDaoFactory, getSettings, getUser, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setSettings, setUser, utils |
log
static org.apache.commons.logging.Log log
PRODUCT_TABLE
public static final java.lang.String PRODUCT_TABLE
- See Also:
- Constant Field Values
CATEGORY_TABLE
public static final java.lang.String CATEGORY_TABLE
- See Also:
- Constant Field Values
ATTRIBUTE_TABLE
public static final java.lang.String ATTRIBUTE_TABLE
- See Also:
- Constant Field Values
SKU_TABLE
public static final java.lang.String SKU_TABLE
- See Also:
- Constant Field Values
OPTION_TABLE
public static final java.lang.String OPTION_TABLE
- See Also:
- Constant Field Values
ORDER_TABLE
public static final java.lang.String ORDER_TABLE
- See Also:
- Constant Field Values
productDAO
public ProductDAO productDAO
categoryDAO
public CategoryDAO categoryDAO
attributeDAO
public AttributeDAO attributeDAO
optionDAO
public OptionDAO optionDAO
manufacturerDAO
public ManufacturerDAO manufacturerDAO
BasicImportExportProcessor
public BasicImportExportProcessor()
loadColumnNames
public java.util.Collection loadColumnNames(java.lang.String tableName,
boolean filterId)
throws java.lang.Exception
- Specified by:
loadColumnNames
in interface ImportExportProcessor
- Throws:
java.lang.Exception
getImplementorNameFromTableName
public java.lang.String getImplementorNameFromTableName(java.lang.String tableName)
throws java.lang.Exception
- Throws:
java.lang.Exception
filterColumns
public java.util.Collection filterColumns(java.util.Collection columns,
java.lang.String tableName)
throws java.lang.Exception
- Throws:
java.lang.Exception
filterColumns
public java.util.Collection filterColumns(java.util.Collection columns,
java.lang.String[] filterColumnNames)
processExport
public java.util.Collection processExport(java.util.Map parameters)
throws java.lang.Exception
- Specified by:
processExport
in interface ImportExportProcessor
- Throws:
java.lang.Exception
processProductExport
public java.util.Collection processProductExport(java.util.Map parameters)
throws java.lang.Exception
- Throws:
java.lang.Exception
processCategoryExport
public java.util.Collection processCategoryExport(java.util.Map parameters)
throws java.lang.Exception
- Throws:
java.lang.Exception
processAttributeExport
public java.util.Collection processAttributeExport(java.util.Map parameters)
throws java.lang.Exception
- Throws:
java.lang.Exception
processOptionExport
public java.util.Collection processOptionExport(java.util.Map parameters)
throws java.lang.Exception
- Throws:
java.lang.Exception
processOrderExport
public java.util.Collection processOrderExport(java.util.Map parameters)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright ? SoftSlate, LLC 2003?2005