public interface RequirementLibraryFinderService
| Modifier and Type | Method and Description |
|---|---|
List<org.squashtest.tm.domain.requirement.RequirementLibrary> |
findLinkableRequirementLibraries()
Returns the collection of
RequirementLibrary which Requirements can be linked by a TestCase |
Long |
findNodeIdByPath(String path)
Return the id of the
RequirementLibraryNode identified by the path given in argument |
List<Long> |
findNodeIdsByPath(List<String> paths)
Returns the id list, representing each node on the path.
|
Collection<Long> |
findRequirementIdsFromSelection(Collection<Long> libraryIds,
Collection<Long> nodeIds)
Passing the ids of some selected RequirementLibrary and RequirementLibraryNodes (in separate collections), will return
the ids of the Requirements encompassed by this selection.
|
String |
getPathAsString(long entityId)
Returns the path of a RequirementLibraryNode given its id.
|
List<org.squashtest.tm.domain.requirement.RequirementLibrary> findLinkableRequirementLibraries()
RequirementLibrary which Requirements can be linked by a TestCaseString getPathAsString(long entityId)
entityId - the id of the node.List<Long> findNodeIdsByPath(List<String> paths)
paths - A list of paths. This list can be generated by PathUtils.scanPath(String).
This method assume that the path contains the project path, but it will NOT return the project Id as member of returned listLong findNodeIdByPath(String path)
RequirementLibraryNode identified by the path given in argumentpath - RequirementLibraryNode have the pathCollection<Long> findRequirementIdsFromSelection(Collection<Long> libraryIds, Collection<Long> nodeIds)
libraryIds - nodeIds - Copyright © 2010-2016 Henix, henix.fr. All Rights Reserved.