Interface Additions.
Several interface additions were made to support new manufacturers feature. At the next restart, the system will
attempt to add the following lines to your /WEB-INF/classes/appComponents.properties
file to support the new interface implementations. If the server does not have writable permissions for that file, or
if you are maintaining that file manually, you will want to add these configurations manually as you perform the
upgrade.
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"/>
Copyright © 2008 SoftSlate, LLC. All Rights Reserved.
Powered by SoftSlate Commerce