Class NodeHelper
- java.lang.Object
-
- org.ametys.plugins.repository.jcr.NodeHelper
-
public final class NodeHelper extends Object
Provides helper methods on nodes.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidrename(Node node, String newName)Rename the givenNodewith the given new name
-
-
-
Method Detail
-
rename
public static void rename(Node node, String newName) throws AmetysRepositoryException
Rename the givenNodewith the given new name- Parameters:
node- the node to renamenewName- the new name of the node- Throws:
AmetysRepositoryException- if an error occurs.
-
-