org.squashtest.csp.tm.service
Interface CampaignTestPlanManagerService

All Known Implementing Classes:
CampaignTestPlanManagerServiceImpl

public interface CampaignTestPlanManagerService

Service that aims at managing the test cases of a campaign (i.e. its test plan)

Author:
Agnes Durand

Method Summary
 void addTestCasesToCampaignTestPlan(List<Long> testCaseIds, long campaignId)
          Adds a list of test cases to a campaign.
 void assignUserToTestPlanItem(Long testCaseId, long campaignId, Long userId)
          Get Users with Write Access for a TestPlan.
 void assignUserToTestPlanItems(List<Long> testCaseIds, long campaignId, Long userId)
          Get Users with Write Access for a TestPlan.
 List<User> findAssignableUserForTestPlan(long campaignId)
          Get Users with Write Access for a campaign and his test plans.
 Campaign findCampaign(long campaignId)
          Find a campaign using its id
 List<TestCaseLibrary> findLinkableTestCaseLibraries()
          Returns a collection of TestCaseLibrary, the test cases of which may be added to the campaign
 CampaignTestPlanItem findTestPlanItemByTestCaseId(long campaignId, long testCaseId)
          Adds a list of test cases to a campaign.
 void removeTestCaseFromCampaign(Long testCaseId, long campaignId)
          Removes a test case from a campaign.
 void removeTestCasesFromCampaign(List<Long> testPlanIds, long campaignId)
          Removes a list of test cases from a campaign.
 

Method Detail

findCampaign

Campaign findCampaign(long campaignId)
Find a campaign using its id

Parameters:
campaignId -

findLinkableTestCaseLibraries

List<TestCaseLibrary> findLinkableTestCaseLibraries()
Returns a collection of TestCaseLibrary, the test cases of which may be added to the campaign


addTestCasesToCampaignTestPlan

void addTestCasesToCampaignTestPlan(List<Long> testCaseIds,
                                    long campaignId)
Adds a list of test cases to a campaign.

Parameters:
testCaseIds -
campaignId -

removeTestCasesFromCampaign

void removeTestCasesFromCampaign(List<Long> testPlanIds,
                                 long campaignId)
Removes a list of test cases from a campaign.

Parameters:
testCaseIds -
requirementId -

removeTestCaseFromCampaign

void removeTestCaseFromCampaign(Long testCaseId,
                                long campaignId)
Removes a test case from a campaign.

Parameters:
testCaseId -
campaignId -

findAssignableUserForTestPlan

List<User> findAssignableUserForTestPlan(long campaignId)
Get Users with Write Access for a campaign and his test plans.

Parameters:
testCaseId -
campaignId -

assignUserToTestPlanItem

void assignUserToTestPlanItem(Long testCaseId,
                              long campaignId,
                              Long userId)
Get Users with Write Access for a TestPlan.

Parameters:
testCaseId -
campaignId -

assignUserToTestPlanItems

void assignUserToTestPlanItems(List<Long> testCaseIds,
                               long campaignId,
                               Long userId)
Get Users with Write Access for a TestPlan.

Parameters:
testCaseIds -
campaignId -

findTestPlanItemByTestCaseId

CampaignTestPlanItem findTestPlanItemByTestCaseId(long campaignId,
                                                  long testCaseId)
Adds a list of test cases to a campaign.

Parameters:
testCaseIdss -
campaignId -


Copyright © 2010-2012 Squashtest TM, Squashtest.org. All Rights Reserved.