public interface AdminManufacturerMgrIf
| Modifier and Type | Method and Description |
|---|---|
void |
deleteManufacturer(int manufacturerId,
boolean deleteProducts)
Delete the manufacturer referenced to by manufacturerId.
|
boolean |
doesManufacturerExist(int manufacturerId)
Return true if the manufacturer referenced by manufacturerId exists
|
void |
editManufacturer(AdminManufacturer manu)
Edit a manufacturer and its manufacturer info objects
|
void |
editManufacturerLite(AdminManufacturer manu)
Edit a manufacturer but not its manufacturer info objects
|
AdminManufacturer[] |
getAllManufacturers()
Return an array containing all manufacturers.
|
AdminManufacturer |
getManufacturer(int manufacturerId)
Gets a manufacturer object with full details
|
AdminManufacturer |
getManufacturerLite(int manufacturerId)
Gets a manufacturer object without the manufacturer_info details
|
java.lang.String |
getManufacturerName(int manuId)
Gets a manufacturer name for the specified manufacturerId
|
AdminManufacturerSearchResult |
getManufacturers(AdminManufacturerSearch search,
int offset,
int size)
Returns an AdminManufacturerSearchResult object.
|
AdminManufacturer[] |
getManufacturersPerPromotion(int promotionId)
Return an array of all manufacturers active for a promotion.
|
int |
insertManufacturer(AdminManufacturer manu)
Insert a manufacturer
|
boolean doesManufacturerExist(int manufacturerId)
throws org.apache.torque.TorqueException,
KKAdminException
manufacturerId - the manufacturerIdorg.apache.torque.TorqueException - an unexpected exception in Torque (the database layer)KKAdminException - an unexpected exception in the KonaKart Admin engineAdminManufacturer getManufacturer(int manufacturerId) throws java.lang.Exception
manufacturerId - the manufacturerIdjava.lang.Exception - an unexpected exceptionAdminManufacturer getManufacturerLite(int manufacturerId) throws java.lang.Exception
manufacturerId - the manufacturerIdjava.lang.Exception - an unexpected exceptionjava.lang.String getManufacturerName(int manuId)
throws KKAdminException,
org.apache.torque.TorqueException,
com.workingdogs.village.DataSetException
manuId - the manuIdKKAdminException - an unexpected exception in the KonaKart Admin engineorg.apache.torque.TorqueException - an unexpected exception in Torque (the database layer)com.workingdogs.village.DataSetException - an unexpected exception due to data in Torque (the database layer)void deleteManufacturer(int manufacturerId,
boolean deleteProducts)
throws java.lang.Exception
manufacturerId - the manufacturerIddeleteProducts - the deleteProductsjava.lang.Exception - an unexpected exceptionvoid editManufacturer(AdminManufacturer manu) throws java.lang.Exception
manu - the manujava.lang.Exception - an unexpected exceptionvoid editManufacturerLite(AdminManufacturer manu) throws java.lang.Exception
manu - the manujava.lang.Exception - an unexpected exceptionint insertManufacturer(AdminManufacturer manu) throws java.lang.Exception
manu - the manujava.lang.Exception - an unexpected exceptionAdminManufacturer[] getAllManufacturers() throws com.workingdogs.village.DataSetException, org.apache.torque.TorqueException, KKAdminException
com.workingdogs.village.DataSetException - an unexpected exception due to data in Torque (the database layer)org.apache.torque.TorqueException - an unexpected exception in Torque (the database layer)KKAdminException - an unexpected exception in the KonaKart Admin engineAdminManufacturer[] getManufacturersPerPromotion(int promotionId) throws com.workingdogs.village.DataSetException, org.apache.torque.TorqueException, KKAdminException
promotionId - the promotionIdcom.workingdogs.village.DataSetException - an unexpected exception due to data in Torque (the database layer)org.apache.torque.TorqueException - an unexpected exception in Torque (the database layer)KKAdminException - an unexpected exception in the KonaKart Admin engineAdminManufacturerSearchResult getManufacturers(AdminManufacturerSearch search, int offset, int size) throws org.apache.torque.TorqueException, com.workingdogs.village.DataSetException, KKAdminException
Constraints may be added for:
The returned objects may be ordered by:
search - The search object that defines the search parameters and sort orderoffset - The offset in the dbsize - The number of records from the specified offsetorg.apache.torque.TorqueException - an unexpected exception in Torque (the database layer)com.workingdogs.village.DataSetException - an unexpected exception due to data in Torque (the database layer)KKAdminException - an unexpected exception in the KonaKart Admin engineCopyright © 2018 DS Data Systems UK Ltd.