com.rapidtransform.product.service.impl
Class ProductDesignServiceImpl

java.lang.Object
  extended by com.rapidtransform.core.service.impl.ServiceImpl
      extended by com.rapidtransform.product.service.impl.ProductDesignServiceImpl
All Implemented Interfaces:
Service, ProductDesignService

public class ProductDesignServiceImpl
extends ServiceImpl
implements ProductDesignService

Author:
S. Werner

Constructor Summary
ProductDesignServiceImpl()
           
 
Method Summary
 Product createProduct()
           
 ProductClass createProductClass()
           
 java.util.List<ProductClass> findAllProductClasses()
           
 java.util.List<Product> findAllProducts()
           
 Product findProduct(java.lang.String id)
           
 ProductClass findProductClass(java.lang.String id)
           
 java.util.List<Specification> getSpecifications(ProductClass productClass)
          Returns the specifications for the given product class.
 Product save(Product product)
           
 ProductClass save(ProductClass productClass)
           
 void setProductClassDao(ProductClassDAO productClassDao)
           
 
Methods inherited from class com.rapidtransform.core.service.impl.ServiceImpl
getMessageSource, getSecurityService, setMessageSource, setSecurityService
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProductDesignServiceImpl

public ProductDesignServiceImpl()
Method Detail

setProductClassDao

public void setProductClassDao(ProductClassDAO productClassDao)

createProductClass

public ProductClass createProductClass()
Specified by:
createProductClass in interface ProductDesignService

findAllProductClasses

public java.util.List<ProductClass> findAllProductClasses()
Specified by:
findAllProductClasses in interface ProductDesignService

findProductClass

public ProductClass findProductClass(java.lang.String id)
Specified by:
findProductClass in interface ProductDesignService

save

@Transactional
public ProductClass save(ProductClass productClass)
Specified by:
save in interface ProductDesignService

getSpecifications

public java.util.List<Specification> getSpecifications(ProductClass productClass)
Returns the specifications for the given product class. Since the specifications are lazy loaded on the product class, the caller must use this service method to get the specs.

Specified by:
getSpecifications in interface ProductDesignService
Returns:

createProduct

public Product createProduct()

findAllProducts

public java.util.List<Product> findAllProducts()

findProduct

public Product findProduct(java.lang.String id)

save

@Transactional
public Product save(Product product)