public interface InventoryDAO
Modifier and Type | Method and Description |
---|---|
void |
addProduct(Product p) |
void |
createCategory(Category category) |
void |
deleteCategory(Category category) |
void |
deleteProduct(Product p) |
void |
detachCategory(Category category) |
List<Category> |
findCategoryByName(String criteria,
int offset,
int limit) |
List<Product> |
findProductsByName(String criteria,
int offset,
int limit) |
Category |
getCategory(int id) |
Product |
getProduct(int id) |
Product |
updateProduct(Product product) |
void createCategory(Category category)
Category getCategory(int id)
void deleteCategory(Category category)
void detachCategory(Category category)
void addProduct(Product p)
Product getProduct(int id)
void deleteProduct(Product p)
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.