* org.mxchange.jshopcore.exceptions.CategoryTitleAlreadyUsedException If
* the category's title has been used
*/
- public void doAdminAddCategory (final Category category) throws CategoryTitleAlreadyUsedException;
+ void doAdminAddCategory (final Category category) throws CategoryTitleAlreadyUsedException;
/**
* Adds given product data from request to database
* org.mxchange.jshopcore.exceptions.ProductTitleAlreadyUsedException If the
* * product's title has been used
*/
- public void doAdminAddProduct (final Product product) throws ProductTitleAlreadyUsedException;
+ void doAdminAddProduct (final Product product) throws ProductTitleAlreadyUsedException;
/**
* Some "getter" for a linked list of all categories
* <p>
* @return All categories
*/
- public Deque<Category> getAllCategories ();
+ Deque<Category> getAllCategories ();
/**
* Some "getter" for a an array of all categories
* <p>
* @return All categories
*/
- public Iterator<Category> getAllCategoriesIterator ();
+ Iterator<Category> getAllCategoriesIterator ();
/**
* Some "getter" for a linked list of all products
* <p>
* @return All products
*/
- public Deque<Product> getAllProducts ();
+ Deque<Product> getAllProducts ();
/**
* Some "getter" for a an array of all products
* <p>
* @return All products
*/
- public Iterator<Product> getAllProductsIterator ();
+ Iterator<Product> getAllProductsIterator ();
/**
* Some "getter" for a linked list of only available products
* <p>
* @return Only available products
*/
- public Deque<Product> getAvailableProducts ();
+ Deque<Product> getAvailableProducts ();
/**
* Some "getter" for a an array of only available products
* <p>
* @return Only available products
*/
- public Iterator<Product> getAvailableProductsIterator ();
+ Iterator<Product> getAvailableProductsIterator ();
/**
* Initializes this instance with given ServletContext
* @throws java.sql.SQLException If an SQL error occurs
* @throws java.io.IOException If an IO error occurs
*/
- public void init () throws SQLException, IOException;
+ void init () throws SQLException, IOException;
}