com.konakart.blif
Interface ManufacturerMgrIf

All Known Implementing Classes:
ManufacturerMgr

public interface ManufacturerMgrIf

ManufacturerMgrIf Interface which an implementation of this manager must adhere to.


Method Summary
 Address[] getAddressesPerManufacturer(int manufacturerId)
          Gets an array of Address objects that have been defined for the manufacturer referenced by the manufacturerId.
 Manufacturer[] getAllManufacturers()
          Returns an array of all manufacturers
 Manufacturer getManufacturer(int manufacturerId, int languageId)
          Gets the manufacturer referenced by the manufacturer id
 Manufacturer getManufacturerPerProduct(int productId, int languageId)
          Returns an array of manufacturers for a product
 Manufacturer[] getManufacturersFromIds(java.util.ArrayList<java.lang.Integer> manuIdList)
          Return an array of manufacturers for the ids passed in through the manuIdList parameter.
 Manufacturer[] getManufacturersPerCategory(int categoryId)
          Returns an array of manufacturers for a category
 void UpdateManufacturerViewedCount(int manufacturerId, int languageId)
          Whenever a user clicks on a manufacturer to view the home page, we update the click count and the date of the last click.
 

Method Detail

getAllManufacturers

Manufacturer[] getAllManufacturers()
                                   throws com.workingdogs.village.DataSetException,
                                          org.apache.torque.TorqueException,
                                          KKException
Returns an array of all manufacturers

Returns:
An array of all manufacturers
Throws:
com.workingdogs.village.DataSetException
org.apache.torque.TorqueException
KKException

getManufacturersPerCategory

Manufacturer[] getManufacturersPerCategory(int categoryId)
                                           throws java.lang.Exception
Returns an array of manufacturers for a category

Parameters:
categoryId -
Returns:
An array of manufacturers for this category
Throws:
java.lang.Exception

getManufacturerPerProduct

Manufacturer getManufacturerPerProduct(int productId,
                                       int languageId)
                                       throws java.lang.Exception
Returns an array of manufacturers for a product

Parameters:
productId -
languageId -
Returns:
An array of manufacturers for this product
Throws:
java.lang.Exception

getManufacturer

Manufacturer getManufacturer(int manufacturerId,
                             int languageId)
                             throws java.lang.Exception
Gets the manufacturer referenced by the manufacturer id

Parameters:
manufacturerId -
languageId -
Returns:
The details of a manufacturer
Throws:
java.lang.Exception

UpdateManufacturerViewedCount

void UpdateManufacturerViewedCount(int manufacturerId,
                                   int languageId)
                                   throws java.lang.Exception
Whenever a user clicks on a manufacturer to view the home page, we update the click count and the date of the last click.

Parameters:
manufacturerId -
languageId -
Throws:
java.lang.Exception

getAddressesPerManufacturer

Address[] getAddressesPerManufacturer(int manufacturerId)
                                      throws java.lang.Exception
Gets an array of Address objects that have been defined for the manufacturer referenced by the manufacturerId.

Parameters:
manufacturerId -
Returns:
Returns an array of Address objects
Throws:
java.lang.Exception

getManufacturersFromIds

Manufacturer[] getManufacturersFromIds(java.util.ArrayList<java.lang.Integer> manuIdList)
                                       throws java.lang.Exception
Return an array of manufacturers for the ids passed in through the manuIdList parameter.

Parameters:
manuIdList - An array list containing ids of manufacturers
Returns:
An array of manufacturers for the ids passed in
Throws:
java.lang.Exception


Copyright © 2011 DS Data Systems UK Ltd.