org.squashtest.tm.service.internal.repository.hibernate
@Repository(value="CustomRequirementVersionCoverageDao") public class HibernateRequirementVersionCoverageDao extends HibernateEntityDao<org.squashtest.tm.domain.testcase.RequirementVersionCoverage> implements CustomRequirementVersionCoverageDao
entityType| Constructor and Description |
|---|
HibernateRequirementVersionCoverageDao() |
| Modifier and Type | Method and Description |
|---|---|
List<org.squashtest.tm.domain.testcase.RequirementVersionCoverage> |
findAllByTestCaseId(long testCaseId,
org.squashtest.tm.core.foundation.collection.PagingAndSorting pas)
Returns a paged and ordered list taken from all
RequirementVersionCoverage directly linked to the TestCase matching the given id param. |
List<org.squashtest.tm.domain.requirement.RequirementVersion> |
findDistinctRequirementVersionsByTestCases(Collection<Long> testCaseIds)
Returns a list of all DISTINCT
RequirementVersion linked to at least one of the TestCases matching the given ids param. |
List<org.squashtest.tm.domain.requirement.RequirementVersion> |
findDistinctRequirementVersionsByTestCases(Collection<Long> testCaseIds,
org.squashtest.tm.core.foundation.collection.PagingAndSorting pagingAndSorting)
Returns a paged and ordered list taken from all DISTINCT
RequirementVersion linked to at least one of the TestCases matching the given ids param. |
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 HibernateRequirementVersionCoverageDao()
public List<org.squashtest.tm.domain.testcase.RequirementVersionCoverage> findAllByTestCaseId(long testCaseId, org.squashtest.tm.core.foundation.collection.PagingAndSorting pas)
CustomRequirementVersionCoverageDaoRequirementVersionCoverage directly linked to the TestCase matching the given id param.findAllByTestCaseId in interface CustomRequirementVersionCoverageDaotestCaseId - : the id of the verifying TestCasepas - : the PagingAndSorting param to organize the result withRequirementVersionCoverage representing a sorted page of all direct coverages for the given test casepublic List<org.squashtest.tm.domain.requirement.RequirementVersion> findDistinctRequirementVersionsByTestCases(Collection<Long> testCaseIds, org.squashtest.tm.core.foundation.collection.PagingAndSorting pagingAndSorting)
CustomRequirementVersionCoverageDaoRequirementVersion linked to at least one of the TestCases matching the given ids param.findDistinctRequirementVersionsByTestCases in interface CustomRequirementVersionCoverageDaotestCaseIds - : the ids of the verifying TestCasespagingAndSorting - : the PagingAndSorting param to organize the result withRequirementVersion representing a sorted page of distinct requirements for the given test casespublic List<org.squashtest.tm.domain.requirement.RequirementVersion> findDistinctRequirementVersionsByTestCases(Collection<Long> testCaseIds)
CustomRequirementVersionCoverageDaoRequirementVersion linked to at least one of the TestCases matching the given ids param.findDistinctRequirementVersionsByTestCases in interface CustomRequirementVersionCoverageDaotestCaseIds - : the ids of the verifying TestCasesRequirementVersion representing all distinct requirements for the given test casesCopyright © 2010-2014 Henix, henix.fr. All Rights Reserved.