X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2Forg%2Fmxchange%2Fpizzaapplication%2Fapplication%2FPizzaApplication.java;h=47f9bb650d015b45978a5469c459e50c9ef8a18a;hb=9307ee65434357953afcbb27b9dbfbc07102aae9;hp=f7b2262d04b2761087f3e9c422a95e92862e308e;hpb=05f35387d374176d3922aa5790a699b367a454af;p=pizzaservice-swing.git diff --git a/src/org/mxchange/pizzaapplication/application/PizzaApplication.java b/src/org/mxchange/pizzaapplication/application/PizzaApplication.java index f7b2262..47f9bb6 100644 --- a/src/org/mxchange/pizzaapplication/application/PizzaApplication.java +++ b/src/org/mxchange/pizzaapplication/application/PizzaApplication.java @@ -36,63 +36,65 @@ public interface PizzaApplication extends Application { * Adds given category data from request to database *

* @param category Category instance + *

* @throws * 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 *

* @param product Product instance + *

* @throws * 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 *

* @return All categories */ - public Deque getAllCategories (); + Deque getAllCategories (); /** * Some "getter" for a an array of all categories *

* @return All categories */ - public Iterator getAllCategoriesIterator (); + Iterator getAllCategoriesIterator (); /** * Some "getter" for a linked list of all products *

* @return All products */ - public Deque getAllProducts (); + Deque getAllProducts (); /** * Some "getter" for a an array of all products *

* @return All products */ - public Iterator getAllProductsIterator (); + Iterator getAllProductsIterator (); /** * Some "getter" for a linked list of only available products *

* @return Only available products */ - public Deque getAvailableProducts (); + Deque getAvailableProducts (); /** * Some "getter" for a an array of only available products *

* @return Only available products */ - public Iterator getAvailableProductsIterator (); + Iterator getAvailableProductsIterator (); /** * Initializes this instance with given ServletContext @@ -100,5 +102,5 @@ public interface PizzaApplication extends Application { * @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; }