docs: protected List<CmsResourceStatusRelationBean> getTargets(
          CmsObject cms,
          String locale,
          CmsResource resource,
          List<CmsUUID> additionalStructureIds)
      throws CmsException {
  
          CmsRelationTargetListBean listBean = getContainerpageRelationTargets(
              cms,
              resource.getStructureId(),
              additionalStructureIds,
              false);
          List<CmsResourceStatusRelationBean> result = new ArrayList<CmsResourceStatusRelationBean>();
          for (CmsResource target : listBean.getResources()) {
              try {
                  CmsPermissionInfo permissionInfo = OpenCms.getADEManager().getPermissionInfo(
                      cms,
                      target,
                      resource.getRootPath());
                  if (permissionInfo.hasViewPermission()) {
                      CmsResourceStatusRelationBean relationBean = createRelationBean(
                          cms,
                          locale,
                          target,
                          permissionInfo);
                      result.add(relationBean);
                  }
              } catch (CmsException e) {
                  LOG.error(e.getLocalizedMessage(), e);
              }
          }
          return result;
  
      }