public class RequirementVersionCoverageDaoImpl extends HibernateEntityDao<org.squashtest.tm.domain.testcase.RequirementVersionCoverage> implements CustomRequirementVersionCoverageDao
entityManager, entityType| Constructor and Description |
|---|
RequirementVersionCoverageDaoImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(org.squashtest.tm.domain.testcase.RequirementVersionCoverage requirementVersionCoverage)
Simply delete the given
RequirementVersionCoverage, ensuring that relationships with the TestCase and its steps
are removed too. |
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. |
findAll, findAllByIds, findById, findDescendantIds, getIdPropertyNamecurrentSession, executeEntityNamedQuery, executeEntityNamedQuery, executeEntityNamedQuery, executeListNamedQuery, executeListNamedQuery, executeListNamedQuery, flush, getEntity, persist, persist, persistEntity, remove, removeAll, removeEntityclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindAll, findAllByIds, findByIdpublic 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 casespublic void delete(org.squashtest.tm.domain.testcase.RequirementVersionCoverage requirementVersionCoverage)
CustomRequirementVersionCoverageDaoRequirementVersionCoverage, ensuring that relationships with the TestCase and its steps
are removed too.delete in interface CustomRequirementVersionCoverageDaoCopyright © 2010–2017 Henix, henix.fr. All rights reserved.