|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CampaignTestPlanManagerService
Service that aims at managing the test cases of a campaign (i.e. its test plan)
| Method Summary | |
|---|---|
void |
addTestCasesToCampaignTestPlan(List<Long> testCaseIds,
long campaignId)
Adds a list of test cases to a 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 |
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 |
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)
|
| Method Detail |
|---|
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 campaign
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)
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 - 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 user
void 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 user
void 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 remove
void 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 -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||