code: private List<CmsModelPageEntry> buildModelPageList(List<CmsModelPageConfig> modelPageConfigs) {
  
          List<CmsModelPageEntry> result = Lists.newArrayList();
          Locale wpLocale = OpenCms.getWorkplaceManager().getWorkplaceLocale(m_cms);
          for (CmsModelPageConfig config : modelPageConfigs) {
              CmsUUID structureId = config.getResource().getStructureId();
              try {
                  CmsResource modelPage = m_cms.readResource(structureId, CmsResourceFilter.IGNORE_EXPIRATION);
                  CmsModelPageEntry entry = createModelPageEntry(
                      modelPage,
                      config.isDisabled(),
                      config.isDefault(),
                      wpLocale);
                  if (entry != null) {
                      result.add(entry);
                  }
              } catch (CmsVfsResourceNotFoundException e) {
                  continue;
              } catch (Exception e) {
                  LOG.error(e.getLocalizedMessage(), e);
                  continue;
              }
          }
          return result;
      }
docs: Builds the model page list.<p>
  
  @param modelPageConfigs the model page configuration
  
  @return the list