org.squashtest.tm.service.internal.repository.hibernate
Class HibernateDatasetDao
java.lang.Object
org.squashtest.tm.service.internal.repository.hibernate.HibernateDao<ENTITY_TYPE>
org.squashtest.tm.service.internal.repository.hibernate.HibernateEntityDao<org.squashtest.tm.domain.testcase.Dataset>
org.squashtest.tm.service.internal.repository.hibernate.HibernateDatasetDao
- All Implemented Interfaces:
- CustomDatasetDao, EntityDao<org.squashtest.tm.domain.testcase.Dataset>, GenericDao<org.squashtest.tm.domain.testcase.Dataset>
@Repository(value="CustomDatasetDao")
public class HibernateDatasetDao
- extends HibernateEntityDao<org.squashtest.tm.domain.testcase.Dataset>
- implements CustomDatasetDao
| Methods inherited from class org.squashtest.tm.service.internal.repository.hibernate.HibernateEntityDao |
collectFromMapList, collectFromMapList, collectFromMapListToSet, collectFromMapListToSet, findAll, findAllByIds, findById, findDescendantIds, findSorted, findSorted, getIdPropertyName |
| Methods inherited from class org.squashtest.tm.service.internal.repository.hibernate.HibernateDao |
clearFromCache, clearFromCache, currentSession, executeEntityNamedQuery, executeEntityNamedQuery, executeEntityNamedQuery, executeListNamedQuery, executeListNamedQuery, executeListNamedQuery, executeListNamedQuery, executeUpdateListQuery, flush, getEntity, persist, persist, persistEntity, remove, removeAll, removeEntity |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibernateDatasetDao
public HibernateDatasetDao()
findAllDatasetsByTestCase
public List<org.squashtest.tm.domain.testcase.Dataset> findAllDatasetsByTestCase(Long testCaseId)
- Description copied from interface:
CustomDatasetDao
- Will return all datasets for the given test case.
- Specified by:
findAllDatasetsByTestCase in interface CustomDatasetDao
- Returns:
- the list of all test cases's datasets.
findAllDatasetsByTestCases
public List<org.squashtest.tm.domain.testcase.Dataset> findAllDatasetsByTestCases(List<Long> testCaseIds)
- Description copied from interface:
CustomDatasetDao
- Will return all datasets found for the given test cases ids.
- Specified by:
findAllDatasetsByTestCases in interface CustomDatasetDao
- Parameters:
testCaseIds - : the concerned test cases ids.
- Returns:
- the list of all given test cases's datasets
findDatasetByTestCaseAndByName
public org.squashtest.tm.domain.testcase.Dataset findDatasetByTestCaseAndByName(Long testCaseId,
String name)
- Description copied from interface:
CustomDatasetDao
- Will return the dataset matching the given name and belonging to the test case matchine the given id.
- Specified by:
findDatasetByTestCaseAndByName in interface CustomDatasetDao
- Parameters:
testCaseId - : the id of the concerned test casename - : the name of the dataset to find
- Returns:
- the test case's dataset matching the given id or
null
removeDatasetFromIterationTestPlanItems
public void removeDatasetFromIterationTestPlanItems(Long datasetId)
- Description copied from interface:
CustomDatasetDao
- TODO
- Specified by:
removeDatasetFromIterationTestPlanItems in interface CustomDatasetDao
Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.