private String fetchComparatorId(HippoNode node) { if(node == null) { return null; } try { if (node.hasProperty(HippoNodeType.HIPPO_UUID)) { return node.getProperty(HippoNodeType.HIPPO_UUID).getString(); } else if (node.isNodeType("mix:referenceable")) { return node.getUUID(); } } catch (RepositoryException e) { log.warn("RepositoryException while comparing HippoStdNodes. Return false"); } return null; } }
private String fetchComparatorId(HippoNode node) { if(node == null) { return null; } try { if (node.hasProperty(HippoNodeType.HIPPO_UUID)) { return node.getProperty(HippoNodeType.HIPPO_UUID).getString(); } else if (node.isNodeType("mix:referenceable")) { return node.getUUID(); } } catch (RepositoryException e) { log.warn("RepositoryException while comparing HippoStdNodes. Return false"); } return null; } }
log.debug("Not a search in a virtual structure. Return the scope for the node '{}' only.", node.getPath()); String scopeUUID = canonical.getUUID(); facetSelectClauses.append("@").append(HippoNodeType.HIPPO_PATHS).append("='").append(scopeUUID).append("'"); String scopeUUID = canonical.getUUID(); facetSelectClauses.append("@").append(HippoNodeType.HIPPO_PATHS).append("='").append(scopeUUID).append("'"); getFacetSelectClauses(hnode.getSession(), hnode, facetSelectClauses , true);