code: public List<I_CmsHistoryResource> readDeletedResources(
          CmsRequestContext context,
          CmsResource resource,
          boolean readTree)
      throws CmsException {
  
          CmsDbContext dbc = m_dbContextFactory.getDbContext(context);
          List<I_CmsHistoryResource> result = null;
          try {
              boolean isVfsManager = hasRoleForResource(dbc, dbc.currentUser(), CmsRole.VFS_MANAGER, resource);
              result = m_driverManager.readDeletedResources(dbc, resource, readTree, isVfsManager);
          } catch (CmsException e) {
              dbc.report(
                  null,
                  Messages.get().container(
                      Messages.ERR_READING_DELETED_RESOURCES_1,
                      dbc.removeSiteRoot(resource.getRootPath())),
                  e);
          } finally {
              dbc.clear();
          }
          return result;
      }
docs: Reads all deleted (historical) resources below the given path,
  including the full tree below the path, if required.<p>
  
  @param context the current request context
  @param resource the parent resource to read the resources from
  @param readTree <code>true</code> to read all subresources
  
  @return a list of <code>{@link I_CmsHistoryResource}</code> objects
  
  @throws CmsException if something goes wrong
  
  @see CmsObject#readResource(CmsUUID, int)
  @see CmsObject#readResources(String, CmsResourceFilter, boolean)
  @see CmsObject#readDeletedResources(String, boolean)