org.squashtest.tm.service.internal.repository.hibernate
@Repository(value="CustomDatasetDao") public class HibernateDatasetDao extends HibernateEntityDao<org.squashtest.tm.domain.testcase.Dataset> implements CustomDatasetDao
entityType| Constructor and Description |
|---|
HibernateDatasetDao() |
| Modifier and Type | Method and Description |
|---|---|
List<org.squashtest.tm.domain.testcase.Dataset> |
findAllDatasetsByTestCase(Long testCaseId)
Will return all datasets for the given test case.
|
List<org.squashtest.tm.domain.testcase.Dataset> |
findAllDatasetsByTestCases(List<Long> testCaseIds)
Will return all datasets found for the given test cases ids.
|
org.squashtest.tm.domain.testcase.Dataset |
findDatasetByTestCaseAndByName(Long testCaseId,
String name)
Will return the dataset matching the given name and belonging to the test case matchine the given id.
|
void |
removeDatasetFromIterationTestPlanItems(Long datasetId)
TODO
|
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, waitclearFromCache, clearFromCache, flush, persist, persist, remove, removeAllpublic List<org.squashtest.tm.domain.testcase.Dataset> findAllDatasetsByTestCase(Long testCaseId)
CustomDatasetDaofindAllDatasetsByTestCase in interface CustomDatasetDaopublic List<org.squashtest.tm.domain.testcase.Dataset> findAllDatasetsByTestCases(List<Long> testCaseIds)
CustomDatasetDaofindAllDatasetsByTestCases in interface CustomDatasetDaotestCaseIds - : the concerned test cases ids.public org.squashtest.tm.domain.testcase.Dataset findDatasetByTestCaseAndByName(Long testCaseId, String name)
CustomDatasetDaofindDatasetByTestCaseAndByName in interface CustomDatasetDaotestCaseId - : the id of the concerned test casename - : the name of the dataset to findnullpublic void removeDatasetFromIterationTestPlanItems(Long datasetId)
CustomDatasetDaoremoveDatasetFromIterationTestPlanItems in interface CustomDatasetDaoCopyright © 2010-2014 Henix, henix.fr. All Rights Reserved.