org.squashtest.tm.service.internal.deletion
Class TestCaseImportanceManagerForRequirementDeletion

java.lang.Object
  extended by org.squashtest.tm.service.internal.deletion.TestCaseImportanceManagerForRequirementDeletion

@Component
@Scope(value="prototype")
public class TestCaseImportanceManagerForRequirementDeletion
extends Object


Constructor Summary
TestCaseImportanceManagerForRequirementDeletion()
           
 
Method Summary
 void changeImportanceAfterRequirementDeletion()
           Warning !!
 void prepareRequirementDeletion(List<Long> requirementLibrarieNodesIds)
           will find TestCases concerned by deleted requirements versions and store them in property along with the concerned criticalities
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestCaseImportanceManagerForRequirementDeletion

public TestCaseImportanceManagerForRequirementDeletion()
Method Detail

prepareRequirementDeletion

public void prepareRequirementDeletion(List<Long> requirementLibrarieNodesIds)

will find TestCases concerned by deleted requirements versions and store them in property along with the concerned criticalities

Parameters:
requirementIds -

changeImportanceAfterRequirementDeletion

public void changeImportanceAfterRequirementDeletion()

Warning !! this method is to be used from a TestCaseImportanceManagerForRequirementDeletion that has been instantiated just before the requirements deletion, and after the prepareRequirementDeletion(List) method

will adapt the importance of the TestCases concerned by deleted requirements versions if their importanceAuto property is 'true'.



Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.