public class JcrRecursiveRemove
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_SAVE_EVERY_HOW_MANY |
| Constructor and Description |
|---|
JcrRecursiveRemove() |
| Modifier and Type | Method and Description |
|---|---|
int |
removeRecursive(javax.jcr.Node n,
int saveEveryHowManyNodes)
Remove Node n and its children recursively, saving every N nodes as specified
(to avoid growing the transient space too much)
|
public static final int DEFAULT_SAVE_EVERY_HOW_MANY
public int removeRecursive(javax.jcr.Node n,
int saveEveryHowManyNodes)
throws javax.jcr.RepositoryException
n - node to deletesaveEveryHowManyNodes - if < 1, DEFAULT_SAVE_EVERY_HOW_MANY is usedjavax.jcr.RepositoryException - if some error occursCopyright © 2010 - 2025 Adobe. All Rights Reserved