org.squashtest.tm.service.internal.repository
Interface LibraryDao<LIBRARY extends org.squashtest.tm.domain.library.Library<? extends NODE>,NODE extends org.squashtest.tm.domain.library.LibraryNode>
- Type Parameters:
LIBRARY - Type of the library entityNODE - Type of the LibraryNode entities contained by the library.
- All Known Subinterfaces:
- CampaignLibraryDao, RequirementLibraryDao, TestCaseLibraryDao
- All Known Implementing Classes:
- HibernateCampaignLibraryDao, HibernateLibraryDao, HibernateRequirementLibraryDao, HibernateTestCaseLibraryDao
public interface LibraryDao<LIBRARY extends org.squashtest.tm.domain.library.Library<? extends NODE>,NODE extends org.squashtest.tm.domain.library.LibraryNode>
Defines a DAO for Library entities.
- Author:
- Gregory Fouquet
findAll
List<LIBRARY> findAll()
findAllRootContentById
List<NODE> findAllRootContentById(long libraryId)
findById
LIBRARY findById(long id)
findByRootContent
LIBRARY findByRootContent(NODE node)
- Finds the library which has the given node in its root content.
- Parameters:
node -
- Returns:
Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.