com.softslate.commerce.businessobjects.product
Interface ManufacturerProcessor

All Superinterfaces:
BusinessObject, BusinessProcessor
All Known Implementing Classes:
BasicManufacturerProcessor

public interface ManufacturerProcessor
extends BusinessProcessor

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
 java.util.Map addManufacturer(java.util.Map parameters)
           
 void deleteManufacturer(java.util.Map parameters)
           
 void editDeleteManufacturers(java.util.Map parameters)
           
 java.util.Map editManufacturer(java.util.Map parameters)
           
 Manufacturer getManufacturerFromCode(Manufacturer manufacturer)
           
 Manufacturer getManufacturerFromCode(Manufacturer manufacturer, boolean loadProducts)
           
 java.util.Collection loadActiveManufacturers()
           
 java.util.Collection loadAllManufacturers()
           
 Manufacturer loadManufacturerFromID(java.util.Map parameters)
           
 java.util.Map loadManufacturersAndCount(java.util.Map parameters)
           
 
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessProcessor
getAppComponents, getAppSettings, getBusinessObjectFactory, getDaoFactory, getSettings, getUser, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setSettings, setUser, utils
 
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
 

Method Detail

loadAllManufacturers

java.util.Collection loadAllManufacturers()
                                          throws java.lang.Exception
Throws:
java.lang.Exception

loadActiveManufacturers

java.util.Collection loadActiveManufacturers()
                                             throws java.lang.Exception
Throws:
java.lang.Exception

loadManufacturersAndCount

java.util.Map loadManufacturersAndCount(java.util.Map parameters)
                                        throws java.lang.Exception
Throws:
java.lang.Exception

addManufacturer

java.util.Map addManufacturer(java.util.Map parameters)
                              throws java.lang.Exception
Throws:
java.lang.Exception

loadManufacturerFromID

Manufacturer loadManufacturerFromID(java.util.Map parameters)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

getManufacturerFromCode

Manufacturer getManufacturerFromCode(Manufacturer manufacturer)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

getManufacturerFromCode

Manufacturer getManufacturerFromCode(Manufacturer manufacturer,
                                     boolean loadProducts)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

editManufacturer

java.util.Map editManufacturer(java.util.Map parameters)
                               throws java.lang.Exception
Throws:
java.lang.Exception

editDeleteManufacturers

void editDeleteManufacturers(java.util.Map parameters)
                             throws java.lang.Exception
Throws:
java.lang.Exception

deleteManufacturer

void deleteManufacturer(java.util.Map parameters)
                        throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © SoftSlate, LLC 2003–2005