code: private void addDetailContent(CmsObject adminCms, Set<CmsResource> containerPages, String containerPage) {
  
          if (CmsDetailOnlyContainerUtil.isDetailContainersPage(adminCms, containerPage)) {
  
              try {
                  CmsResource detailRes = adminCms.readResource(
                      CmsDetailOnlyContainerUtil.getDetailContentPath(containerPage),
                      CmsResourceFilter.IGNORE_EXPIRATION);
                  containerPages.add(detailRes);
              } catch (Throwable e) {
                  if (LOG.isWarnEnabled()) {
                      LOG.warn(e.getLocalizedMessage(), e);
                  }
              }
          }
      }
docs: Checks if the given containerpage is used as a detail containers and adds the related detail content to the resource set.<p>
  
  @param adminCms the cms context
  @param containerPages the containerpages
  @param containerPage the container page site path