com.rapidtransform.product.service.impl
Class ProductServiceImpl

java.lang.Object
  extended by com.rapidtransform.core.service.impl.ServiceImpl
      extended by com.rapidtransform.core.service.impl.CRUDServiceImpl<Type>
          extended by com.rapidtransform.core.service.impl.MetaCRUDServiceImpl<Product>
              extended by com.rapidtransform.product.service.impl.ProductServiceImpl
All Implemented Interfaces:
CRUDService<Product>, MetaCRUDService<Product>, Service, DocumentedService<Product>, ProductService, SpecifiedService<Product>

public class ProductServiceImpl
extends MetaCRUDServiceImpl<Product>
implements ProductService

Author:
S. Werner

Constructor Summary
ProductServiceImpl()
           
 
Method Summary
 Relation<Product,Document> addDocument(Documented source, Document target, java.lang.String relationType)
           
 Relation<Product,Specification> addSpecification(Specified source, Specification target, java.lang.String relationType)
           
 java.util.Collection<Document> getDocuments(java.lang.String relationQname, java.lang.String documentedId)
           
 org.apache.commons.logging.Log getLog()
           
 ProductDAO getProductDao()
           
 java.util.Collection<Specification> getSpecifications(java.lang.String relationType, java.lang.String specifiedId)
           
 void setProductDao(ProductDAO productDao)
           
 
Methods inherited from class com.rapidtransform.core.service.impl.MetaCRUDServiceImpl
create, createRelation, findByMetaType, getMetaService, getRelationDao, setMetaService, setRelationDao
 
Methods inherited from class com.rapidtransform.core.service.impl.CRUDServiceImpl
create, find, findAll, getDao, getPersistentClass, save, setDao, setPersistentClass
 
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
 
Methods inherited from interface com.rapidtransform.core.service.MetaCRUDService
create, createRelation, findByMetaType
 
Methods inherited from interface com.rapidtransform.core.service.CRUDService
create, find, findAll, save
 

Constructor Detail

ProductServiceImpl

public ProductServiceImpl()
Method Detail

getProductDao

public ProductDAO getProductDao()

setProductDao

public void setProductDao(ProductDAO productDao)

getLog

public org.apache.commons.logging.Log getLog()
Specified by:
getLog in class CRUDServiceImpl<Product>

getSpecifications

public java.util.Collection<Specification> getSpecifications(java.lang.String relationType,
                                                             java.lang.String specifiedId)
                                                      throws ConveloException
Specified by:
getSpecifications in interface SpecifiedService<Product>
Throws:
ConveloException

addSpecification

public Relation<Product,Specification> addSpecification(Specified source,
                                                        Specification target,
                                                        java.lang.String relationType)
                                                 throws ConveloException
Specified by:
addSpecification in interface SpecifiedService<Product>
Throws:
ConveloException

addDocument

public Relation<Product,Document> addDocument(Documented source,
                                              Document target,
                                              java.lang.String relationType)
                                       throws ConveloException
Specified by:
addDocument in interface DocumentedService<Product>
Throws:
ConveloException

getDocuments

public java.util.Collection<Document> getDocuments(java.lang.String relationQname,
                                                   java.lang.String documentedId)
                                            throws ConveloException
Specified by:
getDocuments in interface DocumentedService<Product>
Throws:
ConveloException