org.squashtest.csp.tm.service
Interface TestCaseLibraryNavigationService

All Superinterfaces:
LibraryNavigationService<TestCaseLibrary,TestCaseFolder,TestCaseLibraryNode>, TestCaseLibraryFinderService
All Known Implementing Classes:
TestCaseLibraryNavigationServiceImpl

public interface TestCaseLibraryNavigationService
extends LibraryNavigationService<TestCaseLibrary,TestCaseFolder,TestCaseLibraryNode>, TestCaseLibraryFinderService

Service for navigation in a TestCase library use case.

Author:
Gregory Fouquet

Method Summary
 void addTestCaseToFolder(long folderId, TestCase testCase)
           
 void addTestCaseToLibrary(long libraryId, TestCase testCase)
           
 TestCase findTestCase(long testCaseId)
           
 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.csp.tm.service.LibraryNavigationService
addFolderToFolder, addFolderToLibrary, copyNodesToFolder, copyNodesToLibrary, deleteNodes, findCreatableLibrary, findFolder, findFolderContent, findLibrary, findLibraryOfRootNodeIfExist, findLibraryRootContent, findParentIfExists, modeNodesToFolder, moveNodesToLibrary, renameFolder, simulateDeletion
 
Methods inherited from interface org.squashtest.csp.tm.service.TestCaseLibraryFinderService
findLinkableTestCaseLibraries, getPathAsString
 

Method Detail

addTestCaseToLibrary

void addTestCaseToLibrary(long libraryId,
                          TestCase testCase)

findTestCase

TestCase findTestCase(long testCaseId)

addTestCaseToFolder

void addTestCaseToFolder(long folderId,
                         TestCase testCase)

importExcelTestCase

ImportSummary importExcelTestCase(InputStream archiveStream,
                                  long libraryId,
                                  String encoding)
Accepts a stream to a .zip file containing regular folders or excel files and nothing else. Will convert the test cases from excel to squash.

Parameters:
archiveStream -
libraryId - the identifier of the library we are importing test cases into.
encoding - the encoding
Returns:
a summary of the operations.


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