org.broadleafcommerce.common.util.dao
Class DynamicDaoHelperImpl
java.lang.Object
org.broadleafcommerce.common.util.dao.DynamicDaoHelperImpl
- All Implemented Interfaces:
- DynamicDaoHelper
public class DynamicDaoHelperImpl
- extends Object
- implements DynamicDaoHelper
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOCK_OBJECT
public static final Object LOCK_OBJECT
POLYMORPHIC_ENTITY_CACHE
public static final Map<Class<?>,Class<?>[]> POLYMORPHIC_ENTITY_CACHE
POLYMORPHIC_ENTITY_CACHE_WO_EXCLUSIONS
public static final Map<Class<?>,Class<?>[]> POLYMORPHIC_ENTITY_CACHE_WO_EXCLUSIONS
DynamicDaoHelperImpl
public DynamicDaoHelperImpl()
getAllPolymorphicEntitiesFromCeiling
public Class<?>[] getAllPolymorphicEntitiesFromCeiling(Class<?> ceilingClass,
org.hibernate.SessionFactory sessionFactory,
boolean includeUnqualifiedPolymorphicEntities,
boolean useCache)
- Specified by:
getAllPolymorphicEntitiesFromCeiling in interface DynamicDaoHelper
sortEntities
public Class<?>[] sortEntities(Class<?> ceilingClass,
List<Class<?>> entities)
- Specified by:
sortEntities in interface DynamicDaoHelper
isExcludeClassFromPolymorphism
public boolean isExcludeClassFromPolymorphism(Class<?> clazz)
- Specified by:
isExcludeClassFromPolymorphism in interface DynamicDaoHelper
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.