public interface TestCaseLibraryNodeDao extends LibraryNodeDao<org.squashtest.tm.domain.testcase.TestCaseLibraryNode>
| Modifier and Type | Method and Description |
|---|---|
int |
countSiblingsOfNode(long nodeId) |
org.squashtest.tm.domain.testcase.TestCaseLibraryNode |
findNodeByPath(String path) |
Long |
findNodeIdByPath(String path)
Same as
findNodeIdsByPath(List), for one test case only. |
List<Long> |
findNodeIdsByPath(List<String> path)
Given a list of paths of library NODE, return the ids of those nodes.
|
List<org.squashtest.tm.domain.testcase.TestCaseLibraryNode> |
findNodesByPath(List<String> path) |
getParentsIds, getParentsNamefindAll, findAllByIds, findByIdList<Long> findNodeIdsByPath(List<String> path)
Given a list of paths of library NODE, return the ids of those nodes. The path starts with /<projectname>.
Like in #getPathsAsString(List) a path is slash-separated '/', but this time names containing a '/' don't
need escaping (you may use escaped or unescaped names as will).
The order of the result is consistent with the order of the input. If an element could not be found (an invalid path for instance), the corresponding id in the result is NULL.
findNodeIdsByPath in interface LibraryNodeDao<org.squashtest.tm.domain.testcase.TestCaseLibraryNode>path - Long findNodeIdByPath(String path)
findNodeIdsByPath(List), for one test case only.findNodeIdByPath in interface LibraryNodeDao<org.squashtest.tm.domain.testcase.TestCaseLibraryNode>path - null when not foundList<org.squashtest.tm.domain.testcase.TestCaseLibraryNode> findNodesByPath(List<String> path)
path - org.squashtest.tm.domain.testcase.TestCaseLibraryNode findNodeByPath(String path)
path - nullint countSiblingsOfNode(long nodeId)
Copyright © 2010–2017 Henix, henix.fr. All rights reserved.