From 5d1a525c51f8b70e5aac9e23beb809e35d97cfaf Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Mon, 4 Apr 2016 18:11:03 +0200 Subject: [PATCH] renamed files to make difference to other war-projects --- ...erter.java => PizzaCategoryConverter.java} | 6 +- ...an.java => PizzaBasketWebSessionBean.java} | 4 +- ...a => PizzaBasketWebSessionController.java} | 2 +- ... => PizzaAdminCategoryWebRequestBean.java} | 8 +-- ...zzaAdminCategoryWebRequestController.java} | 2 +- ....java => PizzaCheckoutWebSessionBean.java} | 14 ++--- ...=> PizzaCheckoutWebSessionController.java} | 2 +- ...va => PizzaCountryWebApplicationBean.java} | 4 +- ...PizzaCountryWebApplicationController.java} | 2 +- ....java => PizzaCustomerWebSessionBean.java} | 4 +- ...=> PizzaCustomerWebSessionController.java} | 2 +- ...ava => PizzaGenderWebApplicationBean.java} | 4 +- ... PizzaGenderWebApplicationController.java} | 2 +- .../PizzaLocalizationSessionBean.java | 2 +- ...> PizzaLocalizationSessionController.java} | 2 +- ...a => PizzaAdminProductWebRequestBean.java} | 8 +-- ...izzaAdminProductWebRequestController.java} | 2 +- ...n.java => PizzaReceiptWebSessionBean.java} | 4 +- ... => PizzaReceiptWebSessionController.java} | 2 +- ....java => PizzaShopWebApplicationBean.java} | 2 +- ...=> PizzaShopWebApplicationController.java} | 2 +- ...rvlet.java => PizzaPdfReceiptServlet.java} | 4 +- web/WEB-INF/web.xml | 62 +++++++++---------- 23 files changed, 73 insertions(+), 73 deletions(-) rename src/java/org/mxchange/jshopcore/model/category/{CategoryConverter.java => PizzaCategoryConverter.java} (95%) rename src/java/org/mxchange/pizzaapplication/beans/basket/{BasketWebSessionBean.java => PizzaBasketWebSessionBean.java} (99%) rename src/java/org/mxchange/pizzaapplication/beans/basket/{BasketWebSessionController.java => PizzaBasketWebSessionController.java} (98%) rename src/java/org/mxchange/pizzaapplication/beans/category/{AdminCategoryWebRequestBean.java => PizzaAdminCategoryWebRequestBean.java} (92%) rename src/java/org/mxchange/pizzaapplication/beans/category/{AdminCategoryWebRequestController.java => PizzaAdminCategoryWebRequestController.java} (96%) rename src/java/org/mxchange/pizzaapplication/beans/checkout/{CheckoutWebSessionBean.java => PizzaCheckoutWebSessionBean.java} (91%) rename src/java/org/mxchange/pizzaapplication/beans/checkout/{CheckoutWebSessionController.java => PizzaCheckoutWebSessionController.java} (94%) rename src/java/org/mxchange/pizzaapplication/beans/country/{CountryWebApplicationBean.java => PizzaCountryWebApplicationBean.java} (94%) rename src/java/org/mxchange/pizzaapplication/beans/country/{CountryWebApplicationController.java => PizzaCountryWebApplicationController.java} (93%) rename src/java/org/mxchange/pizzaapplication/beans/customer/{CustomerWebSessionBean.java => PizzaCustomerWebSessionBean.java} (98%) rename src/java/org/mxchange/pizzaapplication/beans/customer/{CustomerWebSessionController.java => PizzaCustomerWebSessionController.java} (98%) rename src/java/org/mxchange/pizzaapplication/beans/gender/{GenderWebApplicationBean.java => PizzaGenderWebApplicationBean.java} (91%) rename src/java/org/mxchange/pizzaapplication/beans/gender/{GenderWebApplicationController.java => PizzaGenderWebApplicationController.java} (94%) rename src/java/org/mxchange/pizzaapplication/beans/localization/{LocalizationSessionController.java => PizzaLocalizationSessionController.java} (93%) rename src/java/org/mxchange/pizzaapplication/beans/product/{AdminProductWebRequestBean.java => PizzaAdminProductWebRequestBean.java} (93%) rename src/java/org/mxchange/pizzaapplication/beans/product/{AdminProductWebRequestController.java => PizzaAdminProductWebRequestController.java} (97%) rename src/java/org/mxchange/pizzaapplication/beans/receipt/{ReceiptWebSessionBean.java => PizzaReceiptWebSessionBean.java} (94%) rename src/java/org/mxchange/pizzaapplication/beans/receipt/{ReceiptWebSessionController.java => PizzaReceiptWebSessionController.java} (94%) rename src/java/org/mxchange/pizzaapplication/beans/shop/{ShopWebApplicationBean.java => PizzaShopWebApplicationBean.java} (97%) rename src/java/org/mxchange/pizzaapplication/beans/shop/{ShopWebApplicationController.java => PizzaShopWebApplicationController.java} (96%) rename src/java/org/mxchange/pizzaapplication/servlet/receipt/{PdfReceiptServlet.java => PizzaPdfReceiptServlet.java} (96%) diff --git a/src/java/org/mxchange/jshopcore/model/category/CategoryConverter.java b/src/java/org/mxchange/jshopcore/model/category/PizzaCategoryConverter.java similarity index 95% rename from src/java/org/mxchange/jshopcore/model/category/CategoryConverter.java rename to src/java/org/mxchange/jshopcore/model/category/PizzaCategoryConverter.java index 1ba13948..48cdb27a 100644 --- a/src/java/org/mxchange/jshopcore/model/category/CategoryConverter.java +++ b/src/java/org/mxchange/jshopcore/model/category/PizzaCategoryConverter.java @@ -30,7 +30,7 @@ import javax.naming.InitialContext; import javax.naming.NamingException; import org.mxchange.jcoreeelogger.beans.local.logger.Log; import org.mxchange.jcoreeelogger.beans.local.logger.LoggerBeanLocal; -import org.mxchange.pizzaapplication.beans.shop.ShopWebApplicationController; +import org.mxchange.pizzaapplication.beans.shop.PizzaShopWebApplicationController; /** * A converter for transfering category objects @@ -38,7 +38,7 @@ import org.mxchange.pizzaapplication.beans.shop.ShopWebApplicationController; * @author Roland Haeder */ @FacesConverter (value = "category") -public class CategoryConverter implements Converter { +public class PizzaCategoryConverter implements Converter { /** * Logger instance @@ -50,7 +50,7 @@ public class CategoryConverter implements Converter { * Category bean */ @Inject - private ShopWebApplicationController shopController; + private PizzaShopWebApplicationController shopController; @Override public Object getAsObject (final FacesContext context, final UIComponent component, final String submittedValue) { diff --git a/src/java/org/mxchange/pizzaapplication/beans/basket/BasketWebSessionBean.java b/src/java/org/mxchange/pizzaapplication/beans/basket/PizzaBasketWebSessionBean.java similarity index 99% rename from src/java/org/mxchange/pizzaapplication/beans/basket/BasketWebSessionBean.java rename to src/java/org/mxchange/pizzaapplication/beans/basket/PizzaBasketWebSessionBean.java index 5e26f345..56bdc6e0 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/basket/BasketWebSessionBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/basket/PizzaBasketWebSessionBean.java @@ -40,7 +40,7 @@ import org.mxchange.jshopcore.model.product.Product; */ @Named ("basketController") @SessionScoped -public class BasketWebSessionBean implements BasketWebSessionController { +public class PizzaBasketWebSessionBean implements PizzaBasketWebSessionController { /** * Serial number @@ -71,7 +71,7 @@ public class BasketWebSessionBean implements BasketWebSessionController { /** * Default constructor */ - public BasketWebSessionBean () { + public PizzaBasketWebSessionBean () { // Get new application instance this.basket = new ShopBasket(); diff --git a/src/java/org/mxchange/pizzaapplication/beans/basket/BasketWebSessionController.java b/src/java/org/mxchange/pizzaapplication/beans/basket/PizzaBasketWebSessionController.java similarity index 98% rename from src/java/org/mxchange/pizzaapplication/beans/basket/BasketWebSessionController.java rename to src/java/org/mxchange/pizzaapplication/beans/basket/PizzaBasketWebSessionController.java index 5317e9c0..1c20c118 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/basket/BasketWebSessionController.java +++ b/src/java/org/mxchange/pizzaapplication/beans/basket/PizzaBasketWebSessionController.java @@ -26,7 +26,7 @@ import org.mxchange.jshopcore.model.product.Product; *

* @author Roland Haeder */ -public interface BasketWebSessionController extends Serializable { +public interface PizzaBasketWebSessionController extends Serializable { /** * Adds given product instance to basket by adding amount from form data to diff --git a/src/java/org/mxchange/pizzaapplication/beans/category/AdminCategoryWebRequestBean.java b/src/java/org/mxchange/pizzaapplication/beans/category/PizzaAdminCategoryWebRequestBean.java similarity index 92% rename from src/java/org/mxchange/pizzaapplication/beans/category/AdminCategoryWebRequestBean.java rename to src/java/org/mxchange/pizzaapplication/beans/category/PizzaAdminCategoryWebRequestBean.java index 65637e90..ef700192 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/category/AdminCategoryWebRequestBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/category/PizzaAdminCategoryWebRequestBean.java @@ -28,7 +28,7 @@ import org.mxchange.jshopcore.exceptions.CategoryTitleAlreadyUsedException; import org.mxchange.jshopcore.model.category.AdminCategorySessionBeanRemote; import org.mxchange.jshopcore.model.category.Category; import org.mxchange.jshopcore.model.category.ProductCategory; -import org.mxchange.pizzaapplication.beans.shop.ShopWebApplicationController; +import org.mxchange.pizzaapplication.beans.shop.PizzaShopWebApplicationController; /** * Main application class @@ -37,7 +37,7 @@ import org.mxchange.pizzaapplication.beans.shop.ShopWebApplicationController; */ @Named ("admin_category") @RequestScoped -public class AdminCategoryWebRequestBean implements AdminCategoryWebRequestController { +public class PizzaAdminCategoryWebRequestBean implements PizzaAdminCategoryWebRequestController { /** * Serial number @@ -66,12 +66,12 @@ public class AdminCategoryWebRequestBean implements AdminCategoryWebRequestContr * Shop bean */ @Inject - private ShopWebApplicationController shopController; + private PizzaShopWebApplicationController shopController; /** * Default constructor */ - public AdminCategoryWebRequestBean () { + public PizzaAdminCategoryWebRequestBean () { // Try it try { // Get initial context diff --git a/src/java/org/mxchange/pizzaapplication/beans/category/AdminCategoryWebRequestController.java b/src/java/org/mxchange/pizzaapplication/beans/category/PizzaAdminCategoryWebRequestController.java similarity index 96% rename from src/java/org/mxchange/pizzaapplication/beans/category/AdminCategoryWebRequestController.java rename to src/java/org/mxchange/pizzaapplication/beans/category/PizzaAdminCategoryWebRequestController.java index 7670dd45..2e130ba0 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/category/AdminCategoryWebRequestController.java +++ b/src/java/org/mxchange/pizzaapplication/beans/category/PizzaAdminCategoryWebRequestController.java @@ -24,7 +24,7 @@ import org.mxchange.jshopcore.model.category.Category; *

* @author Roland Haeder */ -public interface AdminCategoryWebRequestController { +public interface PizzaAdminCategoryWebRequestController { /** * Adds given category data from request to database diff --git a/src/java/org/mxchange/pizzaapplication/beans/checkout/CheckoutWebSessionBean.java b/src/java/org/mxchange/pizzaapplication/beans/checkout/PizzaCheckoutWebSessionBean.java similarity index 91% rename from src/java/org/mxchange/pizzaapplication/beans/checkout/CheckoutWebSessionBean.java rename to src/java/org/mxchange/pizzaapplication/beans/checkout/PizzaCheckoutWebSessionBean.java index 617d7283..a2e3e96a 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/checkout/CheckoutWebSessionBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/checkout/PizzaCheckoutWebSessionBean.java @@ -37,9 +37,9 @@ import org.mxchange.jshopcore.model.basket.AddableBasketItem; import org.mxchange.jshopcore.model.customer.Customer; import org.mxchange.jshopcore.wrapper.CheckoutWrapper; import org.mxchange.jshopcore.wrapper.WrapableCheckout; -import org.mxchange.pizzaapplication.beans.basket.BasketWebSessionController; -import org.mxchange.pizzaapplication.beans.customer.CustomerWebSessionController; -import org.mxchange.pizzaapplication.beans.receipt.ReceiptWebSessionController; +import org.mxchange.pizzaapplication.beans.basket.PizzaBasketWebSessionController; +import org.mxchange.pizzaapplication.beans.customer.PizzaCustomerWebSessionController; +import org.mxchange.pizzaapplication.beans.receipt.PizzaReceiptWebSessionController; /** * Checkout controller @@ -48,7 +48,7 @@ import org.mxchange.pizzaapplication.beans.receipt.ReceiptWebSessionController; */ @Named ("checkoutController") @SessionScoped -public class CheckoutWebSessionBean implements CheckoutWebSessionController { +public class PizzaCheckoutWebSessionBean implements PizzaCheckoutWebSessionController { /** * Serial number @@ -60,7 +60,7 @@ public class CheckoutWebSessionBean implements CheckoutWebSessionController { * Basket bean */ @Inject - private BasketWebSessionController basketController; + private PizzaBasketWebSessionController basketController; /** * Connection @@ -76,7 +76,7 @@ public class CheckoutWebSessionBean implements CheckoutWebSessionController { * Customer bean */ @Inject - private CustomerWebSessionController customerController; + private PizzaCustomerWebSessionController customerController; /** * Object message @@ -97,7 +97,7 @@ public class CheckoutWebSessionBean implements CheckoutWebSessionController { * Receipt bean */ @Inject - private ReceiptWebSessionController receiptController; + private PizzaReceiptWebSessionController receiptController; /** * Session instance diff --git a/src/java/org/mxchange/pizzaapplication/beans/checkout/CheckoutWebSessionController.java b/src/java/org/mxchange/pizzaapplication/beans/checkout/PizzaCheckoutWebSessionController.java similarity index 94% rename from src/java/org/mxchange/pizzaapplication/beans/checkout/CheckoutWebSessionController.java rename to src/java/org/mxchange/pizzaapplication/beans/checkout/PizzaCheckoutWebSessionController.java index 585dbab6..633c00b0 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/checkout/CheckoutWebSessionController.java +++ b/src/java/org/mxchange/pizzaapplication/beans/checkout/PizzaCheckoutWebSessionController.java @@ -24,7 +24,7 @@ import org.mxchange.jshopcore.model.customer.Customer; *

* @author Roland Haeder */ -public interface CheckoutWebSessionController extends Serializable { +public interface PizzaCheckoutWebSessionController extends Serializable { /** * Runs the actual checkout and returns a proper page redirection target. diff --git a/src/java/org/mxchange/pizzaapplication/beans/country/CountryWebApplicationBean.java b/src/java/org/mxchange/pizzaapplication/beans/country/PizzaCountryWebApplicationBean.java similarity index 94% rename from src/java/org/mxchange/pizzaapplication/beans/country/CountryWebApplicationBean.java rename to src/java/org/mxchange/pizzaapplication/beans/country/PizzaCountryWebApplicationBean.java index 552dbab5..c60e7975 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/country/CountryWebApplicationBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/country/PizzaCountryWebApplicationBean.java @@ -35,7 +35,7 @@ import org.mxchange.jcountry.data.CountrySingletonBeanRemote; */ @Named ("country") @ApplicationScoped -public class CountryWebApplicationBean implements CountryWebApplicationController { +public class PizzaCountryWebApplicationBean implements PizzaCountryWebApplicationController { /** * Serial number @@ -55,7 +55,7 @@ public class CountryWebApplicationBean implements CountryWebApplicationControlle /** * Default constructor */ - public CountryWebApplicationBean () { + public PizzaCountryWebApplicationBean () { // Try this try { // Get initial context diff --git a/src/java/org/mxchange/pizzaapplication/beans/country/CountryWebApplicationController.java b/src/java/org/mxchange/pizzaapplication/beans/country/PizzaCountryWebApplicationController.java similarity index 93% rename from src/java/org/mxchange/pizzaapplication/beans/country/CountryWebApplicationController.java rename to src/java/org/mxchange/pizzaapplication/beans/country/PizzaCountryWebApplicationController.java index bdeca746..616891d4 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/country/CountryWebApplicationController.java +++ b/src/java/org/mxchange/pizzaapplication/beans/country/PizzaCountryWebApplicationController.java @@ -25,7 +25,7 @@ import org.mxchange.jcountry.data.Country; *

* @author Roland Haeder */ -public interface CountryWebApplicationController extends Serializable { +public interface PizzaCountryWebApplicationController extends Serializable { /** * A list of all countries diff --git a/src/java/org/mxchange/pizzaapplication/beans/customer/CustomerWebSessionBean.java b/src/java/org/mxchange/pizzaapplication/beans/customer/PizzaCustomerWebSessionBean.java similarity index 98% rename from src/java/org/mxchange/pizzaapplication/beans/customer/CustomerWebSessionBean.java rename to src/java/org/mxchange/pizzaapplication/beans/customer/PizzaCustomerWebSessionBean.java index a2b4e49c..6b3b64b5 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/customer/CustomerWebSessionBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/customer/PizzaCustomerWebSessionBean.java @@ -40,7 +40,7 @@ import org.mxchange.jshopcore.model.customer.ShopCustomer; */ @Named ("customerController") @SessionScoped -public class CustomerWebSessionBean implements CustomerWebSessionController { +public class PizzaCustomerWebSessionBean implements PizzaCustomerWebSessionController { /** * Serial number @@ -121,7 +121,7 @@ public class CustomerWebSessionBean implements CustomerWebSessionController { /** * Default constructor */ - public CustomerWebSessionBean () { + public PizzaCustomerWebSessionBean () { // Set gender to UNKNOWN this.gender = Gender.UNKNOWN; diff --git a/src/java/org/mxchange/pizzaapplication/beans/customer/CustomerWebSessionController.java b/src/java/org/mxchange/pizzaapplication/beans/customer/PizzaCustomerWebSessionController.java similarity index 98% rename from src/java/org/mxchange/pizzaapplication/beans/customer/CustomerWebSessionController.java rename to src/java/org/mxchange/pizzaapplication/beans/customer/PizzaCustomerWebSessionController.java index 080a8bd0..825192fd 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/customer/CustomerWebSessionController.java +++ b/src/java/org/mxchange/pizzaapplication/beans/customer/PizzaCustomerWebSessionController.java @@ -29,7 +29,7 @@ import org.mxchange.jshopcore.model.customer.Customer; *

* @author Roland Haeder */ -public interface CustomerWebSessionController extends Serializable { +public interface PizzaCustomerWebSessionController extends Serializable { /** * Creates an instance from all properties diff --git a/src/java/org/mxchange/pizzaapplication/beans/gender/GenderWebApplicationBean.java b/src/java/org/mxchange/pizzaapplication/beans/gender/PizzaGenderWebApplicationBean.java similarity index 91% rename from src/java/org/mxchange/pizzaapplication/beans/gender/GenderWebApplicationBean.java rename to src/java/org/mxchange/pizzaapplication/beans/gender/PizzaGenderWebApplicationBean.java index e59e4cdc..eb956f1e 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/gender/GenderWebApplicationBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/gender/PizzaGenderWebApplicationBean.java @@ -29,7 +29,7 @@ import org.mxchange.jcontacts.contact.gender.GenderUtils; */ @Named ("gender") @ApplicationScoped -public class GenderWebApplicationBean implements GenderWebApplicationController { +public class PizzaGenderWebApplicationBean implements PizzaGenderWebApplicationController { /** * Serial number @@ -39,7 +39,7 @@ public class GenderWebApplicationBean implements GenderWebApplicationController /** * Default constructor */ - public GenderWebApplicationBean () { + public PizzaGenderWebApplicationBean () { } @Override diff --git a/src/java/org/mxchange/pizzaapplication/beans/gender/GenderWebApplicationController.java b/src/java/org/mxchange/pizzaapplication/beans/gender/PizzaGenderWebApplicationController.java similarity index 94% rename from src/java/org/mxchange/pizzaapplication/beans/gender/GenderWebApplicationController.java rename to src/java/org/mxchange/pizzaapplication/beans/gender/PizzaGenderWebApplicationController.java index 536eaeae..9e0b9d82 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/gender/GenderWebApplicationController.java +++ b/src/java/org/mxchange/pizzaapplication/beans/gender/PizzaGenderWebApplicationController.java @@ -25,7 +25,7 @@ import org.mxchange.jcontacts.contact.gender.Gender; *

* @author Roland Haeder */ -public interface GenderWebApplicationController extends Serializable { +public interface PizzaGenderWebApplicationController extends Serializable { /** * Getter for all genders as array diff --git a/src/java/org/mxchange/pizzaapplication/beans/localization/PizzaLocalizationSessionBean.java b/src/java/org/mxchange/pizzaapplication/beans/localization/PizzaLocalizationSessionBean.java index 8c107ed4..b8fb5cde 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/localization/PizzaLocalizationSessionBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/localization/PizzaLocalizationSessionBean.java @@ -33,7 +33,7 @@ import org.mxchange.jcoreee.database.BaseDatabaseBean; */ @Named ("localization") @SessionScoped -public class PizzaLocalizationSessionBean extends BaseDatabaseBean implements LocalizationSessionController { +public class PizzaLocalizationSessionBean extends BaseDatabaseBean implements PizzaLocalizationSessionController { /** * Serial number diff --git a/src/java/org/mxchange/pizzaapplication/beans/localization/LocalizationSessionController.java b/src/java/org/mxchange/pizzaapplication/beans/localization/PizzaLocalizationSessionController.java similarity index 93% rename from src/java/org/mxchange/pizzaapplication/beans/localization/LocalizationSessionController.java rename to src/java/org/mxchange/pizzaapplication/beans/localization/PizzaLocalizationSessionController.java index 7383bdd1..e4c98139 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/localization/LocalizationSessionController.java +++ b/src/java/org/mxchange/pizzaapplication/beans/localization/PizzaLocalizationSessionController.java @@ -24,7 +24,7 @@ import java.util.Locale; *

* @author Roland Haeder */ -public interface LocalizationSessionController extends Serializable { +public interface PizzaLocalizationSessionController extends Serializable { /** * Getter for locale diff --git a/src/java/org/mxchange/pizzaapplication/beans/product/AdminProductWebRequestBean.java b/src/java/org/mxchange/pizzaapplication/beans/product/PizzaAdminProductWebRequestBean.java similarity index 93% rename from src/java/org/mxchange/pizzaapplication/beans/product/AdminProductWebRequestBean.java rename to src/java/org/mxchange/pizzaapplication/beans/product/PizzaAdminProductWebRequestBean.java index 3f0516c1..b329e098 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/product/AdminProductWebRequestBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/product/PizzaAdminProductWebRequestBean.java @@ -30,7 +30,7 @@ import org.mxchange.jshopcore.model.category.Category; import org.mxchange.jshopcore.model.product.AdminProductSessionBeanRemote; import org.mxchange.jshopcore.model.product.GenericProduct; import org.mxchange.jshopcore.model.product.Product; -import org.mxchange.pizzaapplication.beans.shop.ShopWebApplicationController; +import org.mxchange.pizzaapplication.beans.shop.PizzaShopWebApplicationController; /** * Main application class @@ -39,7 +39,7 @@ import org.mxchange.pizzaapplication.beans.shop.ShopWebApplicationController; */ @Named ("adminProductController") @RequestScoped -public class AdminProductWebRequestBean implements AdminProductWebRequestController { +public class PizzaAdminProductWebRequestBean implements PizzaAdminProductWebRequestController { /** * Serial number @@ -78,12 +78,12 @@ public class AdminProductWebRequestBean implements AdminProductWebRequestControl * Shop bean */ @Inject - private ShopWebApplicationController shopController; + private PizzaShopWebApplicationController shopController; /** * Default constructor */ - public AdminProductWebRequestBean () { + public PizzaAdminProductWebRequestBean () { // Try it try { // Get initial context diff --git a/src/java/org/mxchange/pizzaapplication/beans/product/AdminProductWebRequestController.java b/src/java/org/mxchange/pizzaapplication/beans/product/PizzaAdminProductWebRequestController.java similarity index 97% rename from src/java/org/mxchange/pizzaapplication/beans/product/AdminProductWebRequestController.java rename to src/java/org/mxchange/pizzaapplication/beans/product/PizzaAdminProductWebRequestController.java index e0bbda86..3a9a67a4 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/product/AdminProductWebRequestController.java +++ b/src/java/org/mxchange/pizzaapplication/beans/product/PizzaAdminProductWebRequestController.java @@ -26,7 +26,7 @@ import org.mxchange.jshopcore.model.product.Product; *

* @author Roland Haeder */ -public interface AdminProductWebRequestController { +public interface PizzaAdminProductWebRequestController { /** * Adds given product data from request to database diff --git a/src/java/org/mxchange/pizzaapplication/beans/receipt/ReceiptWebSessionBean.java b/src/java/org/mxchange/pizzaapplication/beans/receipt/PizzaReceiptWebSessionBean.java similarity index 94% rename from src/java/org/mxchange/pizzaapplication/beans/receipt/ReceiptWebSessionBean.java rename to src/java/org/mxchange/pizzaapplication/beans/receipt/PizzaReceiptWebSessionBean.java index eab1ba67..7239b81e 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/receipt/ReceiptWebSessionBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/receipt/PizzaReceiptWebSessionBean.java @@ -32,7 +32,7 @@ import org.mxchange.jshopcore.model.receipt.ReceiptBeanRemote; */ @Named ("receiptController") @SessionScoped -public class ReceiptWebSessionBean implements ReceiptWebSessionController { +public class PizzaReceiptWebSessionBean implements PizzaReceiptWebSessionController { /** * Serial number @@ -52,7 +52,7 @@ public class ReceiptWebSessionBean implements ReceiptWebSessionController { /** * Default constructor */ - public ReceiptWebSessionBean () { + public PizzaReceiptWebSessionBean () { try { // Get initial context Context context = new InitialContext(); diff --git a/src/java/org/mxchange/pizzaapplication/beans/receipt/ReceiptWebSessionController.java b/src/java/org/mxchange/pizzaapplication/beans/receipt/PizzaReceiptWebSessionController.java similarity index 94% rename from src/java/org/mxchange/pizzaapplication/beans/receipt/ReceiptWebSessionController.java rename to src/java/org/mxchange/pizzaapplication/beans/receipt/PizzaReceiptWebSessionController.java index 2238bc19..0b5fb546 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/receipt/ReceiptWebSessionController.java +++ b/src/java/org/mxchange/pizzaapplication/beans/receipt/PizzaReceiptWebSessionController.java @@ -24,7 +24,7 @@ import org.mxchange.jshopcore.model.customer.Customer; *

* @author Roland Haeder */ -public interface ReceiptWebSessionController extends Serializable { +public interface PizzaReceiptWebSessionController extends Serializable { /** * Fetches last access key for given customer instance diff --git a/src/java/org/mxchange/pizzaapplication/beans/shop/ShopWebApplicationBean.java b/src/java/org/mxchange/pizzaapplication/beans/shop/PizzaShopWebApplicationBean.java similarity index 97% rename from src/java/org/mxchange/pizzaapplication/beans/shop/ShopWebApplicationBean.java rename to src/java/org/mxchange/pizzaapplication/beans/shop/PizzaShopWebApplicationBean.java index 52d60820..f85638b8 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/shop/ShopWebApplicationBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/shop/PizzaShopWebApplicationBean.java @@ -39,7 +39,7 @@ import org.mxchange.jshopcore.model.product.ProductSessionBeanRemote; */ @Named ("controller") @ApplicationScoped -public class ShopWebApplicationBean implements ShopWebApplicationController { +public class PizzaShopWebApplicationBean implements PizzaShopWebApplicationController { /** * Serial number diff --git a/src/java/org/mxchange/pizzaapplication/beans/shop/ShopWebApplicationController.java b/src/java/org/mxchange/pizzaapplication/beans/shop/PizzaShopWebApplicationController.java similarity index 96% rename from src/java/org/mxchange/pizzaapplication/beans/shop/ShopWebApplicationController.java rename to src/java/org/mxchange/pizzaapplication/beans/shop/PizzaShopWebApplicationController.java index 69ded40a..5cbe8fcc 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/shop/ShopWebApplicationController.java +++ b/src/java/org/mxchange/pizzaapplication/beans/shop/PizzaShopWebApplicationController.java @@ -27,7 +27,7 @@ import org.mxchange.jshopcore.model.product.Product; *

* @author Roland Haeder */ -public interface ShopWebApplicationController extends Serializable { +public interface PizzaShopWebApplicationController extends Serializable { /** * Adds given category to the "cached" instance diff --git a/src/java/org/mxchange/pizzaapplication/servlet/receipt/PdfReceiptServlet.java b/src/java/org/mxchange/pizzaapplication/servlet/receipt/PizzaPdfReceiptServlet.java similarity index 96% rename from src/java/org/mxchange/pizzaapplication/servlet/receipt/PdfReceiptServlet.java rename to src/java/org/mxchange/pizzaapplication/servlet/receipt/PizzaPdfReceiptServlet.java index 9d55184e..3d374cdb 100644 --- a/src/java/org/mxchange/pizzaapplication/servlet/receipt/PdfReceiptServlet.java +++ b/src/java/org/mxchange/pizzaapplication/servlet/receipt/PizzaPdfReceiptServlet.java @@ -33,7 +33,7 @@ import org.mxchange.jshopcore.model.receipt.WrapableReceipt; *

* @author Roland Haeder */ -public class PdfReceiptServlet extends HttpServlet { +public class PizzaPdfReceiptServlet extends HttpServlet { /** * Serial number @@ -48,7 +48,7 @@ public class PdfReceiptServlet extends HttpServlet { /** * Public constructor */ - public PdfReceiptServlet () { + public PizzaPdfReceiptServlet () { // Try it try { // Get initial context diff --git a/web/WEB-INF/web.xml b/web/WEB-INF/web.xml index 0e403f6c..288c1c7c 100644 --- a/web/WEB-INF/web.xml +++ b/web/WEB-INF/web.xml @@ -1,36 +1,36 @@ - - javax.faces.PROJECT_STAGE - Development - - - Faces Servlet - javax.faces.webapp.FacesServlet - 1 - - - pdf - org.mxchange.pizzaapplication.servlet.receipt.PdfReceiptServlet - - - Faces Servlet - /faces/* - - - tpl - text/plain - - - pdf - /customer/recipt.pdf - - - + + javax.faces.PROJECT_STAGE + Development + + + Faces Servlet + javax.faces.webapp.FacesServlet + 1 + + + pdf + org.mxchange.pizzaapplication.servlet.receipt.PizzaPdfReceiptServlet + + + Faces Servlet + /faces/* + + + tpl + text/plain + + + pdf + /customer/recipt.pdf + + + 30 - - - faces/index.xhtml - + + + faces/index.xhtml + -- 2.39.5