public interface CampaignNodeDeletionHandler extends NodeDeletionHandler<org.squashtest.tm.domain.campaign.CampaignLibraryNode,org.squashtest.tm.domain.campaign.CampaignFolder>
NodeDeletionHandler.simulateDeletion(List). However,
while Iterations are candidates to mass-deletion, Executions are always deleted one at a time. That's why
deleteExecution(Execution) have a different contract to enforce this.
On the other hand, in the context of a cascade deletion both Iterations and Executions will be removed en
masse.
Further remarks :
The disassociation an IterationTestPlanItem from an Iteration is already handled by IterationTestPlanManager. However
the implementation of this interface should also take care of these entities in the context of a cascade removal.
Same remark goes for CampaignTestPlanItem.| Modifier and Type | Method and Description |
|---|---|
void |
deleteExecution(org.squashtest.tm.domain.execution.Execution execution)
That method should delete the execution.
|
void |
deleteExecutions(List<org.squashtest.tm.domain.execution.Execution> executions)
|
OperationReport |
deleteIterations(List<Long> targetIds)
That method should delete the iterations.
|
void |
deleteIterationTestPlanItem(org.squashtest.tm.domain.campaign.IterationTestPlanItem item)
That method should delete the test plan item.
|
OperationReport |
deleteSuites(List<Long> suiteIds,
boolean removeFromIter)
Will delete the test suites.
|
List<SuppressionPreviewReport> |
simulateExecutionDeletion(Long execId)
That method should investigate the consequences of the deletion of the given executions, and return a report
about what will happen.
|
List<SuppressionPreviewReport> |
simulateIterationDeletion(List<Long> targetIds)
That method should investigate the consequences of the deletion of the given iterations, and return a report
about what will happen.
|
List<SuppressionPreviewReport> |
simulateSuiteDeletion(List<Long> targetIds)
That method should investigate the consequences of the deletion of the given test suites, and return a report
about what will happen.
|
deleteNodes, simulateDeletionList<SuppressionPreviewReport> simulateIterationDeletion(List<Long> targetIds)
targetIds - OperationReport deleteIterations(List<Long> targetIds)
targetIds - void deleteIterationTestPlanItem(org.squashtest.tm.domain.campaign.IterationTestPlanItem item)
item - : the IterationTestPlanItem to deleteList<SuppressionPreviewReport> simulateExecutionDeletion(Long execId)
targetIds - void deleteExecution(org.squashtest.tm.domain.execution.Execution execution)
targetIds - RuntimeException - if the execution should not be deleted.void deleteExecutions(List<org.squashtest.tm.domain.execution.Execution> executions)
executions - List<SuppressionPreviewReport> simulateSuiteDeletion(List<Long> targetIds)
targetIds - OperationReport deleteSuites(List<Long> suiteIds, boolean removeFromIter)
removeFromIter - testSuites - Copyright © 2010–2017 Henix, henix.fr. All rights reserved.