org.broadleafcommerce.common.util.dao
Class DynamicDaoHelperImpl

java.lang.Object
  extended by org.broadleafcommerce.common.util.dao.DynamicDaoHelperImpl
All Implemented Interfaces:
DynamicDaoHelper

@Repository(value="blDynamicDaoHelperImpl")
public class DynamicDaoHelperImpl
extends Object
implements DynamicDaoHelper


Constructor Summary
DynamicDaoHelperImpl()
           
 
Method Summary
 Map<String,Object> getIdMetadata(Class<?> entityClass, org.hibernate.ejb.HibernateEntityManager entityManager)
           
 List<String> getPropertyNames(Class<?> entityClass, org.hibernate.ejb.HibernateEntityManager entityManager)
           
 List<org.hibernate.type.Type> getPropertyTypes(Class<?> entityClass, org.hibernate.ejb.HibernateEntityManager entityManager)
           
 org.hibernate.SessionFactory getSessionFactory(org.hibernate.ejb.HibernateEntityManager entityManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicDaoHelperImpl

public DynamicDaoHelperImpl()
Method Detail

getIdMetadata

public Map<String,Object> getIdMetadata(Class<?> entityClass,
                                        org.hibernate.ejb.HibernateEntityManager entityManager)
Specified by:
getIdMetadata in interface DynamicDaoHelper

getPropertyNames

public List<String> getPropertyNames(Class<?> entityClass,
                                     org.hibernate.ejb.HibernateEntityManager entityManager)
Specified by:
getPropertyNames in interface DynamicDaoHelper

getPropertyTypes

public List<org.hibernate.type.Type> getPropertyTypes(Class<?> entityClass,
                                                      org.hibernate.ejb.HibernateEntityManager entityManager)
Specified by:
getPropertyTypes in interface DynamicDaoHelper

getSessionFactory

public org.hibernate.SessionFactory getSessionFactory(org.hibernate.ejb.HibernateEntityManager entityManager)
Specified by:
getSessionFactory in interface DynamicDaoHelper


Copyright © 2013. All Rights Reserved.