com.parthparekh.service.utils
Class ProductServiceUtils

java.lang.Object
  extended by com.parthparekh.service.utils.ProductServiceUtils

@Component
public class ProductServiceUtils
extends java.lang.Object

Utility class for Product Service


Field Summary
private static org.slf4j.Logger logger
           
private static java.lang.String PRODUCT_CACHE_PREFIX
           
 
Constructor Summary
ProductServiceUtils()
           
 
Method Summary
 java.lang.String generateProductCacheKey(java.lang.String id)
           
 void validateProductForUpdate(Product oldProduct, Product newProduct)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private static final org.slf4j.Logger logger

PRODUCT_CACHE_PREFIX

private static final java.lang.String PRODUCT_CACHE_PREFIX
See Also:
Constant Field Values
Constructor Detail

ProductServiceUtils

public ProductServiceUtils()
Method Detail

validateProductForUpdate

public void validateProductForUpdate(Product oldProduct,
                                     Product newProduct)

generateProductCacheKey

public java.lang.String generateProductCacheKey(java.lang.String id)