org.squashtest.csp.tm.internal.repository
Interface FolderDao<FOLDER extends Folder<NODE>,NODE extends LibraryNode>
- All Superinterfaces:
- EntityDao<FOLDER>
- All Known Subinterfaces:
- CampaignFolderDao, RequirementFolderDao, TestCaseFolderDao
- All Known Implementing Classes:
- HibernateCampaignFolderDao, HibernateRequirementFolderDao, HibernateTestCaseFolderDao
public interface FolderDao<FOLDER extends Folder<NODE>,NODE extends LibraryNode>
- extends EntityDao<FOLDER>
findAllContentById
List<NODE> findAllContentById(long folderId)
findByContent
FOLDER findByContent(NODE node)
- Finds the folder which has the given node in its content.
- Parameters:
node -
- Returns:
findNamesInFolderStartingWith
List<String> findNamesInFolderStartingWith(long folderId,
String nameStart)
findNamesInLibraryStartingWith
List<String> findNamesInLibraryStartingWith(long libraryId,
String nameStart)
findContentForList
List<Long> findContentForList(List<Long> ids)
- Parameters:
ids -
- Returns:
- the list of the node ids which are descendant of the given folder ids.
findPairedContentForList
List<Long[]> findPairedContentForList(List<Long> ids)
- Returns:
- the list of the node ids which are descendant of the given folder ids paired with their owners
findAllFolders
List<FOLDER> findAllFolders(List<Long> folderIds)
- will return a (non-null) list of test case folders given their ids
- Parameters:
folderIds -
- Returns:
Copyright © 2010-2012 Squashtest TM, Squashtest.org. All Rights Reserved.