Class BasicManufacturerProcessor
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
com.softslate.commerce.businessobjects.product.BasicManufacturerProcessor
- All Implemented Interfaces:
BusinessObject,BusinessProcessor,ManufacturerProcessor
public class BasicManufacturerProcessor
extends BaseBusinessProcessor
implements ManufacturerProcessor
Processes business logic having to do with Manufacturers. Created in the
Struts layer in response to requests for viewing, editing, adding, and
deleting Manufacturers.
BasicManufacturerProcessor is the default implementation of the
ManufacturerProcessor interface for the application.
- Author:
- David Tobey
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddManufacturer(Map parameters) voiddeleteManufacturer(Map parameters) editDeleteManufacturers(Map parameters) editManufacturer(Map parameters) getManufacturerFromCode(Manufacturer manufacturer) getManufacturerFromCode(Manufacturer manufacturer, boolean loadProducts) loadManufacturerFromCode(Map parameters) loadManufacturerFromID(Map parameters) loadManufacturersAndCount(Map parameters) Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
formatDateTime, formatPrice, getAppComponents, getAppSettings, getAttributeIDs, getBusinessObjectFactory, getDaoFactory, getEventBus, getInjector, getProductIDs, getSettings, getUser, initialize, isProcessorClassActive, loadMatchingSkus, parseDateTime, parseResponseData, prepareRequestData, sendHTTPGet, sendHTTPPost, sendHTTPPost, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setEventBus, setInjector, setSettings, setUser, updateOrderTotals, updateOrderTotals, updateOrderTotals, utilsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initializeMethods inherited from interface com.softslate.commerce.businessobjects.core.BusinessProcessor
getAppComponents, getAppSettings, getBusinessObjectFactory, getDaoFactory, getEventBus, getInjector, getSettings, getUser, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setEventBus, setInjector, setSettings, setUser, utils
-
Field Details
-
log
static org.apache.commons.logging.Log log
-
-
Constructor Details
-
BasicManufacturerProcessor
public BasicManufacturerProcessor()
-
-
Method Details
-
loadAllManufacturers
- Specified by:
loadAllManufacturersin interfaceManufacturerProcessor- Throws:
Exception
-
loadActiveManufacturers
- Specified by:
loadActiveManufacturersin interfaceManufacturerProcessor- Throws:
Exception
-
loadManufacturersAndCount
- Specified by:
loadManufacturersAndCountin interfaceManufacturerProcessor- Throws:
Exception
-
addManufacturer
- Specified by:
addManufacturerin interfaceManufacturerProcessor- Throws:
Exception
-
loadManufacturerFromID
- Specified by:
loadManufacturerFromIDin interfaceManufacturerProcessor- Throws:
Exception
-
loadManufacturerFromCode
- Specified by:
loadManufacturerFromCodein interfaceManufacturerProcessor- Throws:
Exception
-
editManufacturer
- Specified by:
editManufacturerin interfaceManufacturerProcessor- Throws:
Exception
-
editDeleteManufacturers
- Specified by:
editDeleteManufacturersin interfaceManufacturerProcessor- Throws:
Exception
-
deleteManufacturer
- Specified by:
deleteManufacturerin interfaceManufacturerProcessor- Throws:
Exception
-
getManufacturerFromCode
- Specified by:
getManufacturerFromCodein interfaceManufacturerProcessor- Throws:
Exception
-
getManufacturerFromCode
public Manufacturer getManufacturerFromCode(Manufacturer manufacturer, boolean loadProducts) throws Exception - Specified by:
getManufacturerFromCodein interfaceManufacturerProcessor- Throws:
Exception
-