]> git.mxchange.org Git - pizzaservice-war.git/blobdiff - src/java/org/mxchange/pizzaapplication/beans/controller/PizzaWebBean.java
updated jshop-ee-jar + made first calls
[pizzaservice-war.git] / src / java / org / mxchange / pizzaapplication / beans / controller / PizzaWebBean.java
index f24dad1ec565e79882bfe4ed2b94cfd4307954b0..451f9f70cb9210e420e181a23cf1ce2402afa1f9 100644 (file)
@@ -19,24 +19,17 @@ package org.mxchange.pizzaapplication.beans.controller;
 import java.rmi.RemoteException;
 import java.util.Deque;
 import java.util.Iterator;
-import javax.faces.FacesException;
+import org.mxchange.jcoreee.beans.FrameworkBean;
 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.jshopejb.beans.FrameworkBean;
 
 /**
  *
  * @author Roland Haeder
  */
 public interface PizzaWebBean extends FrameworkBean {
-       /**
-        * Initializes this instance
-        * 
-        * @throws FacesException If something was wrong
-        */
-       public void init () throws FacesException;
 
        /**
         * Some "getter" for an iterator of only available products
@@ -86,39 +79,6 @@ public interface PizzaWebBean extends FrameworkBean {
         */
        public Deque<Category> getAllCategories () throws RemoteException;
 
-       /**
-        * Generates a link for category's parent category. If none is given, the method will return only a small
-        * note.
-        *
-        * @param category Category instance
-        * @return HTML link for category's parent category
-        * @deprecated Old lost code
-        */
-       @Deprecated
-       public String generateLinkForParent (final Category category);
-
-       /**
-        * Checks if given Product instance is available and returns a printable
-        * (human-readable) string.
-        * 
-        * @param product Product instance to check
-        * @return Human-readable version of product availability
-        * @deprecated Old lost code
-        */
-       @Deprecated
-       public String getPrintableProductAvailability (final Product product);
-
-       /**
-        * Returns a printable (human-readable) string of product's category
-        * 
-        * @param product Product instance to check
-        * @return Human-readable version of product availability
-        * @throws java.rmi.RemoteException If something unexpected happened
-        * @deprecated Old lost code
-        */
-       @Deprecated
-       public String getPrintableProduktCategory (final Product product) throws RemoteException;
-
        /**
         * Adds given category data from request to database
         *
@@ -136,22 +96,4 @@ public interface PizzaWebBean extends FrameworkBean {
         * @throws org.mxchange.jshopcore.exceptions.ProductTitleAlreadyUsedException If the given product title is already used
         */
        public void doAdminAddProduct (final Product product) throws RemoteException, ProductTitleAlreadyUsedException;
-
-       /**
-        * Handles admin product form requests
-        *
-        * @throws RemoteException If something unexpected happened
-        * @deprecated Old lost code
-        */
-       @Deprecated
-       public void doAdminHandleProductForms () throws RemoteException;
-
-       /**
-        * Handles admin category form requests
-        * 
-        * @throws RemoteException If something unexpected happened
-        * @deprecated Old lost code
-        */
-       @Deprecated
-       public void doAdminHandleCategoryForms () throws RemoteException;
 }