org.squashtest.tm.service.internal.repository.hibernate
@Repository public class HibernateCampaignDao extends HibernateEntityDao<org.squashtest.tm.domain.campaign.Campaign> implements CampaignDao
entityType| Constructor and Description |
|---|
HibernateCampaignDao() |
| Modifier and Type | Method and Description |
|---|---|
long |
countFilteredTestPlanById(long campaignId,
org.squashtest.tm.core.foundation.collection.ColumnFiltering filtering) |
long |
countRunningOrDoneExecutions(long campaignId) |
long |
countTestPlanById(long campaignId) |
List<org.squashtest.tm.domain.campaign.CampaignLibraryNode> |
findAllByNameContaining(String tokenInName,
boolean groupByProject)
Finds all
CampaignLibraryNode which name contains the given token. |
List<org.squashtest.tm.domain.execution.Execution> |
findAllExecutionsByCampaignId(Long campaignId)
find all the campaign's iterations, and return all iteration's executions regardless of the campaign test-plan
|
List<String> |
findAllNamesInCampaign(long campaignId) |
List<org.squashtest.tm.domain.campaign.CampaignTestPlanItem> |
findAllTestPlanByIdFiltered(long campaignId,
org.squashtest.tm.core.foundation.collection.PagingAndSorting filter) |
org.squashtest.tm.domain.campaign.Campaign |
findByIdWithInitializedIterations(long campaignId) |
org.squashtest.tm.domain.campaign.TestPlanStatistics |
findCampaignStatistics(long campaignId) |
List<IndexedCampaignTestPlanItem> |
findFilteredIndexedTestPlan(long campaignId,
org.squashtest.tm.core.foundation.collection.PagingAndMultiSorting sorting,
org.squashtest.tm.core.foundation.collection.ColumnFiltering filtering) |
List<IndexedCampaignTestPlanItem> |
findIndexedTestPlan(long campaignId,
org.squashtest.tm.core.foundation.collection.PagingAndMultiSorting sorting)
Returns the paged list of [index, CampaignTestPlanItem] wrapped in an
IndexedIterationTestPlanItem |
List<IndexedCampaignTestPlanItem> |
findIndexedTestPlan(long campaignId,
org.squashtest.tm.core.foundation.collection.PagingAndSorting sorting)
Returns the paged list of [index, CampaignTestPlanItem] wrapped in an
IndexedIterationTestPlanItem |
List<String> |
findNamesInCampaignStartingWith(long campaignId,
String nameStart) |
List<String> |
findNamesInFolderStartingWith(long folderId,
String nameStart) |
List<String> |
findNamesInLibraryStartingWith(long libraryId,
String nameStart) |
List<org.squashtest.tm.domain.campaign.CampaignTestPlanItem> |
findTestPlan(long campaignId,
org.squashtest.tm.core.foundation.collection.PagingAndMultiSorting sorting) |
collectFromMapList, collectFromMapList, collectFromMapListToSet, collectFromMapListToSet, findAll, findAllByIds, findById, findDescendantIds, findSorted, findSorted, getIdPropertyNameclearFromCache, clearFromCache, currentSession, executeEntityNamedQuery, executeEntityNamedQuery, executeEntityNamedQuery, executeListNamedQuery, executeListNamedQuery, executeListNamedQuery, executeListNamedQuery, executeUpdateListQuery, flush, getEntity, persist, persist, persistEntity, remove, removeAll, removeEntityclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindAll, findAllByIds, findByIdclearFromCache, clearFromCache, flush, persist, persist, remove, removeAllpublic org.squashtest.tm.domain.campaign.Campaign findByIdWithInitializedIterations(long campaignId)
findByIdWithInitializedIterations in interface CampaignDaopublic List<org.squashtest.tm.domain.campaign.CampaignTestPlanItem> findAllTestPlanByIdFiltered(long campaignId, org.squashtest.tm.core.foundation.collection.PagingAndSorting filter)
findAllTestPlanByIdFiltered in interface CampaignDaopublic List<org.squashtest.tm.domain.campaign.CampaignTestPlanItem> findTestPlan(long campaignId, org.squashtest.tm.core.foundation.collection.PagingAndMultiSorting sorting)
findTestPlan in interface CampaignDaopublic List<IndexedCampaignTestPlanItem> findIndexedTestPlan(long campaignId, org.squashtest.tm.core.foundation.collection.PagingAndMultiSorting sorting)
CampaignDaoIndexedIterationTestPlanItemfindIndexedTestPlan in interface CampaignDaopublic List<IndexedCampaignTestPlanItem> findIndexedTestPlan(long campaignId, org.squashtest.tm.core.foundation.collection.PagingAndSorting sorting)
CampaignDaoIndexedIterationTestPlanItemfindIndexedTestPlan in interface CampaignDaopublic long countFilteredTestPlanById(long campaignId,
org.squashtest.tm.core.foundation.collection.ColumnFiltering filtering)
countFilteredTestPlanById in interface CampaignDaopublic long countTestPlanById(long campaignId)
countTestPlanById in interface CampaignDaopublic List<String> findNamesInFolderStartingWith(long folderId, String nameStart)
findNamesInFolderStartingWith in interface CampaignDaopublic List<String> findNamesInCampaignStartingWith(long campaignId, String nameStart)
findNamesInCampaignStartingWith in interface CampaignDaopublic List<String> findAllNamesInCampaign(long campaignId)
findAllNamesInCampaign in interface CampaignDaopublic List<String> findNamesInLibraryStartingWith(long libraryId, String nameStart)
findNamesInLibraryStartingWith in interface CampaignDaopublic List<org.squashtest.tm.domain.campaign.CampaignLibraryNode> findAllByNameContaining(String tokenInName, boolean groupByProject)
CampaignDaoCampaignLibraryNode which name contains the given token.findAllByNameContaining in interface CampaignDaopublic List<org.squashtest.tm.domain.execution.Execution> findAllExecutionsByCampaignId(Long campaignId)
CampaignDaofindAllExecutionsByCampaignId in interface CampaignDaopublic org.squashtest.tm.domain.campaign.TestPlanStatistics findCampaignStatistics(long campaignId)
findCampaignStatistics in interface CampaignDaocampaignId - the id of the concerned campaignTestPlanStatistics out of each test-plan-item of each campaign's iterationpublic long countRunningOrDoneExecutions(long campaignId)
countRunningOrDoneExecutions in interface CampaignDaopublic List<IndexedCampaignTestPlanItem> findFilteredIndexedTestPlan(long campaignId, org.squashtest.tm.core.foundation.collection.PagingAndMultiSorting sorting, org.squashtest.tm.core.foundation.collection.ColumnFiltering filtering)
findFilteredIndexedTestPlan in interface CampaignDaoCopyright © 2010-2014 Henix, henix.fr. All Rights Reserved.