org.squashtest.tm.service.internal.repository
Interface TestCaseDeletionDao

All Superinterfaces:
DeletionDao
All Known Implementing Classes:
HibernateTestCaseDeletionDao

public interface TestCaseDeletionDao
extends DeletionDao


Method Summary
 List<Long> findTestCaseAttachmentListIds(List<Long> testCaseIds)
           
 List<Long> findTestCaseFolderAttachmentListIds(List<Long> folderIds)
           
 List<Long> findTestStepAttachmentListIds(List<Long> testStepIds)
           
 List<Long> findTestSteps(List<Long> testCaseIds)
           
 void removeAllSteps(List<Long> testStepIds)
           
 void removeCampaignTestPlanInboundReferences(List<Long> testCaseIds)
           
 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)
           
 
Methods inherited from interface org.squashtest.tm.service.internal.repository.DeletionDao
flush, removeAttachmentList, removeAttachmentsLists, removeEntities, removeEntity
 

Method Detail

findTestSteps

List<Long> findTestSteps(List<Long> testCaseIds)

findTestCaseAttachmentListIds

List<Long> findTestCaseAttachmentListIds(List<Long> testCaseIds)

findTestStepAttachmentListIds

List<Long> findTestStepAttachmentListIds(List<Long> testStepIds)

findTestCaseFolderAttachmentListIds

List<Long> findTestCaseFolderAttachmentListIds(List<Long> folderIds)

removeAllSteps

void removeAllSteps(List<Long> testStepIds)

removeCampaignTestPlanInboundReferences

void removeCampaignTestPlanInboundReferences(List<Long> testCaseIds)

removeOrSetIterationTestPlanInboundReferencesToNull

void removeOrSetIterationTestPlanInboundReferencesToNull(List<Long> testCaseIds)

setExecStepInboundReferencesToNull

void setExecStepInboundReferencesToNull(List<Long> testStepIds)

setExecutionInboundReferencesToNull

void setExecutionInboundReferencesToNull(List<Long> testCaseIds)

removeFromVerifyingTestCaseLists

void removeFromVerifyingTestCaseLists(List<Long> testCaseIds)

removeFromVerifyingTestStepsList

void removeFromVerifyingTestStepsList(List<Long> testStepIds)
Parameters:
testStepIds -

separateFolderFromTestCaseIds

List<Long>[] separateFolderFromTestCaseIds(List<Long> originalIds)
Given a list of TestCaseLibraryNode ids, will tell which ones are folder ids and which ones are campaigns.

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.