code: public List<CmsResource> readResources(CmsResource resource, CmsResourceFilter filter, boolean readTree)
      throws CmsException {
  
          if (readTree) {
              return m_securityManager.readResources(m_context, resource, filter, readTree);
          } else {
              return m_securityManager.readChildResources(m_context, resource, filter, true, true);
          }
      }
docs: Reads all resources below the given resource matching the filter criteria,
  including the full tree below the path only in case the <code>readTree</code>
  parameter is <code>true</code>.<p>
  
  @param resource the parent resource
  @param filter the filter
  @param readTree <code>true</code> to read all sub resources
  
  @return a list of <code>{@link CmsResource}</code> objects matching the filter criteria
  
  @throws CmsException if something goes wrong