]> git.mxchange.org Git - jcustomer-lib.git/blobdiff - src/org/mxchange/jshopcore/model/product/AdminProductSessionBeanRemote.java
Continued:
[jcustomer-lib.git] / src / org / mxchange / jshopcore / model / product / AdminProductSessionBeanRemote.java
index 3b33524411103769e8fd082b79cf7a12317e2f52..9cf68f8ab36dec4f569104a0eca03d712b404436 100644 (file)
@@ -41,8 +41,9 @@ public interface AdminProductSessionBeanRemote extends Serializable {
         * Adds given product data from request to database
         *
         * @param product Product instance
+        * @return Updated product instance
         * @throws org.mxchange.jshopcore.exceptions.ProductTitleAlreadyUsedException If the given product title is already used
         * @throws org.mxchange.jshopcore.exceptions.CannotAddProductException If something unexpected happened
         */
-       public void doAdminAddProduct (final Product product) throws ProductTitleAlreadyUsedException, CannotAddProductException;
+       public Product doAdminAddProduct (final Product product) throws ProductTitleAlreadyUsedException, CannotAddProductException;
 }