|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AdminManufacturerMgrIf
AdminManufacturerMgrIf
Method Summary | |
---|---|
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 |
AdminManufacturer[] |
getAllManufacturers()
Return an array containing all manufacturers. |
AdminManufacturer |
getManufacturer(int manufacturerId)
Gets a manufacturer object with full details |
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 |
Method Detail |
---|
boolean doesManufacturerExist(int manufacturerId) throws org.apache.torque.TorqueException, KKAdminException
manufacturerId
-
org.apache.torque.TorqueException
KKAdminException
AdminManufacturer getManufacturer(int manufacturerId) throws java.lang.Exception
manufacturerId
-
java.lang.Exception
void deleteManufacturer(int manufacturerId, boolean deleteProducts) throws java.lang.Exception
manufacturerId
- deleteProducts
-
java.lang.Exception
void editManufacturer(AdminManufacturer manu) throws java.lang.Exception
manu
-
java.lang.Exception
int insertManufacturer(AdminManufacturer manu) throws java.lang.Exception
manu
-
java.lang.Exception
AdminManufacturer[] getAllManufacturers() throws com.workingdogs.village.DataSetException, org.apache.torque.TorqueException, KKAdminException
com.workingdogs.village.DataSetException
org.apache.torque.TorqueException
KKAdminException
AdminManufacturer[] getManufacturersPerPromotion(int promotionId) throws com.workingdogs.village.DataSetException, org.apache.torque.TorqueException, KKAdminException
promotionId
-
com.workingdogs.village.DataSetException
org.apache.torque.TorqueException
KKAdminException
AdminManufacturerSearchResult 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 offset
org.apache.torque.TorqueException
com.workingdogs.village.DataSetException
KKAdminException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |