org.squashtest.tm.service.testcase
Interface ParameterModificationService

All Superinterfaces:
ParameterFinder
All Known Implementing Classes:
ParameterModificationServiceImpl

@Transactional
public interface ParameterModificationService
extends ParameterFinder


Method Summary
 void addNewParameterToTestCase(org.squashtest.tm.domain.testcase.Parameter parameter, long testCaseId)
           
 void changeDescription(long parameterId, String description)
           
 void changeName(long parameterId, String name)
           
 void createParamsForStep(long stepId)
          Will create all parameters used in the step if they don't already exist.
 void createParamsForStep(org.squashtest.tm.domain.testcase.TestStep step)
          Will create all parameters used in the step if they don't already exist.
 void createParamsForTestCaseSteps(org.squashtest.tm.domain.testcase.TestCase testCase)
          Will go through the test case's steps and create the missing parameter.
 void remove(org.squashtest.tm.domain.testcase.Parameter parameter)
           
 void removeAllByTestCaseIds(List<Long> testCaseIds)
           
 void removeById(long parameterId)
           
 
Methods inherited from interface org.squashtest.tm.service.testcase.ParameterFinder
findAllforTestCase, findById, isUsed
 

Method Detail

addNewParameterToTestCase

void addNewParameterToTestCase(org.squashtest.tm.domain.testcase.Parameter parameter,
                               long testCaseId)
Parameters:
parameter -
testCaseId -

changeName

void changeName(long parameterId,
                String name)
Parameters:
parameterId -
name -

changeDescription

void changeDescription(long parameterId,
                       String description)
Parameters:
parameterId -
description -

remove

void remove(org.squashtest.tm.domain.testcase.Parameter parameter)
Parameters:
parameter -

removeAllByTestCaseIds

void removeAllByTestCaseIds(List<Long> testCaseIds)
Parameters:
testCaseIds -

createParamsForStep

void createParamsForStep(long stepId)
Will create all parameters used in the step if they don't already exist. And will update all Datasets and calling test cases datasets in consequence.

Parameters:
stepId - : the id of the concerned step

createParamsForStep

void createParamsForStep(org.squashtest.tm.domain.testcase.TestStep step)
Will create all parameters used in the step if they don't already exist. And will update all Datasets and calling test cases datasets in consequence.

Parameters:
step - : the concerned step

removeById

void removeById(long parameterId)
Parameters:
parameterId -

createParamsForTestCaseSteps

void createParamsForTestCaseSteps(org.squashtest.tm.domain.testcase.TestCase testCase)
Will go through the test case's steps and create the missing parameter. If the test case has datasets, will create the new datasetParamValues.

Parameters:
testCase - : the concerned test case


Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.