org.squashtest.tm.service.internal.repository.hibernate
Class HibernateTestCaseDeletionDao
java.lang.Object
org.squashtest.tm.service.internal.repository.hibernate.HibernateDeletionDao
org.squashtest.tm.service.internal.repository.hibernate.HibernateTestCaseDeletionDao
- All Implemented Interfaces:
- DeletionDao, TestCaseDeletionDao
@Repository
public class HibernateTestCaseDeletionDao
- extends HibernateDeletionDao
- implements TestCaseDeletionDao
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibernateTestCaseDeletionDao
public HibernateTestCaseDeletionDao()
removeEntities
public void removeEntities(List<Long> entityIds)
- Specified by:
removeEntities in interface DeletionDao
removeAllSteps
public void removeAllSteps(List<Long> testStepIds)
- Specified by:
removeAllSteps in interface TestCaseDeletionDao
findTestSteps
public List<Long> findTestSteps(List<Long> testCaseIds)
- Specified by:
findTestSteps in interface TestCaseDeletionDao
findTestCaseAttachmentListIds
public List<Long> findTestCaseAttachmentListIds(List<Long> testCaseIds)
- Specified by:
findTestCaseAttachmentListIds in interface TestCaseDeletionDao
findTestCaseFolderAttachmentListIds
public List<Long> findTestCaseFolderAttachmentListIds(List<Long> folderIds)
- Specified by:
findTestCaseFolderAttachmentListIds in interface TestCaseDeletionDao
findTestStepAttachmentListIds
public List<Long> findTestStepAttachmentListIds(List<Long> testStepIds)
- Specified by:
findTestStepAttachmentListIds in interface TestCaseDeletionDao
removeCampaignTestPlanInboundReferences
public void removeCampaignTestPlanInboundReferences(List<Long> testCaseIds)
- Specified by:
removeCampaignTestPlanInboundReferences in interface TestCaseDeletionDao
removeOrSetIterationTestPlanInboundReferencesToNull
public void removeOrSetIterationTestPlanInboundReferencesToNull(List<Long> testCaseIds)
- Specified by:
removeOrSetIterationTestPlanInboundReferencesToNull in interface TestCaseDeletionDao
setExecStepInboundReferencesToNull
public void setExecStepInboundReferencesToNull(List<Long> testStepIds)
- Specified by:
setExecStepInboundReferencesToNull in interface TestCaseDeletionDao
setExecutionInboundReferencesToNull
public void setExecutionInboundReferencesToNull(List<Long> testCaseIds)
- Specified by:
setExecutionInboundReferencesToNull in interface TestCaseDeletionDao
removeFromVerifyingTestCaseLists
public void removeFromVerifyingTestCaseLists(List<Long> testCaseIds)
- Specified by:
removeFromVerifyingTestCaseLists in interface TestCaseDeletionDao
removeFromVerifyingTestStepsList
public void removeFromVerifyingTestStepsList(List<Long> testStepIds)
- Specified by:
removeFromVerifyingTestStepsList in interface TestCaseDeletionDao
separateFolderFromTestCaseIds
public List<Long>[] separateFolderFromTestCaseIds(List<Long> originalIds)
- Description copied from interface:
TestCaseDeletionDao
- Given a list of TestCaseLibraryNode ids, will tell which ones are folder ids and which ones are campaigns.
- Specified by:
separateFolderFromTestCaseIds in interface TestCaseDeletionDao
- Parameters:
originalIds - the requirement library node ids we want to sort out.
- Returns:
- an array of list of ids : result[0] are the folder ids and result[1] are the test case ids.
Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.