|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TestCaseLibraryNavigationService
Service for navigation in a TestCase library use case.
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface org.squashtest.tm.service.library.LibraryNavigationService |
|---|
addFolderToFolder, addFolderToLibrary, copyNodesToFolder, copyNodesToLibrary, deleteNodes, findCreatableLibrary, findFolder, findFolderContent, findLibrary, findLibraryOfRootNodeIfExist, findLibraryRootContent, findParentIfExists, moveNodesToFolder, moveNodesToLibrary, renameFolder, simulateDeletion |
| Methods inherited from interface org.squashtest.tm.service.testcase.TestCaseLibraryFinderService |
|---|
findLinkableTestCaseLibraries, findTestCaseIdsFromSelection, getPathAsString, getStatisticsForSelection |
| Method Detail |
|---|
void 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) instead
testCaseId -
ImportSummary importExcelTestCase(InputStream archiveStream,
long libraryId,
String encoding)
archiveStream - libraryId - the identifier of the library we are importing test cases into.encoding - the encoding
List<org.squashtest.tm.domain.testcase.ExportTestCaseData> findTestCasesToExportFromLibrary(List<Long> ids)
libraryIds - ids of Project
List<org.squashtest.tm.domain.testcase.ExportTestCaseData> findTestCasesToExportFromNodes(@NotNull
List<Long> nodesIds)
nodesIds - ids of TestCaseLibraryNode
List<String> getParentNodesAsStringList(Long nodeId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||