code: public Set<String> getAllParentNodesWithQuota(String repositoryName, String workspaceName, String nodePath)
     {
        Set<String> quotableParents = new HashSet<String>();
  
        for (String quoteablePath : getAllNodeQuota(repositoryName, workspaceName))
        {
           if (nodePath.startsWith(quoteablePath))
           {
              quotableParents.add(quoteablePath);
           }
        }
  
        for (String pattern : getAllGroupOfNodesQuota(repositoryName, workspaceName))
        {
           if (PathPatternUtils.acceptDescendant(pattern, nodePath))
           {
              String commonAncestor = PathPatternUtils.extractCommonAncestor(pattern, nodePath);
              quotableParents.add(commonAncestor);
           }
        }
  
        return quotableParents;
     }
docs: {@inheritDoc}