From 5a18adeb7982e69842f328d2968a1f6f64623538 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Fri, 18 Sep 2015 08:17:59 +0200 Subject: [PATCH] =?utf8?q?These=20methods=20are=20admin-only,=20so=20not?= =?utf8?q?=20here=20Signed-off-by:Roland=20H=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../product/ProductSessionBeanRemote.java | 20 ------------------- 1 file changed, 20 deletions(-) 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 * -- 2.39.5