Interface InventoryDAO

  • All Known Implementing Classes:
    InventoryDAOImpl

    public interface InventoryDAO
    Defines the interface for the CRUD inventory methods.
    • Method Detail

      • createCategory

        void createCategory​(Category category)
      • getCategory

        Category getCategory​(int id)
      • findCategoryByName

        List<Category> findCategoryByName​(String criteria,
                                          int offset,
                                          int limit)
      • deleteCategory

        void deleteCategory​(Category category)
      • detachCategory

        void detachCategory​(Category category)
      • addProduct

        void addProduct​(Product p)
      • getProduct

        Product getProduct​(int id)
      • findProductsByName

        List<Product> findProductsByName​(String criteria,
                                         int offset,
                                         int limit)
      • deleteProduct

        void deleteProduct​(Product p)