public class PrestaShopMapper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
PRODUCT_NAME_SHIPPING |
static String |
SALES_TAX_0 |
static String |
UOM_NAME_PIECE |
Constructor and Description |
---|
PrestaShopMapper(javax.jdo.PersistenceManager pm,
String providerName,
String segmentName,
String shopName,
boolean emailAddressMustBeUnique,
Connection conn,
String tablePrefix) |
Modifier and Type | Method and Description |
---|---|
protected String |
bigDecimalToString(BigDecimal value) |
protected void |
closePreparedStatement(PreparedStatement ps) |
protected void |
closeResultSet(ResultSet rs) |
protected void |
createOrUpdateProduct(String productNumber,
String productName,
List<org.opencrx.application.shop1.cci2.ProductDescriptionT> productDescriptionsT,
String dimension,
BigDecimal weight,
List<String> alternateProductNumbers,
BigDecimal price) |
protected void |
createOrUpdateSalesTax(String name,
BigDecimal rate) |
protected String |
getCustomerNumber(int id_customer) |
int |
getLanguageCode(int id_lang) |
protected String |
getProductNumber(int id_product,
int id_product_attribute) |
protected String |
getSalesOrderNumber(String customerNumber,
int id_order) |
protected String |
getUserName(int id_customer) |
org.opencrx.application.shop1.cci2.CustomerT |
mapCustomer(ResultSet rs) |
void |
mapOrder(ResultSet orders) |
void |
mapOrderHistory(ResultSet rs) |
void |
mapProduct(ResultSet rs) |
protected org.opencrx.application.shop1.cci2.PostalAddressT |
newPostalAddressT(int id_address) |
public static final String PRODUCT_NAME_SHIPPING
public static final String UOM_NAME_PIECE
public static final String SALES_TAX_0
public PrestaShopMapper(javax.jdo.PersistenceManager pm, String providerName, String segmentName, String shopName, boolean emailAddressMustBeUnique, Connection conn, String tablePrefix)
protected void closePreparedStatement(PreparedStatement ps)
protected void closeResultSet(ResultSet rs)
protected String getProductNumber(int id_product, int id_product_attribute)
protected String getUserName(int id_customer)
protected String bigDecimalToString(BigDecimal value)
protected void createOrUpdateSalesTax(String name, BigDecimal rate) throws org.openmdx.base.exception.ServiceException
org.openmdx.base.exception.ServiceException
public void mapOrder(ResultSet orders) throws org.openmdx.base.exception.ServiceException
org.openmdx.base.exception.ServiceException
protected org.opencrx.application.shop1.cci2.PostalAddressT newPostalAddressT(int id_address) throws org.openmdx.base.exception.ServiceException
org.openmdx.base.exception.ServiceException
public int getLanguageCode(int id_lang) throws org.openmdx.base.exception.ServiceException
org.openmdx.base.exception.ServiceException
protected void createOrUpdateProduct(String productNumber, String productName, List<org.opencrx.application.shop1.cci2.ProductDescriptionT> productDescriptionsT, String dimension, BigDecimal weight, List<String> alternateProductNumbers, BigDecimal price) throws org.openmdx.base.exception.ServiceException
org.openmdx.base.exception.ServiceException
public void mapProduct(ResultSet rs) throws org.openmdx.base.exception.ServiceException
org.openmdx.base.exception.ServiceException
protected String getCustomerNumber(int id_customer)
public org.opencrx.application.shop1.cci2.CustomerT mapCustomer(ResultSet rs) throws org.openmdx.base.exception.ServiceException
org.openmdx.base.exception.ServiceException
public void mapOrderHistory(ResultSet rs) throws org.openmdx.base.exception.ServiceException
org.openmdx.base.exception.ServiceException
This software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.