@Repository public class HibernateTestCaseDeletionDao extends HibernateDeletionDao implements TestCaseDeletionDao
| Constructor and Description |
|---|
HibernateTestCaseDeletionDao() |
| Modifier and Type | Method and Description |
|---|---|
List<Long> |
findRemainingTestCaseIds(List<Long> originalIds)
Given a list of ids, retain only the ids of test cases that were not deleted
|
List<Long> |
findTestCaseAttachmentListIds(List<Long> testCaseIds) |
List<Long> |
findTestCaseFolderAttachmentListIds(List<Long> folderIds) |
List<Long> |
findTestCasesWhichMilestonesForbidsDeletion(List<Long> originalId)
Given their ids, return the ids of test cases one cannot remove
due to restrictions on the status of their milestones
|
List<Long> |
findTestStepAttachmentListIds(List<Long> testStepIds) |
List<Long> |
findTestSteps(List<Long> testCaseIds) |
void |
removeAllSteps(List<Long> testStepIds) |
void |
removeCampaignTestPlanInboundReferences(List<Long> testCaseIds) |
void |
removeEntities(List<Long> entityIds) |
void |
removeFromVerifyingTestCaseLists(List<Long> testCaseIds) |
void |
removeFromVerifyingTestStepsList(List<Long> testStepIds) |
void |
removeOrSetIterationTestPlanInboundReferencesToNull(List<Long> testCaseIds) |
List<Long>[] |
separateFolderFromTestCaseIds(List<Long> originalIds)
Given a list of TestCaseLibraryNode ids, will tell which ones are folder ids and which ones are campaigns.
|
void |
setExecStepInboundReferencesToNull(List<Long> testStepIds) |
void |
setExecutionInboundReferencesToNull(List<Long> testCaseIds) |
void |
unbindFromMilestone(List<Long> testCaseIds,
Long milestoneId) |
entityManager, executeDeleteNamedQuery, executeDeleteSQLQuery, executeSelectNamedQuery, executeSelectSQLQuery, flush, getSession, removeAttachmentList, removeAttachmentsLists, removeEntity, removeEntityNQclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitflush, removeAttachmentList, removeAttachmentsLists, removeEntity, removeEntityNQpublic void removeEntities(List<Long> entityIds)
removeEntities in interface DeletionDaopublic void removeAllSteps(List<Long> testStepIds)
removeAllSteps in interface TestCaseDeletionDaopublic List<Long> findTestSteps(List<Long> testCaseIds)
findTestSteps in interface TestCaseDeletionDaopublic List<Long> findTestCaseAttachmentListIds(List<Long> testCaseIds)
findTestCaseAttachmentListIds in interface TestCaseDeletionDaopublic List<Long> findTestCaseFolderAttachmentListIds(List<Long> folderIds)
findTestCaseFolderAttachmentListIds in interface TestCaseDeletionDaopublic List<Long> findTestStepAttachmentListIds(List<Long> testStepIds)
findTestStepAttachmentListIds in interface TestCaseDeletionDaopublic void removeCampaignTestPlanInboundReferences(List<Long> testCaseIds)
removeCampaignTestPlanInboundReferences in interface TestCaseDeletionDaopublic void removeOrSetIterationTestPlanInboundReferencesToNull(List<Long> testCaseIds)
removeOrSetIterationTestPlanInboundReferencesToNull in interface TestCaseDeletionDaopublic void setExecStepInboundReferencesToNull(List<Long> testStepIds)
setExecStepInboundReferencesToNull in interface TestCaseDeletionDaopublic void setExecutionInboundReferencesToNull(List<Long> testCaseIds)
setExecutionInboundReferencesToNull in interface TestCaseDeletionDaopublic void removeFromVerifyingTestCaseLists(List<Long> testCaseIds)
removeFromVerifyingTestCaseLists in interface TestCaseDeletionDaopublic void removeFromVerifyingTestStepsList(List<Long> testStepIds)
removeFromVerifyingTestStepsList in interface TestCaseDeletionDaopublic List<Long>[] separateFolderFromTestCaseIds(List<Long> originalIds)
TestCaseDeletionDaoseparateFolderFromTestCaseIds in interface TestCaseDeletionDaooriginalIds - the requirement library node ids we want to sort out.public List<Long> findRemainingTestCaseIds(List<Long> originalIds)
TestCaseDeletionDaofindRemainingTestCaseIds in interface TestCaseDeletionDaopublic void unbindFromMilestone(List<Long> testCaseIds, Long milestoneId)
unbindFromMilestone in interface TestCaseDeletionDaopublic List<Long> findTestCasesWhichMilestonesForbidsDeletion(List<Long> originalId)
TestCaseDeletionDaofindTestCasesWhichMilestonesForbidsDeletion in interface TestCaseDeletionDaoCopyright © 2010–2017 Henix, henix.fr. All rights reserved.