return service.getChildInfos(sessionInfo, nodeId);
}
public Iterator<PropertyId> getNodeReferences(NodeState nodeState, Name propertyName, boolean weak) {
NodeEntry entry = nodeState.getNodeEntry();
// Shortcut
if (entry.getUniqueID() == null || !entry.hasPropertyEntry(NameConstants.JCR_UUID)) {
// for sure not referenceable
Set<PropertyId> t = Collections.emptySet();
return t.iterator();
}
// Has a unique ID and is potentially mix:referenceable. Try to retrieve references
try {
return service.getReferences(sessionInfo, entry.getWorkspaceId(), propertyName, weak);
} catch (RepositoryException e) {
log.debug("Unable to determine references to {}", nodeState);
Set<PropertyId> t = Collections.emptySet();
return t.iterator();
}