org.broadleafcommerce.common.dao
Class GenericEntityDaoImpl

java.lang.Object
  extended by org.broadleafcommerce.common.dao.GenericEntityDaoImpl
All Implemented Interfaces:
GenericEntityDao

@Repository(value="blGenericEntityDao")
public class GenericEntityDaoImpl
extends Object
implements GenericEntityDao


Field Summary
protected  DynamicDaoHelperImpl daoHelper
           
protected  javax.persistence.EntityManager em
           
protected  EntityConfiguration entityConfiguration
           
 
Constructor Summary
GenericEntityDaoImpl()
           
 
Method Summary
 Class<?> getImplClass(String className)
           
 Object readGenericEntity(Class<?> clazz, Object id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

em

protected javax.persistence.EntityManager em

entityConfiguration

protected EntityConfiguration entityConfiguration

daoHelper

protected DynamicDaoHelperImpl daoHelper
Constructor Detail

GenericEntityDaoImpl

public GenericEntityDaoImpl()
Method Detail

readGenericEntity

public Object readGenericEntity(Class<?> clazz,
                                Object id)
Specified by:
readGenericEntity in interface GenericEntityDao

getImplClass

public Class<?> getImplClass(String className)
Specified by:
getImplClass in interface GenericEntityDao


Copyright © 2013. All Rights Reserved.