if (uuids != null) {
if (uuids.length == 0) {
return Filters.excludeAll();
} else {
filters.add(new UniversalFilter(beforeTree, afterTree,
Selectors.PARENT, new UuidPredicate(uuids)));
}
}
if (ntNames != null) {
if (ntNames.length == 0) {
return Filters.excludeAll();
} else {
filters.add(new UniversalFilter(beforeTree, afterTree,
Selectors.PARENT, new NodeTypePredicate(ntManager, ntNames)));
}
}
filters.add(new ACFilter(beforeTree, afterTree, getTreePermission(afterTree)));