|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.squashtest.tm.service.internal.campaign.TestSuiteTestPlanManagerServiceImpl
@Service(value="squashtest.tm.service.TestSuiteTestPlanManagerService") @Transactional public class TestSuiteTestPlanManagerServiceImpl
| Constructor Summary | |
|---|---|
TestSuiteTestPlanManagerServiceImpl()
|
|
| Method Summary | |
|---|---|
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 suiteId,
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 testSuiteId,
org.squashtest.tm.core.foundation.collection.PagingAndMultiSorting sorting,
org.squashtest.tm.core.foundation.collection.ColumnFiltering columnFiltering)
Returns a suite test plan filtered for a specific user. |
org.squashtest.tm.domain.campaign.TestSuite |
findTestSuite(long testSuiteId)
Find a iteration using its id |
void |
reorderTestPlan(long suiteId,
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TestSuiteTestPlanManagerServiceImpl()
| Method Detail |
|---|
@PreAuthorize(value="hasPermission(#testSuiteId, \'org.squashtest.tm.domain.campaign.TestSuite\', \'READ\') or hasRole(\'ROLE_ADMIN\')") public org.squashtest.tm.domain.campaign.TestSuite findTestSuite(long testSuiteId)
TestSuiteTestPlanManagerService
findTestSuite in interface TestSuiteTestPlanManagerService
@PreAuthorize(value="hasPermission(#suiteId, \'org.squashtest.tm.domain.campaign.TestSuite\', \'LINK\') or hasRole(\'ROLE_ADMIN\')")
public void bindTestPlan(long suiteId,
List<Long> itemTestPlanIds)
TestSuiteTestPlanManagerServiceThat 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.
bindTestPlan in interface TestSuiteTestPlanManagerService
public void bindTestPlanToMultipleSuites(List<Long> suiteIds,
List<Long> itemTestPlanIds)
TestSuiteTestPlanManagerServiceThat 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.
bindTestPlanToMultipleSuites in interface TestSuiteTestPlanManagerService
@PreAuthorize(value="hasPermission(#testSuite, \'LINK\') or hasRole(\'ROLE_ADMIN\')")
public void bindTestPlanObj(org.squashtest.tm.domain.campaign.TestSuite testSuite,
List<org.squashtest.tm.domain.campaign.IterationTestPlanItem> itemTestPlans)
TestSuiteTestPlanManagerServiceThat 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.
bindTestPlanObj in interface TestSuiteTestPlanManagerService
public void bindTestPlanToMultipleSuitesObj(List<org.squashtest.tm.domain.campaign.TestSuite> testSuites,
List<org.squashtest.tm.domain.campaign.IterationTestPlanItem> itemTestPlans)
TestSuiteTestPlanManagerServiceThat 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.
bindTestPlanToMultipleSuitesObj in interface TestSuiteTestPlanManagerService
@PreAuthorize(value="hasPermission(#testSuite, \'LINK\') or hasRole(\'ROLE_ADMIN\')")
public void unbindTestPlanObj(org.squashtest.tm.domain.campaign.TestSuite testSuite,
List<org.squashtest.tm.domain.campaign.IterationTestPlanItem> itemTestPlans)
TestSuiteTestPlanManagerServiceThat 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.
unbindTestPlanObj in interface TestSuiteTestPlanManagerService
public void unbindTestPlanToMultipleSuites(List<Long> unboundTestSuiteIds,
List<Long> itpIds)
TestSuiteTestPlanManagerServiceThat 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.
unbindTestPlanToMultipleSuites in interface TestSuiteTestPlanManagerService
public org.squashtest.tm.core.foundation.collection.PagedCollectionHolder<List<IndexedIterationTestPlanItem>> findAssignedTestPlan(long testSuiteId,
org.squashtest.tm.core.foundation.collection.PagingAndMultiSorting sorting,
org.squashtest.tm.core.foundation.collection.ColumnFiltering columnFiltering)
TestSuiteTestPlanManagerService
findAssignedTestPlan in interface TestSuiteTestPlanManagerServiceTestSuiteTestPlanManagerService#findAssignedTestPlan(long, PagingAndMultiSorting)
@PreAuthorize(value="hasPermission(#suiteId, \'org.squashtest.tm.domain.campaign.TestSuite\', \'LINK\') or hasRole(\'ROLE_ADMIN\')")
public void changeTestPlanPosition(long suiteId,
int newIndex,
List<Long> itemIds)
changeTestPlanPosition in interface TestSuiteTestPlanManagerService
@PreAuthorize(value="hasPermission(#suiteId, \'org.squashtest.tm.domain.campaign.TestSuite\', \'LINK\') or hasRole(\'ROLE_ADMIN\')")
public void reorderTestPlan(long suiteId,
org.squashtest.tm.core.foundation.collection.MultiSorting newSorting)
reorderTestPlan in interface TestSuiteTestPlanManagerService
@PreAuthorize(value="hasPermission(#suiteId, \'org.squashtest.tm.domain.campaign.TestSuite\', \'LINK\') or hasRole(\'ROLE_ADMIN\')")
public void addTestCasesToIterationAndTestSuite(List<Long> testCaseIds,
long suiteId)
addTestCasesToIterationAndTestSuite in interface TestSuiteTestPlanManagerService
@PreAuthorize(value="hasPermission(#suiteId, \'org.squashtest.tm.domain.campaign.TestSuite\', \'LINK\') or hasRole(\'ROLE_ADMIN\')")
public void detachTestPlanFromTestSuite(List<Long> testPlanIds,
long suiteId)
detachTestPlanFromTestSuite in interface TestSuiteTestPlanManagerService
@PreAuthorize(value="hasPermission(#suiteId, \'org.squashtest.tm.domain.campaign.TestSuite\', \'LINK\') or hasRole(\'ROLE_ADMIN\')")
public boolean detachTestPlanFromTestSuiteAndRemoveFromIteration(List<Long> testPlanIds,
long suiteId)
detachTestPlanFromTestSuiteAndRemoveFromIteration in interface TestSuiteTestPlanManagerService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||