public interface ManufacturerMgrIf
Modifier and Type | Method and Description |
---|---|
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 |
getManufacturerByShopId(int shopId)
Gets the manufacturer referenced by the shop id
|
Manufacturer |
getManufacturerByWondId(java.lang.String shopId)
Gets the manufacturer referenced by the Wond-Shop id
|
Manufacturer |
getManufacturerPerProduct(int productId,
int languageId)
Returns an array of manufacturers for a product
|
Manufacturer[] |
getManufacturers(DataDescriptorIf dataDesc,
ManufacturerSearchIf search,
int languageId)
Returns an array of Manufacturer objects that match the specified search criteria in the
ManufacturerSearch object.
|
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.
|
Manufacturer[] getManufacturers(DataDescriptorIf dataDesc, ManufacturerSearchIf search, int languageId) throws java.lang.Exception
dataDesc
controls the following functionality:
dataDesc
- The data descriptor object that defines the sort order, constraints on custom
fields and offset and limit for paging.search
- The Manufacturer search object that defines the search criterialanguageId
- The language id is used for language specific attributes of the manufacturer such
as the URL.java.lang.Exception
- an unexpected exceptionManufacturer[] getAllManufacturers() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionManufacturer[] getManufacturersPerCategory(int categoryId) throws java.lang.Exception
categoryId
- the categoryIdjava.lang.Exception
- an unexpected exceptionManufacturer getManufacturerPerProduct(int productId, int languageId) throws java.lang.Exception
productId
- the productIdlanguageId
- the languageIdjava.lang.Exception
- an unexpected exceptionManufacturer getManufacturer(int manufacturerId, int languageId) throws java.lang.Exception
manufacturerId
- the manufacturerIdlanguageId
- the languageIdjava.lang.Exception
- an unexpected exceptionvoid UpdateManufacturerViewedCount(int manufacturerId, int languageId) throws java.lang.Exception
manufacturerId
- the manufacturerIdlanguageId
- the languageIdjava.lang.Exception
- an unexpected exceptionAddress[] getAddressesPerManufacturer(int manufacturerId) throws java.lang.Exception
manufacturerId
- the manufacturerIdjava.lang.Exception
- an unexpected exceptionManufacturer[] getManufacturersFromIds(java.util.ArrayList<java.lang.Integer> manuIdList) throws java.lang.Exception
manuIdList
- An array list containing ids of manufacturersjava.lang.Exception
- an unexpected exceptionManufacturer getManufacturerByShopId(int shopId) throws java.lang.Exception
shopId
- the shopIdjava.lang.Exception
- an unexpected exceptionManufacturer getManufacturerByWondId(java.lang.String shopId) throws java.lang.Exception
shopId
- the shopIdjava.lang.Exception
- an unexpected exceptionCopyright © 2018 DS Data Systems UK Ltd.