package devopsdistilled.operp.server.data.service.items;

import devopsdistilled.operp.server.data.entity.items.Product;
import devopsdistilled.operp.server.data.service.EntityService;

public interface ProductService extends EntityService<Product, Long> {

	boolean isProductNameExists(String productName);

}

@@ -302,10 +302,86 @@
 Name);%0A%0A
+%09boolean isProductNameValidForProduct(Long productId, String productName);%0A%0A
 %7D%0A

Declare isProductNameValidForProduct()