org.squashtest.csp.tm.internal.repository
Interface LibraryDao<LIBRARY extends Library<? extends NODE>,NODE extends 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 Library<? extends NODE>,NODE extends 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-2012 Squashtest TM, Squashtest.org. All Rights Reserved.