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, HibernateBugTrackerBindingDao, HibernateBugTrackerDao, HibernateCampaignDao, HibernateCampaignFolderDao, HibernateCampaignLibraryNodeDao, HibernateCampaignTestPlanItemDao, HibernateExecutionDao, HibernateExecutionStepDao, HibernateIssueDao, HibernateItemTestPlanDao, HibernateIterationDao, HibernateProjectDao, HibernateProjectFilterDao, HibernateRequirementDao, HibernateRequirementFolderDao, HibernateRequirementLibraryNodeDao, HibernateTestCaseDao, HibernateTestCaseFolderDao, HibernateTestCaseLibraryNodeDao, HibernateTestSuiteDao, 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>
findAll
public List<ENTITY_TYPE> findAll()
- Specified by:
findAll in interface EntityDao<ENTITY_TYPE>
- Returns:
- a list of all entities found in the database with no restriction
findAllByIds
public List<ENTITY_TYPE> findAllByIds(Collection<Long> ids)
- Specified by:
findAllByIds 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 Henix, henix.fr. All Rights Reserved.