code: public CmsResource readResource(CmsUUID structureID, CmsResourceFilter filter) throws CmsException {
  
          return m_securityManager.readResource(m_context, structureID, filter);
      }
docs: Reads a resource from the VFS,
  using the specified resource filter.<p>
  
  A resource may be of type <code>{@link CmsFile}</code> or
  <code>{@link CmsFolder}</code>. In case of
  a file, the resource will not contain the binary file content. Since reading
  the binary content is a cost-expensive database operation, it's recommended
  to work with resources if possible, and only read the file content when absolutely
  required. To "upgrade" a resource to a file,
  use <code>{@link #readFile(CmsResource)}</code>.<p>
  
  The specified filter controls what kind of resources should be "found"
  during the read operation. This will depend on the application. For example,
  using <code>{@link CmsResourceFilter#DEFAULT}</code> will only return currently
  "valid" resources, while using <code>{@link CmsResourceFilter#IGNORE_EXPIRATION}</code>
  will ignore the date release / date expired information of the resource.<p>
  
  @param structureID the structure ID of the resource to read
  @param filter the resource filter to use while reading
  
  @return the resource that was read
  
  @throws CmsException if the resource could not be read for any reason
  
  @see #readFile(String, CmsResourceFilter)
  @see #readFolder(String, CmsResourceFilter)