docs: public CmsPublishResource relationToBean(CmsRelation relation) {
  
          CmsPermissionInfo permissionInfo = new CmsPermissionInfo(true, false, "");
          CmsPublishResource bean = new CmsPublishResource(
              relation.getTargetId(),
              relation.getTargetPath(),
              relation.getTargetPath(),
              CmsResourceTypePlain.getStaticTypeName(),
              CmsResourceState.STATE_UNCHANGED,
              permissionInfo,
              0,
              null,
              null,
              false,
              null,
              null);
          bean.setBigIconClasses(CmsIconUtil.getIconClasses(CmsResourceTypePlain.getStaticTypeName(), null, false));
          return bean;
      }