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 |
Long |
findNodeIdByRemoteKey(String remoteKey,
String projectName)
Return the id of a (synchronized)
Requirement, identified by its remote key. |
List<Long> |
findNodeIdsByPath(List<String> paths)
Returns the id list, representing each node on the path.
|
List<Long> |
findNodeIdsByRemoteKeys(List<String> remoteKeys,
String projectName)
Return a list of synchronized Requirement, given their remote key.
|
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.
|
RequirementStatisticsBundle |
getStatisticsForSelection(Collection<Long> libraryIds,
Collection<Long> nodeIds)
Passing the ids of some selected RequirementLibrary and RequirementLibraryNodes (in separate collections), will return
the statistics covering all the Requirements encompassed by this selection.
|
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 pathLong findNodeIdByRemoteKey(String remoteKey, String projectName)
Requirement, identified by its remote key.remoyeKey - Requirement have such remote keyList<Long> findNodeIdsByRemoteKeys(List<String> remoteKeys, String projectName)
remoteKeys - Collection<Long> findRequirementIdsFromSelection(Collection<Long> libraryIds, Collection<Long> nodeIds)
libraryIds - nodeIds - RequirementStatisticsBundle getStatisticsForSelection(Collection<Long> libraryIds, Collection<Long> nodeIds)
libraryIds - nodeIds - Copyright © 2010–2017 Henix, henix.fr. All rights reserved.