From: Roland Haeder Date: Mon, 8 Aug 2016 17:46:13 +0000 (+0200) Subject: Don't cherry-pick: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e50ed6ddbac23972a98fe754b417a542d425e40f;p=pizzaservice-war.git Don't cherry-pick: - added @Local annotation as these are local (CDI) interfaces only --- diff --git a/src/java/org/mxchange/pizzaapplication/beans/basket/PizzaBasketWebSessionController.java b/src/java/org/mxchange/pizzaapplication/beans/basket/PizzaBasketWebSessionController.java index 92673426..a1f1adae 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/basket/PizzaBasketWebSessionController.java +++ b/src/java/org/mxchange/pizzaapplication/beans/basket/PizzaBasketWebSessionController.java @@ -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; *

* @author Roland Haeder */ +@Local public interface PizzaBasketWebSessionController extends Serializable { /** diff --git a/src/java/org/mxchange/pizzaapplication/beans/category/PizzaAdminCategoryWebRequestController.java b/src/java/org/mxchange/pizzaapplication/beans/category/PizzaAdminCategoryWebRequestController.java index cfa4c76c..c0036e89 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/category/PizzaAdminCategoryWebRequestController.java +++ b/src/java/org/mxchange/pizzaapplication/beans/category/PizzaAdminCategoryWebRequestController.java @@ -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; *

* @author Roland Haeder */ +@Local public interface PizzaAdminCategoryWebRequestController extends Serializable { /** diff --git a/src/java/org/mxchange/pizzaapplication/beans/category/PizzaCategoryWebApplicationController.java b/src/java/org/mxchange/pizzaapplication/beans/category/PizzaCategoryWebApplicationController.java index 21569b36..6b138453 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/category/PizzaCategoryWebApplicationController.java +++ b/src/java/org/mxchange/pizzaapplication/beans/category/PizzaCategoryWebApplicationController.java @@ -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; *

* @author Roland Haeder */ +@Local public interface PizzaCategoryWebApplicationController extends Serializable { /** diff --git a/src/java/org/mxchange/pizzaapplication/beans/checkout/PizzaCheckoutWebSessionController.java b/src/java/org/mxchange/pizzaapplication/beans/checkout/PizzaCheckoutWebSessionController.java index 3c2d5f53..7f791793 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/checkout/PizzaCheckoutWebSessionController.java +++ b/src/java/org/mxchange/pizzaapplication/beans/checkout/PizzaCheckoutWebSessionController.java @@ -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; *

* @author Roland Haeder */ +@Local public interface PizzaCheckoutWebSessionController extends Serializable { /** diff --git a/src/java/org/mxchange/pizzaapplication/beans/contact/PizzaAdminContactWebRequestController.java b/src/java/org/mxchange/pizzaapplication/beans/contact/PizzaAdminContactWebRequestController.java index 905e64d5..f9dafccd 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/contact/PizzaAdminContactWebRequestController.java +++ b/src/java/org/mxchange/pizzaapplication/beans/contact/PizzaAdminContactWebRequestController.java @@ -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; *

* @author Roland Haeder */ +@Local public interface PizzaAdminContactWebRequestController extends Serializable { /** diff --git a/src/java/org/mxchange/pizzaapplication/beans/customer/PizzaAdminCustomerWebRequestController.java b/src/java/org/mxchange/pizzaapplication/beans/customer/PizzaAdminCustomerWebRequestController.java index b068b415..daddc688 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/customer/PizzaAdminCustomerWebRequestController.java +++ b/src/java/org/mxchange/pizzaapplication/beans/customer/PizzaAdminCustomerWebRequestController.java @@ -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; *

* @author Roland Haeder */ +@Local public interface PizzaAdminCustomerWebRequestController extends Serializable { - public void copyCustomerToController (Customer customer); + /** + * Copies given customer to this controller + *

+ * @param customer Customer instance to copy + */ + void copyCustomerToController (final Customer customer); /** * Adds customer to database if not already added. This method should return diff --git a/src/java/org/mxchange/pizzaapplication/beans/customer/PizzaCustomerWebSessionController.java b/src/java/org/mxchange/pizzaapplication/beans/customer/PizzaCustomerWebSessionController.java index 84aae751..def8f361 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/customer/PizzaCustomerWebSessionController.java +++ b/src/java/org/mxchange/pizzaapplication/beans/customer/PizzaCustomerWebSessionController.java @@ -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; *

* @author Roland Haeder */ +@Local public interface PizzaCustomerWebSessionController extends Serializable { /** diff --git a/src/java/org/mxchange/pizzaapplication/beans/product/PizzaAdminProductWebRequestController.java b/src/java/org/mxchange/pizzaapplication/beans/product/PizzaAdminProductWebRequestController.java index 77128eff..2553010d 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/product/PizzaAdminProductWebRequestController.java +++ b/src/java/org/mxchange/pizzaapplication/beans/product/PizzaAdminProductWebRequestController.java @@ -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; *

* @author Roland Haeder */ +@Local public interface PizzaAdminProductWebRequestController extends Serializable { /** diff --git a/src/java/org/mxchange/pizzaapplication/beans/product/PizzaProductWebApplicationController.java b/src/java/org/mxchange/pizzaapplication/beans/product/PizzaProductWebApplicationController.java index 3f8fcb31..c65c63c1 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/product/PizzaProductWebApplicationController.java +++ b/src/java/org/mxchange/pizzaapplication/beans/product/PizzaProductWebApplicationController.java @@ -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; *

* @author Roland Haeder */ +@Local public interface PizzaProductWebApplicationController extends Serializable { /**