import java.io.Serializable;
import javax.ejb.Remote;
import org.mxchange.jproduct.exceptions.product.ProductAlreadyAddedException;
+import org.mxchange.jproduct.exceptions.product.ProductNotFoundException;
/**
* Product interface for "ADMIN" role
@Remote
public interface AdminProductSessionBeanRemote extends Serializable {
+ /**
+ * Updates given product instance
+ * <p>
+ * @param product Product instance to be updated
+ * <p>
+ * @return Updated instance
+ * <p>
+ * @throws ProductNotFoundException If product was not found
+ */
+ Product updateProductData (final Product product) throws ProductNotFoundException;
+
/**
* Adds given product data from request to database
* <p>