|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NodeManagementService<MANAGED extends LibraryNode,NODE extends LibraryNode,FOLDER extends Folder<NODE>>
| Method Summary | |
|---|---|
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 |
| Method Detail |
|---|
@Transactional(readOnly=true) MANAGED findNode(long nodeId)
nodeId -
void removeNode(long nodeId)
nodeId -
void renameNode(long nodeId,
String newName)
throws DuplicateNameException
nodeId - newName -
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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||