ignoredCount++;
return;
}
if ((nodeIdentifier != null) && (ignoreNodeTypes.size() > 0)) {
final JCRTemplate tpl = JCRTemplate.getInstance();
String matchingNodeType = null;
try {
matchingNodeType = tpl.doExecuteWithSystemSession(new JCRCallback<String>() {
public String doInJCR(JCRSessionWrapper session) throws RepositoryException {
JCRNodeWrapper node = session.getNodeByIdentifier(nodeIdentifier);
if (node != null) {
for (String ignoreNodeType : ignoreNodeTypes) {
if (node.isNodeType(ignoreNodeType)) {