/** * * @param nodeId * @return * @throws RepositoryException */ protected Entries getEntries(NodeId nodeId) throws RepositoryException { NodeImpl node = getNodeById(nodeId); return getEntries(node); }
/** * * @param nodeId * @return * @throws RepositoryException */ protected Entries getEntries(NodeId nodeId) throws RepositoryException { NodeImpl node = getNodeById(nodeId); return getEntries(node); }
filterEntries(filter, getEntries(node).getACEs(), userAces, groupAces); NodeId next = node.getParentId(); while (next != null) { Entries entries = getEntries(next); filterEntries(filter, entries.getACEs(), userAces, groupAces); next = entries.getNextId();
filterEntries(filter, getEntries(node).getACEs(), userAces, groupAces); NodeId next = node.getParentId(); while (next != null) { Entries entries = getEntries(next); filterEntries(filter, entries.getACEs(), userAces, groupAces); next = entries.getNextId();
/** * Read the entries defined for the specified node and update the cache * accordingly. * * @param node The target node * @return The list of entries present on the specified node or an empty list. * @throws RepositoryException If an error occurs. */ private Entries internalUpdateCache(NodeImpl node) throws RepositoryException { Entries entries = super.getEntries(node); if (cacheNoAcl || (isRootId(node.getNodeId()) && cache.specialCasesRoot()) || !entries.isEmpty()) { // adjust the 'nextId' to point to the next access controlled // ancestor node instead of the parent and remember the entries. entries.setNextId(getNextID(node)); cache.put(node.getNodeId(), entries); } // else: not access controlled -> ignore. return entries; }
/** * Read the entries defined for the specified node and update the cache * accordingly. * * @param node The target node * @return The list of entries present on the specified node or an empty list. * @throws RepositoryException If an error occurs. */ private Entries internalUpdateCache(NodeImpl node) throws RepositoryException { Entries entries = super.getEntries(node); if (cacheNoAcl || (isRootId(node.getNodeId()) && cache.specialCasesRoot()) || !entries.isEmpty()) { // adjust the 'nextId' to point to the next access controlled // ancestor node instead of the parent and remember the entries. entries.setNextId(getNextID(node)); cache.put(node.getNodeId(), entries); } // else: not access controlled -> ignore. return entries; }