code: public List<NodeTypeData> getAllNodeTypes()
     {
        if (!haveTypes)
           try
           {
              return super.getAllNodeTypes();
           }
           catch (RepositoryException e)
           {
              LOG.error(e.getLocalizedMessage(), e);
           }
  
        return hierarchy.getAllNodeTypes();
     }
docs: {@inheritDoc}