org.squashtest.csp.tm.internal.repository.hibernate
Class HibernateEntityDao<ENTITY_TYPE>
java.lang.Object
org.squashtest.csp.tm.internal.repository.hibernate.HibernateDao<ENTITY_TYPE>
org.squashtest.csp.tm.internal.repository.hibernate.HibernateEntityDao<ENTITY_TYPE>
- All Implemented Interfaces:
- EntityDao<ENTITY_TYPE>
- Direct Known Subclasses:
- HibernateAttachmentContentDao, HibernateAttachmentDao, HibernateAttachmentListDao, HibernateCampaignDao, HibernateCampaignFolderDao, HibernateCampaignLibraryNodeDao, HibernateCampaignTestPlanItemDao, HibernateExecutionDao, HibernateExecutionStepDao, HibernateIssueDao, HibernateItemTestPlanDao, HibernateIterationDao, HibernateProjectDao, HibernateProjectFilterDao, HibernateRequirementDao, HibernateRequirementFolderDao, HibernateRequirementLibraryNodeDao, HibernateTestCaseDao, HibernateTestCaseFolderDao, HibernateTestCaseLibraryNodeDao, HibernateUserDao, HibernateUsersGroupDao
public class HibernateEntityDao<ENTITY_TYPE>
- extends HibernateDao<ENTITY_TYPE>
- implements EntityDao<ENTITY_TYPE>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibernateEntityDao
public HibernateEntityDao()
findById
public final ENTITY_TYPE findById(long id)
- Specified by:
findById in interface EntityDao<ENTITY_TYPE>
findAllByIdList
public List<ENTITY_TYPE> findAllByIdList(List<Long> ids)
- Specified by:
findAllByIdList in interface EntityDao<ENTITY_TYPE>
getIdPropertyName
public String getIdPropertyName()
persist
public final void persist(ENTITY_TYPE transientEntity)
- Specified by:
persist in interface EntityDao<ENTITY_TYPE>
remove
public final void remove(ENTITY_TYPE entity)
- Specified by:
remove in interface EntityDao<ENTITY_TYPE>
flush
public final void flush()
- Specified by:
flush in interface EntityDao<ENTITY_TYPE>
persist
public void persist(List<ENTITY_TYPE> transientEntities)
- Specified by:
persist in interface EntityDao<ENTITY_TYPE>
Copyright © 2010-2012 Squashtest TM, Squashtest.org. All Rights Reserved.