]> git.mxchange.org Git - pizzaservice-war.git/commit
Continued with project:
authorRoland Haeder <roland@mxchange.org>
Fri, 14 Aug 2015 12:46:08 +0000 (14:46 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 14 Aug 2015 12:46:08 +0000 (14:46 +0200)
commit55a79f8336b44a108d217e3394d78ee16adb6e5d
tree96a5d5610a91944453dd73ef4042f9414dd9ef52
parent531b4f95785def09d09e5db52ad8c6da0650b648
Continued with project:
- Used "category" instead of "id" for category selection box
- Added method addProduct()
- Added method isProductTitleUsed()
- Added new exception ProductTitleAlreadyUsedException
- Changed parameter type of "parent" to Integer as it can be done (better type-hint)
- Rewrote addCategory() a bit for this
- Added database columns "category", "price" and "title" for products
- Renamed method isCategoryUsed() to isCategoryTitleUsed()
- Deleted do_products.jsp
Signed-off-by:Roland Häder <roland@mxchange.org>
src/java/org/mxchange/pizzaapplication/application/PizzaApplication.java
src/java/org/mxchange/pizzaapplication/application/PizzaServiceApplication.java
src/java/org/mxchange/pizzaapplication/database/frontend/category/CategoryFrontend.java
src/java/org/mxchange/pizzaapplication/database/frontend/category/PizzaCategoryDatabaseFrontend.java
src/java/org/mxchange/pizzaapplication/database/frontend/product/PizzaProductDatabaseFrontend.java
src/java/org/mxchange/pizzaapplication/database/frontend/product/ProductFrontend.java
src/java/org/mxchange/pizzaapplication/database/product/PizzaProductDatabaseConstants.java
src/java/org/mxchange/pizzaapplication/exceptions/ProductTitleAlreadyUsedException.java [new file with mode: 0644]
web/admin/product.jsp
web/form_handler/admin/do_products.jsp [deleted file]
web/static/admin/category_selection_box.jsp