org.openxma.dsl.reference.service.impl
Class ProductServiceImpl

java.lang.Object
  extended by org.openxma.dsl.reference.service.impl.ProductServiceImpl
All Implemented Interfaces:
ProductService

@Service(value="productService")
public class ProductServiceImpl
extends java.lang.Object
implements ProductService


Field Summary
protected  org.apache.commons.logging.Log logger
           
protected  org.openxma.dsl.platform.service.Mapper mapper
           
protected  ProductDao productDao
           
protected  SupplierDao supplierDao
           
 
Constructor Summary
ProductServiceImpl()
           
 
Method Summary
 void deleteProductView(ProductId oid)
           
 ProductView loadProductView(ProductId oid)
           
 ProductView save(ProductView productView)
           
 void setProductDao(ProductDao productDao)
           
 void setSupplierDao(SupplierDao supplierDao)
           
 void update(ProductView productView)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected final org.apache.commons.logging.Log logger

mapper

protected org.openxma.dsl.platform.service.Mapper mapper

productDao

protected ProductDao productDao

supplierDao

protected SupplierDao supplierDao
Constructor Detail

ProductServiceImpl

public ProductServiceImpl()
Method Detail

setProductDao

public void setProductDao(ProductDao productDao)

setSupplierDao

public void setSupplierDao(SupplierDao supplierDao)

save

@Transactional
public ProductView save(ProductView productView)
Specified by:
save in interface ProductService

loadProductView

@Transactional(readOnly=true)
public ProductView loadProductView(ProductId oid)
Specified by:
loadProductView in interface ProductService

update

@Transactional
public void update(ProductView productView)
Specified by:
update in interface ProductService

deleteProductView

@Transactional
public void deleteProductView(ProductId oid)
Specified by:
deleteProductView in interface ProductService


Copyright © 2010. All Rights Reserved.