org.squashtest.tm.domain.testcase
Interface TestCaseSearchCriteria


public interface TestCaseSearchCriteria

Implementing classes will carry the criteria used in the test case search functionalities.


Method Summary
 List<TestCaseImportance> getImportanceFilterSet()
          gives the importances of the test cases we want to match.
 String getNameFilter()
          returns the piece of the name of the test case that are looked for.
 List<TestCaseNature> getNatureFilterSet()
          gives the natures of the test cases we want to match.
 List<TestCaseStatus> getStatusFilterSet()
          gives the statuses of the test cases we want to match.
 List<TestCaseType> getTypeFilterSet()
          gives the types of the test cases we want to match.
 boolean includeFoldersInResult()
          Tells whether the result set should include folders matching the criterion
 boolean isGroupByProject()
          Tells whether the result set should group the data by projects.
 boolean usesImportanceFilter()
          Tells whether a criterion regarding importance had been set in the query or not
 boolean usesNameFilter()
           
 boolean usesNatureFilter()
          Tells whether a criterion regarding nature had been set in the query or not
 boolean usesStatusFilter()
          Tells whether a criterion regarding status had been set in the query or not
 boolean usesTypeFilter()
          Tells whether a criterion regarding type had been set in the query or not
 

Method Detail

includeFoldersInResult

boolean includeFoldersInResult()
Tells whether the result set should include folders matching the criterion

Returns:

isGroupByProject

boolean isGroupByProject()
Tells whether the result set should group the data by projects. If false, the data will only be sorted by name.

Returns:

usesNameFilter

boolean usesNameFilter()

usesImportanceFilter

boolean usesImportanceFilter()
Tells whether a criterion regarding importance had been set in the query or not

Returns:

usesNatureFilter

boolean usesNatureFilter()
Tells whether a criterion regarding nature had been set in the query or not

Returns:

usesTypeFilter

boolean usesTypeFilter()
Tells whether a criterion regarding type had been set in the query or not

Returns:

usesStatusFilter

boolean usesStatusFilter()
Tells whether a criterion regarding status had been set in the query or not

Returns:

getNameFilter

String getNameFilter()
returns the piece of the name of the test case that are looked for. Wildcards before and after should not be included.

Returns:

getImportanceFilterSet

List<TestCaseImportance> getImportanceFilterSet()
gives the importances of the test cases we want to match. A result of length 0 is likely to be interpreted like 'fetch test cases having no importance', which in turn will likely result in a void result set since TestCases cannot have null TestCaseImportance attribute.

Returns:

getNatureFilterSet

List<TestCaseNature> getNatureFilterSet()
gives the natures of the test cases we want to match. A result of length 0 is likely to be interpreted like 'fetch test cases having no nature', which in turn will likely result in a void result set since TestCases cannot have null TestCaseNature attribute.

Returns:

getTypeFilterSet

List<TestCaseType> getTypeFilterSet()
gives the types of the test cases we want to match. A result of length 0 is likely to be interpreted like 'fetch test cases having no type', which in turn will likely result in a void result set since TestCases cannot have null TestCaseType attribute.

Returns:

getStatusFilterSet

List<TestCaseStatus> getStatusFilterSet()
gives the statuses of the test cases we want to match. A result of length 0 is likely to be interpreted like 'fetch test cases having no status', which in turn will likely result in a void result set since TestCases cannot have null TestCaseStatus attribute.

Returns:


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