]> git.mxchange.org Git - jproduct-lib.git/commitdiff
These methods are admin-only, so not here
authorRoland Haeder <roland@mxchange.org>
Fri, 18 Sep 2015 06:17:59 +0000 (08:17 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 18 Sep 2015 06:17:59 +0000 (08:17 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

src/org/mxchange/jshopcore/model/product/ProductSessionBeanRemote.java

index da1aea38b63183e1bb8ff58c99d9386218dc91f1..8066015d964a84b8368a4bc0259f7e55c550074d 100644 (file)
@@ -19,8 +19,6 @@ package org.mxchange.jshopcore.model.product;
 import java.io.Serializable;
 import java.util.Deque;
 import javax.ejb.Remote;
-import org.mxchange.jshopcore.exceptions.CannotAddProductException;
-import org.mxchange.jshopcore.exceptions.ProductTitleAlreadyUsedException;
 
 /**
  * An interface for non-admin purposes
@@ -30,24 +28,6 @@ import org.mxchange.jshopcore.exceptions.ProductTitleAlreadyUsedException;
 @Remote
 public interface ProductSessionBeanRemote extends Serializable {
 
-       /**
-        * Adds given product to database. This method is typically used in admin
-        * area.
-        *
-        * @param product Product instance to add
-        * @throws org.mxchange.jshopcore.exceptions.ProductTitleAlreadyUsedException If the given product title is already used
-        * @throws org.mxchange.jshopcore.exceptions.CannotAddProductException If the product cannot be added
-        */
-       public void doAdminAddProduct (final Product product) throws ProductTitleAlreadyUsedException, CannotAddProductException;
-
-       /**
-        * Some "getter" for all products. This method is typically used in admin
-        * area.
-        *
-        * @return A Deque of all products
-        */
-       public Deque<Product> getAllProducts ();
-
        /**
         * Some "getter" for a linked list of only available products
         *