]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
Don't cherry-pick:
authorRoland Haeder <roland@mxchange.org>
Mon, 8 Aug 2016 17:46:13 +0000 (19:46 +0200)
committerRoland Haeder <roland@mxchange.org>
Mon, 8 Aug 2016 17:46:13 +0000 (19:46 +0200)
- added @Local annotation as these are local (CDI) interfaces only

src/java/org/mxchange/pizzaapplication/beans/basket/PizzaBasketWebSessionController.java
src/java/org/mxchange/pizzaapplication/beans/category/PizzaAdminCategoryWebRequestController.java
src/java/org/mxchange/pizzaapplication/beans/category/PizzaCategoryWebApplicationController.java
src/java/org/mxchange/pizzaapplication/beans/checkout/PizzaCheckoutWebSessionController.java
src/java/org/mxchange/pizzaapplication/beans/contact/PizzaAdminContactWebRequestController.java
src/java/org/mxchange/pizzaapplication/beans/customer/PizzaAdminCustomerWebRequestController.java
src/java/org/mxchange/pizzaapplication/beans/customer/PizzaCustomerWebSessionController.java
src/java/org/mxchange/pizzaapplication/beans/product/PizzaAdminProductWebRequestController.java
src/java/org/mxchange/pizzaapplication/beans/product/PizzaProductWebApplicationController.java

index 92673426c8d230f00a14173f001113394bd69f1a..a1f1adae0da06b0603778ad022da967cb496c439 100644 (file)
@@ -18,6 +18,7 @@ package org.mxchange.pizzaapplication.beans.basket;
 
 import java.io.Serializable;
 import java.util.List;
+import javax.ejb.Local;
 import org.mxchange.jshopcore.model.basket.AddableBasketItem;
 import org.mxchange.jshopcore.model.product.Product;
 
@@ -26,6 +27,7 @@ import org.mxchange.jshopcore.model.product.Product;
  * <p>
  * @author Roland Haeder<roland@mxchange.org>
  */
+@Local
 public interface PizzaBasketWebSessionController extends Serializable {
 
        /**
index cfa4c76c7fc3f23a35d9bdb4dfe7bdbb00ed63ed..c0036e89b62e63151e03ba0b43b1c058ca097377 100644 (file)
@@ -17,6 +17,7 @@
 package org.mxchange.pizzaapplication.beans.category;
 
 import java.io.Serializable;
+import javax.ejb.Local;
 import javax.faces.view.facelets.FaceletException;
 import org.mxchange.jshopcore.model.category.Category;
 
@@ -25,6 +26,7 @@ import org.mxchange.jshopcore.model.category.Category;
  * <p>
  * @author Roland Haeder<roland@mxchange.org>
  */
+@Local
 public interface PizzaAdminCategoryWebRequestController extends Serializable {
 
        /**
index 21569b360b619a22dcd65b2450cd77da5194f75c..6b138453bd33862ebf65b519b473359140277a3b 100644 (file)
@@ -18,6 +18,7 @@ package org.mxchange.pizzaapplication.beans.category;
 
 import java.io.Serializable;
 import java.util.List;
+import javax.ejb.Local;
 import javax.faces.view.facelets.FaceletException;
 import org.mxchange.jshopcore.events.category.AddedCategoryEvent;
 import org.mxchange.jshopcore.model.category.Category;
@@ -27,6 +28,7 @@ import org.mxchange.jshopcore.model.category.Category;
  * <p>
  * @author Roland Haeder<roland@mxchange.org>
  */
+@Local
 public interface PizzaCategoryWebApplicationController extends Serializable {
 
        /**
index 3c2d5f5366fb9273d08a2f18a98d6f0c67154a7c..7f791793ab635520f81957d805edaf22046596c2 100644 (file)
@@ -17,6 +17,7 @@
 package org.mxchange.pizzaapplication.beans.checkout;
 
 import java.io.Serializable;
+import javax.ejb.Local;
 import org.mxchange.jcustomercore.model.customer.Customer;
 
 /**
@@ -24,6 +25,7 @@ import org.mxchange.jcustomercore.model.customer.Customer;
  * <p>
  * @author Roland Haeder<roland@mxchange.org>
  */
+@Local
 public interface PizzaCheckoutWebSessionController extends Serializable {
 
        /**
index 905e64d51cf85844d93ae198cbe8d3aabe70884d..f9dafccd47ec309aaef47ae786dd2bb784efab5c 100644 (file)
@@ -18,6 +18,7 @@ package org.mxchange.pizzaapplication.beans.contact;
 
 import java.io.Serializable;
 import java.util.Date;
+import javax.ejb.Local;
 import org.mxchange.jcontacts.contact.Contact;
 import org.mxchange.jcontacts.contact.gender.Gender;
 import org.mxchange.jcountry.data.Country;
@@ -30,6 +31,7 @@ import org.mxchange.jphone.phonenumbers.mobileprovider.MobileProvider;
  * <p>
  * @author Roland Haeder<roland@mxchange.org>
  */
+@Local
 public interface PizzaAdminContactWebRequestController extends Serializable {
 
        /**
index b068b4151cba07acb01cd13ba1047b85ff7380cb..daddc688aa44ecc1c8d331fdb0ed77bfccd455b4 100644 (file)
@@ -17,6 +17,7 @@
 package org.mxchange.pizzaapplication.beans.customer;
 
 import java.io.Serializable;
+import javax.ejb.Local;
 import org.mxchange.jcustomercore.model.customer.Customer;
 
 /**
@@ -24,9 +25,15 @@ import org.mxchange.jcustomercore.model.customer.Customer;
  * <p>
  * @author Roland Haeder<roland@mxchange.org>
  */
+@Local
 public interface PizzaAdminCustomerWebRequestController extends Serializable {
 
-       public void copyCustomerToController (Customer customer);
+       /**
+        * Copies given customer to this controller
+        * <p>
+        * @param customer Customer instance to copy
+        */
+       void copyCustomerToController (final Customer customer);
 
        /**
         * Adds customer to database if not already added. This method should return
index 84aae751e1fef02a5d2d381ae261418bf96b600a..def8f361f8a9c6d55d375b48b1d515802b5e7927 100644 (file)
@@ -18,6 +18,7 @@ package org.mxchange.pizzaapplication.beans.customer;
 
 import java.io.Serializable;
 import java.util.List;
+import javax.ejb.Local;
 import org.mxchange.jcontacts.contact.Contact;
 import org.mxchange.jcontacts.events.contact.add.AdminAddedContactEvent;
 import org.mxchange.jcustomercore.events.customer.added.AdminAddedCustomerEvent;
@@ -28,6 +29,7 @@ import org.mxchange.jcustomercore.model.customer.Customer;
  * <p>
  * @author Roland Haeder<roland@mxchange.org>
  */
+@Local
 public interface PizzaCustomerWebSessionController extends Serializable {
 
        /**
index 77128eff6605336042c98eb0c1e8368d3269aeb1..2553010dbbe97e37be93b3dac3088c32869b5abe 100644 (file)
@@ -18,6 +18,7 @@ package org.mxchange.pizzaapplication.beans.product;
 
 import java.io.Serializable;
 import java.util.List;
+import javax.ejb.Local;
 import javax.faces.view.facelets.FaceletException;
 import org.mxchange.jshopcore.model.category.Category;
 import org.mxchange.jshopcore.model.product.Product;
@@ -27,6 +28,7 @@ import org.mxchange.jshopcore.model.product.Product;
  * <p>
  * @author Roland Haeder<roland@mxchange.org>
  */
+@Local
 public interface PizzaAdminProductWebRequestController extends Serializable {
 
        /**
index 3f8fcb31ca04db2e504ad429eb31e9ab4e8402e1..c65c63c17d1942f5065f3e98f59bad32e4b44041 100644 (file)
@@ -18,6 +18,7 @@ package org.mxchange.pizzaapplication.beans.product;
 
 import java.io.Serializable;
 import java.util.List;
+import javax.ejb.Local;
 import javax.faces.view.facelets.FaceletException;
 import org.mxchange.jshopcore.events.product.AddedProductEvent;
 import org.mxchange.jshopcore.model.product.Product;
@@ -27,6 +28,7 @@ import org.mxchange.jshopcore.model.product.Product;
  * <p>
  * @author Roland Haeder<roland@mxchange.org>
  */
+@Local
 public interface PizzaProductWebApplicationController extends Serializable {
 
        /**