code: private void writeDetailPageInfos(List<CmsDetailPageInfo> infos, CmsUUID newId) {
  
          int i = 0;
          for (CmsDetailPageInfo info : infos) {
              if (info.isInherited()) {
                  continue;
              }
              CmsUUID id = info.getId();
              if (id == null) {
                  id = newId;
              }
              writeValue(info.getType(), id, i);
              i += 1;
          }
      }
docs: Writes the detail page information to the XML content.<p>
  
  @param infos the list of detail page information bean
  @param newId the id to use for new pages