X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2Forg%2Fmxchange%2Fjshopcore%2Fmodel%2Fproduct%2FAdminProductSessionBeanRemote.java;h=9cf68f8ab36dec4f569104a0eca03d712b404436;hb=530fd4b98744fed67dd9db3b11da2fd6081939e9;hp=3b33524411103769e8fd082b79cf7a12317e2f52;hpb=b1be06a919a65150439e993a292cb8f71669e4e7;p=jcustomer-lib.git diff --git a/src/org/mxchange/jshopcore/model/product/AdminProductSessionBeanRemote.java b/src/org/mxchange/jshopcore/model/product/AdminProductSessionBeanRemote.java index 3b33524..9cf68f8 100644 --- a/src/org/mxchange/jshopcore/model/product/AdminProductSessionBeanRemote.java +++ b/src/org/mxchange/jshopcore/model/product/AdminProductSessionBeanRemote.java @@ -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; }