public interface NodeManagementService<MANAGED extends org.squashtest.tm.domain.library.LibraryNode,NODE extends org.squashtest.tm.domain.library.LibraryNode,FOLDER extends org.squashtest.tm.domain.library.Folder<NODE>>
| Modifier and Type | Method and Description |
|---|---|
MANAGED |
findNode(long nodeId)
Finds a node by its ID.
|
void |
removeNode(long nodeId)
Removes a node from repository by its ID.
|
void |
renameNode(long nodeId,
String newName)
Renames a node by its ID after checking that there is no name clash in the node's container.
|
void |
updateNodeDescription(long nodeId,
String newDescription)
This method updates a node description
|
@Transactional(readOnly=true) MANAGED findNode(long nodeId)
nodeId - void removeNode(long nodeId)
nodeId - void renameNode(long nodeId,
String newName)
throws org.squashtest.tm.exception.DuplicateNameException
nodeId - newName - org.squashtest.tm.exception.DuplicateNameException - if the node's container already contains a node with the new name.void updateNodeDescription(long nodeId,
String newDescription)
nodeId - the node idnewDescription - the new description (String)Copyright © 2010–2017 Henix, henix.fr. All rights reserved.