org.squashtest.csp.tm.internal.repository
Interface CampaignDao

All Superinterfaces:
EntityDao<Campaign>
All Known Implementing Classes:
HibernateCampaignDao

public interface CampaignDao
extends EntityDao<Campaign>


Method Summary
 long countTestPlanById(long campaignId)
           
 List<Campaign> findAllByIdList(List<Long> campaignIds)
           
 List<CampaignLibraryNode> findAllByNameContaining(String tokenInName, boolean groupByProject)
          Finds all CampaignLibraryNode which name contains the given token.
 List<Campaign> findAllCampaign()
           
 List<String> findAllNamesInCampaign(long campaignId)
           
 List<CampaignTestPlanItem> findAllTestPlanByIdFiltered(long campaignId, CollectionSorting filter)
           
 Campaign findByIdWithInitializedIterations(long campaignId)
           
 List<String> findNamesInCampaignStartingWith(long campaignId, String nameStart)
           
 List<String> findNamesInFolderStartingWith(long folderId, String nameStart)
           
 List<String> findNamesInLibraryStartingWith(long libraryId, String nameStart)
           
 
Methods inherited from interface org.squashtest.csp.tm.internal.repository.EntityDao
findById, flush, persist, persist, remove
 

Method Detail

findByIdWithInitializedIterations

Campaign findByIdWithInitializedIterations(long campaignId)

findAllTestPlanByIdFiltered

List<CampaignTestPlanItem> findAllTestPlanByIdFiltered(long campaignId,
                                                       CollectionSorting filter)

countTestPlanById

long countTestPlanById(long campaignId)

findNamesInFolderStartingWith

List<String> findNamesInFolderStartingWith(long folderId,
                                           String nameStart)

findNamesInLibraryStartingWith

List<String> findNamesInLibraryStartingWith(long libraryId,
                                            String nameStart)

findNamesInCampaignStartingWith

List<String> findNamesInCampaignStartingWith(long campaignId,
                                             String nameStart)

findAllNamesInCampaign

List<String> findAllNamesInCampaign(long campaignId)

findAllCampaign

List<Campaign> findAllCampaign()

findAllByNameContaining

List<CampaignLibraryNode> findAllByNameContaining(String tokenInName,
                                                  boolean groupByProject)
Finds all CampaignLibraryNode which name contains the given token.

Parameters:
tokenInName -
groupByProject -
Returns:

findAllByIdList

List<Campaign> findAllByIdList(List<Long> campaignIds)
Specified by:
findAllByIdList in interface EntityDao<Campaign>


Copyright © 2010-2012 Squashtest TM, Squashtest.org. All Rights Reserved.