public class InventoryMgmtRMIEJB extends Object implements InventoryMgmtRemote
| Modifier and Type | Field and Description |
|---|---|
private InventoryMgmtEJB |
ejb |
private static org.apache.commons.logging.Log |
log |
| Constructor and Description |
|---|
InventoryMgmtRMIEJB() |
| Modifier and Type | Method and Description |
|---|---|
Product |
createProduct(Product product,
String category) |
boolean |
deleteCategory(int id) |
boolean |
deleteProduct(int id) |
Categories |
findCategoryByName(String name,
int offset,
int limit) |
Products |
findProductsByName(String name,
int offset,
int limit) |
Category |
getCategory(int id) |
Product |
getProduct(int id) |
Product |
updateProduct(Product product) |
private static final org.apache.commons.logging.Log log
@Inject private InventoryMgmtEJB ejb
public Categories findCategoryByName(String name, int offset, int limit)
findCategoryByName in interface InventoryClientpublic boolean deleteCategory(int id)
deleteCategory in interface InventoryClientpublic Products findProductsByName(String name, int offset, int limit)
findProductsByName in interface InventoryClientpublic boolean deleteProduct(int id)
deleteProduct in interface InventoryClientpublic Product createProduct(Product product, String category)
createProduct in interface InventoryClientpublic Product getProduct(int id)
getProduct in interface InventoryClientpublic Category getCategory(int id)
getCategory in interface InventoryClientpublic Product updateProduct(Product product)
updateProduct in interface InventoryClientCopyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.