org.squashtest.csp.tm.service
Interface VerifiedRequirementsManagerService

All Known Implementing Classes:
VerifiedRequirementsManagerServiceImpl

public interface VerifiedRequirementsManagerService

Service for management of Requirements verified by a TestCase

Author:
Gregory Fouquet

Method Summary
 void addVerifiedRequirementsToTestCase(List<Long> requirementsIds, long testCaseId)
          Adds a list of requirements to the ones verified by a test case.
 List<RequirementLibrary> findLinkableRequirementLibraries()
          Returns the collection of RequirementLibrarys which Requirements can be linked by a TestCase
 TestCase findTestCase(long testCaseId)
           
 void removeVerifiedRequirementFromTestCase(long requirementId, long testCaseId)
          Removes a requirement from the ones verified by a test case.
 void removeVerifiedRequirementsFromTestCase(List<Long> requirementsIds, long testCaseId)
          Removes a list of requirements from the ones verified by a test case.
 

Method Detail

findTestCase

TestCase findTestCase(long testCaseId)

findLinkableRequirementLibraries

List<RequirementLibrary> findLinkableRequirementLibraries()
Returns the collection of RequirementLibrarys which Requirements can be linked by a TestCase

Returns:

addVerifiedRequirementsToTestCase

void addVerifiedRequirementsToTestCase(List<Long> requirementsIds,
                                       long testCaseId)
Adds a list of requirements to the ones verified by a test case. If a requirement is already verified, nothing special happens.

Parameters:
requirementsIds -
testCaseId -

removeVerifiedRequirementsFromTestCase

void removeVerifiedRequirementsFromTestCase(List<Long> requirementsIds,
                                            long testCaseId)
Removes a list of requirements from the ones verified by a test case. If a requirement is not verified by the test case, nothing special happens.

Parameters:
testCaseId -
requirementsIds -

removeVerifiedRequirementFromTestCase

void removeVerifiedRequirementFromTestCase(long requirementId,
                                           long testCaseId)
Removes a requirement from the ones verified by a test case. If the requirement was not previously verified by the test case, nothing special happens.

Parameters:
testCaseId -
requirementsIds -


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