@Transactional
public interface TestSuiteTestPlanManagerService
| Modifier and Type | Method and Description |
|---|---|
void |
addTestCasesToIterationAndTestSuite(List<Long> testCaseIds,
long suiteId) |
void |
bindTestPlan(long suiteId,
List<Long> itemTestPlanIds)
That method will attach several
IterationTestPlanItem to the given TestSuite. |
void |
bindTestPlanObj(org.squashtest.tm.domain.campaign.TestSuite testSuite,
List<org.squashtest.tm.domain.campaign.IterationTestPlanItem> itemTestPlans)
That method will attach several
IterationTestPlanItem to the given TestSuite. |
void |
bindTestPlanToMultipleSuites(List<Long> suiteIds,
List<Long> itemTestPlanIds)
That method will attach several
IterationTestPlanItem to several TestSuite. |
void |
bindTestPlanToMultipleSuitesObj(List<org.squashtest.tm.domain.campaign.TestSuite> testSuites,
List<org.squashtest.tm.domain.campaign.IterationTestPlanItem> itemTestPlans)
That method will attach several
IterationTestPlanItem to the given TestSuites. |
void |
changeTestPlanPosition(long testSuiteId,
int newIndex,
List<Long> itemIds) |
void |
detachTestPlanFromTestSuite(List<Long> testPlanIds,
long suiteId) |
boolean |
detachTestPlanFromTestSuiteAndRemoveFromIteration(List<Long> testPlanIds,
long suiteId) |
org.squashtest.tm.core.foundation.collection.PagedCollectionHolder<List<IndexedIterationTestPlanItem>> |
findAssignedTestPlan(long suiteId,
org.squashtest.tm.core.foundation.collection.PagingAndMultiSorting sorting,
org.squashtest.tm.core.foundation.collection.ColumnFiltering filtering)
Returns a suite test plan filtered for a specific user.
|
List<Long> |
findPlannedTestCasesIds(Long suiteId)
Will find the distinct ids of the test cases referenced in the suite matching the given id
|
org.squashtest.tm.domain.campaign.TestSuite |
findTestSuite(long testSuiteId)
Find a iteration using its id
|
void |
reorderTestPlan(long iterationId,
org.squashtest.tm.core.foundation.collection.MultiSorting newSorting) |
void |
unbindTestPlanObj(org.squashtest.tm.domain.campaign.TestSuite testSuite,
List<org.squashtest.tm.domain.campaign.IterationTestPlanItem> itemTestPlans)
That method will detach several
IterationTestPlanItem from the given TestSuite. |
void |
unbindTestPlanToMultipleSuites(List<Long> unboundTestSuiteIds,
List<Long> itpIds)
That method will detach several
IterationTestPlanItem from the given TestSuites. |
@Transactional(readOnly=true) org.squashtest.tm.domain.campaign.TestSuite findTestSuite(long testSuiteId)
testSuiteId - @Transactional(readOnly=true) org.squashtest.tm.core.foundation.collection.PagedCollectionHolder<List<IndexedIterationTestPlanItem>> findAssignedTestPlan(long suiteId, org.squashtest.tm.core.foundation.collection.PagingAndMultiSorting sorting, org.squashtest.tm.core.foundation.collection.ColumnFiltering filtering)
suiteId - void changeTestPlanPosition(long testSuiteId,
int newIndex,
List<Long> itemIds)
void reorderTestPlan(long iterationId,
org.squashtest.tm.core.foundation.collection.MultiSorting newSorting)
void bindTestPlan(long suiteId,
List<Long> itemTestPlanIds)
That method will attach several IterationTestPlanItem to the given TestSuite. As usual, they
are identified using their Ids.
The implementation must also check that all these entities all belong to the same iteration or throw an unchecked exception if not. TODO : define that exception.
suiteId - itemTestPlanIds - void bindTestPlanToMultipleSuites(List<Long> suiteIds, List<Long> itemTestPlanIds)
That method will attach several IterationTestPlanItem to several TestSuite. As usual, they
are identified using their Ids.
The implementation must also check that all these entities all belong to the same iteration or throw an unchecked exception if not. TODO : define that exception.
suiteIds - itemTestPlanIds - void bindTestPlanObj(org.squashtest.tm.domain.campaign.TestSuite testSuite,
List<org.squashtest.tm.domain.campaign.IterationTestPlanItem> itemTestPlans)
That method will attach several IterationTestPlanItem to the given TestSuite. They
are identified using their Objects.
These entities all belong to the same iteration since they have previously been attached to it.
testSuite - itemTestPlans - void bindTestPlanToMultipleSuitesObj(List<org.squashtest.tm.domain.campaign.TestSuite> testSuites, List<org.squashtest.tm.domain.campaign.IterationTestPlanItem> itemTestPlans)
That method will attach several IterationTestPlanItem to the given TestSuites. They
are identified using their Objects.
These entities all belong to the same iteration since they have previously been attached to it.
testSuites - itemTestPlans - void unbindTestPlanObj(org.squashtest.tm.domain.campaign.TestSuite testSuite,
List<org.squashtest.tm.domain.campaign.IterationTestPlanItem> itemTestPlans)
That method will detach several IterationTestPlanItem from the given TestSuite. They
are identified using their Objects.
These entities all belong to the same iteration since they have previously been attached to it.
testSuite - itemTestPlans - void unbindTestPlanToMultipleSuites(List<Long> unboundTestSuiteIds, List<Long> itpIds)
That method will detach several IterationTestPlanItem from the given TestSuites. They
are identified using their ids.
These entities all belong to the same iteration since they have previously been attached to it.
testSuite - itemTestPlans - void addTestCasesToIterationAndTestSuite(List<Long> testCaseIds, long suiteId)
boolean detachTestPlanFromTestSuiteAndRemoveFromIteration(List<Long> testPlanIds, long suiteId)
@Transactional(readOnly=true) List<Long> findPlannedTestCasesIds(Long suiteId)
suiteId - : the id of the concerned TestSuiteCopyright © 2010–2017 Henix, henix.fr. All rights reserved.