public interface CampaignTestPlanManagerService
| Modifier and Type | Method and Description |
|---|---|
void |
addTestCasesToCampaignTestPlan(List<Long> testCaseIds,
long campaignId)
Adds a list of test cases to a campaign.
|
void |
addTestCaseToCampaignTestPlan(Long testCaseId,
Long datasetId,
long campaignId)
Will add the given test case, with the given test plan, to the test plan of the given campaign.
|
void |
assignUserToTestPlanItem(long itemId,
long campaignId,
long userId)
Assign a user to the given test plan items
|
void |
assignUserToTestPlanItems(List<Long> itemsIds,
long campaignId,
long userId)
Assign a user to the given test plan items
|
void |
changeDataset(long itemId,
Long datasetId)
Attach a dataset to an item.
|
List<org.squashtest.tm.domain.users.User> |
findAssignableUserForTestPlan(long campaignId)
Get Users with Execute Access for a campaign and his test plans.
|
org.squashtest.tm.domain.campaign.CampaignTestPlanItem |
findById(long itemId) |
org.squashtest.tm.domain.campaign.Campaign |
findCampaign(long campaignId)
Find a campaign using its id
|
List<org.squashtest.tm.domain.testcase.TestCaseLibrary> |
findLinkableTestCaseLibraries()
Returns a collection of
TestCaseLibrary, the test cases of which may be added to the campaign |
List<Long> |
findPlannedTestCasesIds(Long campaignId)
Will find the distinct ids of test cases referenced in the campaign test plan.
|
org.squashtest.tm.core.foundation.collection.PagedCollectionHolder<List<IndexedCampaignTestPlanItem>> |
findTestPlan(long campaignId,
org.squashtest.tm.core.foundation.collection.PagingAndMultiSorting sorting,
org.squashtest.tm.core.foundation.collection.ColumnFiltering filtering) |
org.squashtest.tm.core.foundation.collection.PagedCollectionHolder<List<org.squashtest.tm.domain.campaign.CampaignTestPlanItem>> |
findTestPlanByCampaignId(long campaignId,
org.squashtest.tm.core.foundation.collection.PagingAndSorting filter) |
void |
moveTestPlanItems(long campaignId,
int targetIndex,
List<Long> itemIds) |
void |
removeTestPlanItem(long campaignId,
long itemId) |
void |
removeTestPlanItems(long campaignId,
List<Long> itemIds) |
void |
reorderTestPlan(long campaignId,
org.squashtest.tm.core.foundation.collection.MultiSorting newSorting) |
org.squashtest.tm.domain.campaign.Campaign findCampaign(long campaignId)
campaignId - List<org.squashtest.tm.domain.testcase.TestCaseLibrary> findLinkableTestCaseLibraries()
TestCaseLibrary, the test cases of which may be added to the campaignorg.squashtest.tm.core.foundation.collection.PagedCollectionHolder<List<org.squashtest.tm.domain.campaign.CampaignTestPlanItem>> findTestPlanByCampaignId(long campaignId, org.squashtest.tm.core.foundation.collection.PagingAndSorting filter)
org.squashtest.tm.core.foundation.collection.PagedCollectionHolder<List<IndexedCampaignTestPlanItem>> findTestPlan(long campaignId, org.squashtest.tm.core.foundation.collection.PagingAndMultiSorting sorting, org.squashtest.tm.core.foundation.collection.ColumnFiltering filtering)
void addTestCasesToCampaignTestPlan(List<Long> testCaseIds, long campaignId)
testCaseIds - campaignId - void addTestCaseToCampaignTestPlan(Long testCaseId, Long datasetId, long campaignId)
testCaseId - datasetId, - may be nullcampaignId - List<org.squashtest.tm.domain.users.User> findAssignableUserForTestPlan(long campaignId)
testCaseId - campaignId - void assignUserToTestPlanItem(long itemId,
long campaignId,
long userId)
itemsIds - the test plan items to which assign a usercampaignId - the campaign which test plan contains the items.userId - the assigned uservoid assignUserToTestPlanItems(List<Long> itemsIds, long campaignId, long userId)
itemsIds - the test plan items to which assign a usercampaignId - the campaign which test plan contains the items.userId - the assigned uservoid moveTestPlanItems(long campaignId,
int targetIndex,
List<Long> itemIds)
campaignId - the campaign which test plan we are about to modify.targetIndex - the index of the test plan to which we want to move the itemsitemIds - the ids of the items we want to move.void reorderTestPlan(long campaignId,
org.squashtest.tm.core.foundation.collection.MultiSorting newSorting)
void removeTestPlanItem(long campaignId,
long itemId)
campaignId - id of the campaign which test plan we will remove an item fromitemId - id of the test plan item we want to removevoid removeTestPlanItems(long campaignId,
List<Long> itemIds)
campaignId - id of the campaign which test plan we will remove items fromitemId - org.squashtest.tm.domain.campaign.CampaignTestPlanItem findById(long itemId)
itemId - List<Long> findPlannedTestCasesIds(Long campaignId)
campaignId - : the id of the concerned Campaignvoid changeDataset(long itemId,
Long datasetId)
itemId - datasetId - (may be null)Copyright © 2010–2017 Henix, henix.fr. All rights reserved.