code: private Collection<DetailInfo> getDetailInfosForPage(CmsResource containerPage) {
  
          if (m_detailInfosByPage == null) {
              m_detailInfosByPage = ArrayListMultimap.create();
              for (DetailInfo detailInfo : m_detailInfos) {
                  m_detailInfosByPage.put(detailInfo.getDetailPageInfo().getUri(), detailInfo);
              }
          }
          String folderPath = CmsResource.getParentFolder(containerPage.getRootPath());
          Collection<DetailInfo> result = m_detailInfosByPage.get(containerPage.getRootPath());
          if (result.isEmpty()) {
              result = m_detailInfosByPage.get(folderPath);
          }
          return result;
      }
docs: Gets the detail information for the given container page.<p>
  
  @param containerPage the container page
  @return the detail information