From: Roland Haeder Date: Fri, 18 Sep 2015 06:17:59 +0000 (+0200) Subject: These methods are admin-only, so not here X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5a18adeb7982e69842f328d2968a1f6f64623538;p=jcustomer-lib.git These methods are admin-only, so not here Signed-off-by:Roland Häder --- diff --git a/src/org/mxchange/jshopcore/model/product/ProductSessionBeanRemote.java b/src/org/mxchange/jshopcore/model/product/ProductSessionBeanRemote.java index da1aea3..8066015 100644 --- a/src/org/mxchange/jshopcore/model/product/ProductSessionBeanRemote.java +++ b/src/org/mxchange/jshopcore/model/product/ProductSessionBeanRemote.java @@ -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 getAllProducts (); - /** * Some "getter" for a linked list of only available products *