|
Interface Additions.
Several interface additions were made to support the new manufacturers feature. The
following lines will be added automatically to your
/WEB-INF/classes/appComponents.properties
file to support the
new interface implementations. While you do not have to add these configurations manually,
please be aware of them in case you overwrite the
appComponents.properties
file.
manufacturerProcessorImplementer = com.softslate.commerce.businessobjects.product.BasicManufacturerProcessor manufacturerImplementer = com.softslate.commerce.businessobjects.product.ManufacturerBean manufacturerGatewayDAOImplementer = com.softslate.commerce.daos.product.ManufacturerGatewayDAOHibernate manufacturerDAOImplementer = com.softslate.commerce.daos.product.ManufacturerDAOHibernate
Interface Changes.
Several interface changes were made to support the new manufacturers feature. If you have created your own custom Java classes please take note of the following interface changes. If you have created an implementation of any of these interfaces, please update your implementations as you upgrade your application to 2.1.1.
com.softslate.commerce.businessobjects.product.Product
must now implement Integer getManufacturerID()
com.softslate.commerce.businessobjects.product.Product
must now implement void setManufacturerID(Integer manufacturerID)
com.softslate.commerce.businessobjects.product.Product
must now implement Manufacturer getManufacturer()
com.softslate.commerce.businessobjects.product.Product
must now implement void setManufacturer(Manufacturer manufacturer)
com.softslate.commerce.businessobjects.product.ProductProcessor
must now implement Collection loadManufacturers()
Hibernate Mapping File Changes.
If you have created your own custom Hibernate mapping file replacing ProductBean.hbm.xml
please take note of the following additional mappings.
Please add these mappings to your custom mapping file as you upgrade your application to 2.1.1.
<property name="manufacturerID" insert="false" update="false"/>
<many-to-one name="manufacturer" class="com.softslate.commerce.businessobjects.product.Manufacturer" column="manufacturerID" cascade="none" not-null="false"/>
Home | Features | Pricing | Demo Store | Documentation | About Us | Contact Us Copyright © 2006 SoftSlate, Inc. All Rights Reserved. |