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 void
rename(Node node, String newName)
Rename the givenNode
with the given new name
-
-
-
Method Detail
-
rename
public static void rename(Node node, String newName) throws AmetysRepositoryException
Rename the givenNode
with the given new name- Parameters:
node
- the node to renamenewName
- the new name of the node- Throws:
AmetysRepositoryException
- if an error occurs.
-
-