docs: public void setParentResource(CmsResource parentResource) {
  
          if (parentResource.isFile()) {
              m_parentPath = CmsResource.getFolderPath(parentResource.getRootPath());
          } else {
              m_parentPath = parentResource.getRootPath();
          }
      }