org.squashtest.tm.service.testcase
public interface TestCaseLibraryNavigationService extends LibraryNavigationService<org.squashtest.tm.domain.testcase.TestCaseLibrary,org.squashtest.tm.domain.testcase.TestCaseFolder,org.squashtest.tm.domain.testcase.TestCaseLibraryNode>, TestCaseLibraryFinderService
| Modifier and Type | Method and Description |
|---|---|
void |
addTestCaseToFolder(long folderId,
org.squashtest.tm.domain.testcase.TestCase testCase)
Adds a TestCase to a folder.
|
void |
addTestCaseToFolder(long folderId,
org.squashtest.tm.domain.testcase.TestCase testCase,
Map<Long,String> customFieldValues)
Adds a TestCase to a folder, and its initial custom field values.
|
void |
addTestCaseToLibrary(long libraryId,
org.squashtest.tm.domain.testcase.TestCase testCase)
Adds a TestCase to the root of the library.
|
void |
addTestCaseToLibrary(long libraryId,
org.squashtest.tm.domain.testcase.TestCase testCase,
Map<Long,String> customFieldValues)
Adds a TestCase to the root of the Library, and its initial custom field values.
|
org.squashtest.tm.domain.testcase.TestCase |
findTestCase(long testCaseId)
Deprecated.
use
TestCaseFinder.findById(long) instead |
List<org.squashtest.tm.domain.testcase.ExportTestCaseData> |
findTestCasesToExportFromLibrary(List<Long> ids)
Will find all test cases found in the given projects and return their information as a list of
ExportTestCaseData
|
List<org.squashtest.tm.domain.testcase.ExportTestCaseData> |
findTestCasesToExportFromNodes(List<Long> nodesIds)
Will find all test cases of the given ids and contained in folders of the given ids, and return their
information as a list of ExportTestCaseData
|
List<String> |
getParentNodesAsStringList(Long nodeId) |
ImportSummary |
importExcelTestCase(InputStream archiveStream,
long libraryId,
String encoding)
Accepts a stream to a .zip file containing regular folders or excel files and nothing else.
|
addFolderToFolder, addFolderToLibrary, copyNodesToFolder, copyNodesToLibrary, deleteNodes, findCreatableLibrary, findFolder, findFolderContent, findLibrary, findLibraryOfRootNodeIfExist, findLibraryRootContent, findParentIfExists, moveNodesToFolder, moveNodesToLibrary, renameFolder, simulateDeletionfindLinkableTestCaseLibraries, findTestCaseIdsFromSelection, getPathAsString, getStatisticsForSelectionvoid addTestCaseToLibrary(long libraryId,
org.squashtest.tm.domain.testcase.TestCase testCase)
libraryId - testCase - void addTestCaseToLibrary(long libraryId,
org.squashtest.tm.domain.testcase.TestCase testCase,
Map<Long,String> customFieldValues)
CustomField to the values of the corresponding CustomFieldValue.
Read that last sentence again.libraryId - testCase - customFieldValues - void addTestCaseToFolder(long folderId,
org.squashtest.tm.domain.testcase.TestCase testCase)
libraryId - testCase - void addTestCaseToFolder(long folderId,
org.squashtest.tm.domain.testcase.TestCase testCase,
Map<Long,String> customFieldValues)
CustomField to the values of the corresponding CustomFieldValue.
Read that last sentence again.libraryId - testCase - customFieldValues - @Deprecated org.squashtest.tm.domain.testcase.TestCase findTestCase(long testCaseId)
TestCaseFinder.findById(long) insteadtestCaseId - ImportSummary importExcelTestCase(InputStream archiveStream, long libraryId, String encoding)
archiveStream - libraryId - the identifier of the library we are importing test cases into.encoding - the encodingList<org.squashtest.tm.domain.testcase.ExportTestCaseData> findTestCasesToExportFromLibrary(List<Long> ids)
libraryIds - ids of ProjectList<org.squashtest.tm.domain.testcase.ExportTestCaseData> findTestCasesToExportFromNodes(@NotNull List<Long> nodesIds)
nodesIds - ids of TestCaseLibraryNodeCopyright © 2010-2014 Henix, henix.fr. All Rights Reserved.