public interface CustomReportLibraryNodeService
| Modifier and Type | Method and Description |
|---|---|
List<org.squashtest.tm.domain.tree.TreeLibraryNode> |
copyNodes(List<org.squashtest.tm.domain.customreport.CustomReportLibraryNode> nodes,
org.squashtest.tm.domain.customreport.CustomReportLibraryNode target) |
List<org.squashtest.tm.domain.tree.TreeLibraryNode> |
copyNodes(List<Long> nodeIds,
Long targetId) |
org.squashtest.tm.domain.customreport.CustomReportLibraryNode |
createNewNode(Long parentId,
org.squashtest.tm.domain.tree.TreeEntity entity)
Service to add a new
CustomReportLibraryNode. |
OperationReport |
delete(List<Long> nodeIds) |
List<org.squashtest.tm.domain.customreport.CustomReportLibraryNode> |
findAllCustomReportLibraryNodeById(List<Long> treeNodeIds)
Return a list of
CustomReportLibraryNode given a list of ids |
List<Long> |
findAncestorIds(Long nodeId)
Return the list of all ancestor ids for a given node id
|
org.squashtest.tm.domain.chart.ChartDefinition |
findChartDefinitionByNodeId(Long treeNodeId)
Return a
ChartDefinition. |
org.squashtest.tm.domain.customreport.CustomReportDashboard |
findCustomReportDashboardById(Long treeNodeId)
Return a
CustomReportDashboard. |
org.squashtest.tm.domain.customreport.CustomReportLibraryNode |
findCustomReportLibraryNodeById(Long treeNodeId)
Return a
CustomReportLibraryNode given an id |
List<org.squashtest.tm.domain.customreport.CustomReportLibraryNode> |
findDescendant(List<Long> nodeIds)
Find all descendant of a given list of node id's.
|
List<Long> |
findDescendantIds(List<Long> nodeIds)
Find all descendant id's of a given list of node id's.
|
org.squashtest.tm.domain.customreport.CustomReportFolder |
findFolderByTreeNodeId(Long treeNodeId)
Return a
CustomReportFolder. |
org.squashtest.tm.domain.customreport.CustomReportLibrary |
findLibraryByTreeNodeId(Long treeNodeId)
Return a
CustomReportLibrary. |
org.squashtest.tm.domain.customreport.CustomReportLibraryNode |
findNodeFromEntity(org.squashtest.tm.domain.tree.TreeEntity treeEntity)
Find the
CustomReportLibraryNode linked to a TreeEntity. |
void |
moveNodes(List<Long> nodeIds,
Long targetId) |
void |
renameNode(Long nodeId,
String newName) |
List<SuppressionPreviewReport> |
simulateDeletion(List<Long> nodeIds) |
org.squashtest.tm.domain.customreport.CustomReportLibraryNode findCustomReportLibraryNodeById(Long treeNodeId)
CustomReportLibraryNode given an idtreeNodeId - List<org.squashtest.tm.domain.customreport.CustomReportLibraryNode> findAllCustomReportLibraryNodeById(List<Long> treeNodeIds)
CustomReportLibraryNode given a list of idsorg.squashtest.tm.domain.customreport.CustomReportLibrary findLibraryByTreeNodeId(Long treeNodeId)
CustomReportLibrary. The given treeNodeId is the NODE's id, ie the id of the CustomReportLibraryNode
representing this entitytreeNodeId - org.squashtest.tm.domain.customreport.CustomReportFolder findFolderByTreeNodeId(Long treeNodeId)
CustomReportFolder. The given treeNodeId is the NODE's id, ie the id of the CustomReportLibraryNode
representing this entitytreeNodeId - org.squashtest.tm.domain.chart.ChartDefinition findChartDefinitionByNodeId(Long treeNodeId)
ChartDefinition. The given treeNodeId is the NODE's id, ie the id of the CustomReportLibraryNode
representing this entitytreeNodeId - org.squashtest.tm.domain.customreport.CustomReportDashboard findCustomReportDashboardById(Long treeNodeId)
CustomReportDashboard. The given treeNodeId is the NODE's id, ie the id of the CustomReportLibraryNode
representing this entitytreeNodeId - org.squashtest.tm.domain.customreport.CustomReportLibraryNode createNewNode(Long parentId, org.squashtest.tm.domain.tree.TreeEntity entity) throws org.squashtest.tm.exception.NameAlreadyInUseException
CustomReportLibraryNode. The caller is responsible for giving a
a not null, named TreeEntity. The service will persist the entity, create and persist the node and make links.
CustomReportLibraryNode
require a proper persist and reload to have an updated node and entity.parentId - Id of parent node. Can't be null.org.squashtest.tm.exception.NameAlreadyInUseExceptionList<SuppressionPreviewReport> simulateDeletion(List<Long> nodeIds)
OperationReport delete(List<Long> nodeIds)
List<org.squashtest.tm.domain.customreport.CustomReportLibraryNode> findDescendant(List<Long> nodeIds)
nodeIds - List<Long> findDescendantIds(List<Long> nodeIds)
nodeIds - void renameNode(Long nodeId, String newName) throws org.squashtest.tm.exception.DuplicateNameException
org.squashtest.tm.exception.DuplicateNameExceptionList<Long> findAncestorIds(Long nodeId)
nodeId - org.squashtest.tm.domain.customreport.CustomReportLibraryNode findNodeFromEntity(org.squashtest.tm.domain.tree.TreeEntity treeEntity)
CustomReportLibraryNode linked to a TreeEntity.treeEntity - List<org.squashtest.tm.domain.tree.TreeLibraryNode> copyNodes(List<org.squashtest.tm.domain.customreport.CustomReportLibraryNode> nodes, org.squashtest.tm.domain.customreport.CustomReportLibraryNode target)
List<org.squashtest.tm.domain.tree.TreeLibraryNode> copyNodes(List<Long> nodeIds, Long targetId)
Copyright © 2010–2017 Henix, henix.fr. All rights reserved.