org.squashtest.csp.tm.internal.repository.hibernate
Class HibernateCampaignDao
java.lang.Object
org.squashtest.csp.tm.internal.repository.hibernate.HibernateDao<ENTITY_TYPE>
org.squashtest.csp.tm.internal.repository.hibernate.HibernateEntityDao<Campaign>
org.squashtest.csp.tm.internal.repository.hibernate.HibernateCampaignDao
- All Implemented Interfaces:
- CampaignDao, EntityDao<Campaign>
@Repository
public class HibernateCampaignDao
- extends HibernateEntityDao<Campaign>
- implements CampaignDao
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibernateCampaignDao
public HibernateCampaignDao()
findByIdWithInitializedIterations
public Campaign findByIdWithInitializedIterations(long campaignId)
- Specified by:
findByIdWithInitializedIterations in interface CampaignDao
findAllTestPlanByIdFiltered
public List<CampaignTestPlanItem> findAllTestPlanByIdFiltered(long campaignId,
CollectionSorting filter)
- Specified by:
findAllTestPlanByIdFiltered in interface CampaignDao
countTestPlanById
public long countTestPlanById(long campaignId)
- Specified by:
countTestPlanById in interface CampaignDao
findNamesInFolderStartingWith
public List<String> findNamesInFolderStartingWith(long folderId,
String nameStart)
- Specified by:
findNamesInFolderStartingWith in interface CampaignDao
findNamesInCampaignStartingWith
public List<String> findNamesInCampaignStartingWith(long campaignId,
String nameStart)
- Specified by:
findNamesInCampaignStartingWith in interface CampaignDao
findAllNamesInCampaign
public List<String> findAllNamesInCampaign(long campaignId)
- Specified by:
findAllNamesInCampaign in interface CampaignDao
findNamesInLibraryStartingWith
public List<String> findNamesInLibraryStartingWith(long libraryId,
String nameStart)
- Specified by:
findNamesInLibraryStartingWith in interface CampaignDao
findAllCampaign
public List<Campaign> findAllCampaign()
- Specified by:
findAllCampaign in interface CampaignDao
findAllByNameContaining
public List<CampaignLibraryNode> findAllByNameContaining(String tokenInName,
boolean groupByProject)
- Description copied from interface:
CampaignDao
- Finds all
CampaignLibraryNode which name contains the given token.
- Specified by:
findAllByNameContaining in interface CampaignDao
- Returns:
findAllByIdList
public List<Campaign> findAllByIdList(List<Long> campaignIds)
- Specified by:
findAllByIdList in interface CampaignDao- Specified by:
findAllByIdList in interface EntityDao<Campaign>- Overrides:
findAllByIdList in class HibernateEntityDao<Campaign>
Copyright © 2010-2012 Squashtest TM, Squashtest.org. All Rights Reserved.