Interface ManufacturerProcessor
- All Superinterfaces:
BusinessObject
,BusinessProcessor
- All Known Implementing Classes:
BasicManufacturerProcessor
Interface for business logic methods having to do with manufacturers. Created
in the Struts layer in response to requests for viewing, editing, adding, and
deleting manufacturers.
When the application needs to create an instance that implements
ManufacturerProcessor
,
BusinessObjectFactory
finds the name of the Java class to instantiate from the
"manufacturerProcessorImplementer" setting in the
appComponents.properties
file.
The default "manufacturerProcessorImplementer" is
ManufacturerProcessor
.
- Author:
- David Tobey
-
Method Summary
Modifier and TypeMethodDescriptionaddManufacturer
(Map parameters) void
deleteManufacturer
(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 interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
Methods 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
-
Method Details
-
loadAllManufacturers
- Throws:
Exception
-
loadActiveManufacturers
- Throws:
Exception
-
loadManufacturersAndCount
- Throws:
Exception
-
addManufacturer
- Throws:
Exception
-
loadManufacturerFromID
- Throws:
Exception
-
loadManufacturerFromCode
- Throws:
Exception
-
getManufacturerFromCode
- Throws:
Exception
-
getManufacturerFromCode
Manufacturer getManufacturerFromCode(Manufacturer manufacturer, boolean loadProducts) throws Exception - Throws:
Exception
-
editManufacturer
- Throws:
Exception
-
editDeleteManufacturers
- Throws:
Exception
-
deleteManufacturer
- Throws:
Exception
-