org.squashtest.tm.service.testcase
Interface ParameterFinder

All Known Subinterfaces:
ParameterModificationService
All Known Implementing Classes:
ParameterModificationServiceImpl

@Transactional(readOnly=true)
public interface ParameterFinder

Author:
flaurens, mpagnon

Method Summary
 List<org.squashtest.tm.domain.testcase.Parameter> findAllforTestCase(long testCaseId)
          Will find all parameters for the test case along with all parameters found for the call steps.
 org.squashtest.tm.domain.testcase.Parameter findById(long parameterId)
          Simply find the parameter matching the given id
 boolean isUsed(long parameterId)
          Returns true if the parameter is used in one of it's test case action steps
 

Method Detail

findAllforTestCase

List<org.squashtest.tm.domain.testcase.Parameter> findAllforTestCase(long testCaseId)
Will find all parameters for the test case along with all parameters found for the call steps.

Parameters:
testCaseId -
Returns:
returns a list of parameters ordered by test case and name

findById

org.squashtest.tm.domain.testcase.Parameter findById(long parameterId)
Simply find the parameter matching the given id

Parameters:
parameterId - : the id of the Parameter to find
Returns:
the Parameter matching the id or null

isUsed

boolean isUsed(long parameterId)
Returns true if the parameter is used in one of it's test case action steps

Parameters:
parameterId - : the id of the concerned parameter
Returns:
true if the parameter is used in one of it's test case action step.


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