@Component @Scope(value="prototype") public class NextLayersTreeNodeMover extends Object implements org.squashtest.tm.domain.library.NodeVisitor, PasteOperation
FirstLayerTreeNodeMover.
It will make sure all nodes know their project are consistent with their project's parameters.| Constructor and Description |
|---|
NextLayersTreeNodeMover() |
| Modifier and Type | Method and Description |
|---|---|
List<Long> |
getRequirementVersionToIndex() |
List<Long> |
getTestCaseToIndex() |
boolean |
isOkToGoDeeper()
PRIVATE
|
org.squashtest.tm.domain.library.TreeNode |
performOperation(org.squashtest.tm.domain.library.TreeNode toMove,
org.squashtest.tm.domain.library.NodeContainer<org.squashtest.tm.domain.library.TreeNode> destination,
Integer position)
Will make sure all nodes are aware of their project and call the
TreeNodeUpdater on each of them. |
void |
visit(org.squashtest.tm.domain.campaign.Campaign campaign) |
void |
visit(org.squashtest.tm.domain.campaign.CampaignFolder campaignFolder) |
void |
visit(org.squashtest.tm.domain.campaign.Iteration iteration) |
void |
visit(org.squashtest.tm.domain.requirement.Requirement requirement) |
void |
visit(org.squashtest.tm.domain.requirement.RequirementFolder requirementFolder) |
void |
visit(org.squashtest.tm.domain.testcase.TestCase testCase) |
void |
visit(org.squashtest.tm.domain.testcase.TestCaseFolder testCaseFolder) |
void |
visit(org.squashtest.tm.domain.campaign.TestSuite testSuite) |
public org.squashtest.tm.domain.library.TreeNode performOperation(org.squashtest.tm.domain.library.TreeNode toMove,
org.squashtest.tm.domain.library.NodeContainer<org.squashtest.tm.domain.library.TreeNode> destination,
Integer position)
TreeNodeUpdater on each of them.performOperation in interface PasteOperationpublic boolean isOkToGoDeeper()
isOkToGoDeeper in interface PasteOperationpublic void visit(org.squashtest.tm.domain.campaign.CampaignFolder campaignFolder)
visit in interface org.squashtest.tm.domain.library.NodeVisitorpublic void visit(org.squashtest.tm.domain.requirement.RequirementFolder requirementFolder)
visit in interface org.squashtest.tm.domain.library.NodeVisitorpublic void visit(org.squashtest.tm.domain.testcase.TestCaseFolder testCaseFolder)
visit in interface org.squashtest.tm.domain.library.NodeVisitorpublic void visit(org.squashtest.tm.domain.campaign.Campaign campaign)
visit in interface org.squashtest.tm.domain.library.NodeVisitorpublic void visit(org.squashtest.tm.domain.campaign.Iteration iteration)
visit in interface org.squashtest.tm.domain.library.NodeVisitorpublic void visit(org.squashtest.tm.domain.campaign.TestSuite testSuite)
visit in interface org.squashtest.tm.domain.library.NodeVisitorpublic void visit(org.squashtest.tm.domain.requirement.Requirement requirement)
visit in interface org.squashtest.tm.domain.library.NodeVisitorpublic void visit(org.squashtest.tm.domain.testcase.TestCase testCase)
visit in interface org.squashtest.tm.domain.library.NodeVisitorpublic List<Long> getRequirementVersionToIndex()
getRequirementVersionToIndex in interface PasteOperationpublic List<Long> getTestCaseToIndex()
getTestCaseToIndex in interface PasteOperationCopyright © 2010–2017 Henix, henix.fr. All rights reserved.