Signed-off-by:Roland Häder <roland@mxchange.org>
import java.rmi.RemoteException;
import java.util.Deque;
import javax.ejb.Remote;
+import org.mxchange.jshopcore.exceptions.ProductTitleAlreadyUsedException;
/**
* An interface for non-admin purposes
/**
* 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
*/
- public void doAdminAddProduct (final Product product);
+ public void doAdminAddProduct (final Product product) throws ProductTitleAlreadyUsedException;
/**
* Some "getter" for all products. This method is typically used in admin