]> git.mxchange.org Git - pizzaservice-swing.git/blobdiff - src/org/mxchange/pizzaapplication/application/PizzaApplication.java
Updated copyright year
[pizzaservice-swing.git] / src / org / mxchange / pizzaapplication / application / PizzaApplication.java
index f7b2262d04b2761087f3e9c422a95e92862e308e..cc914cff1b850edda55e6c6b18e60c341d76cfae 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2015 Roland Haeder
+ * Copyright (C) 2016 - 2024 Free Software Foundation
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -21,14 +21,14 @@ import java.sql.SQLException;
 import java.util.Deque;
 import java.util.Iterator;
 import org.mxchange.jcore.application.Application;
-import org.mxchange.jshopcore.exceptions.CategoryTitleAlreadyUsedException;
-import org.mxchange.jshopcore.exceptions.ProductTitleAlreadyUsedException;
-import org.mxchange.jshopcore.model.category.Category;
-import org.mxchange.jshopcore.model.product.Product;
+import org.mxchange.jproduct.exceptions.CategoryTitleAlreadyUsedException;
+import org.mxchange.jproduct.exceptions.ProductTitleAlreadyUsedException;
+import org.mxchange.jproduct.model.category.Category;
+import org.mxchange.jproduct.model.product.Product;
 
 /**
  *
- * @author Roland Haeder<roland@mxchange.org>
+ * @author Roland Hรคder<roland@mxchange.org>
  */
 public interface PizzaApplication extends Application {
 
@@ -36,63 +36,65 @@ public interface PizzaApplication extends Application {
         * Adds given category data from request to database
         * <p>
         * @param category Category instance
+        * <p>
         * @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
         * <p>
         * @param product Product instance
+        * <p>
         * @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
         * <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
@@ -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;
 }