Interface InventoryDAO
-
- All Known Implementing Classes:
InventoryDAOImpl
public interface InventoryDAO
Defines the interface for the CRUD inventory methods.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
createCategory
void createCategory(Category category)
-
getCategory
Category getCategory(int id)
-
deleteCategory
void deleteCategory(Category category)
-
detachCategory
void detachCategory(Category category)
-
addProduct
void addProduct(Product p)
-
getProduct
Product getProduct(int id)
-
deleteProduct
void deleteProduct(Product p)
-
-