Class CmsDetailPageConfigurationWriter

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String N_DETAIL_PAGE
      The detail page node.
      static java.lang.String N_PAGE
      The name of the node containing the reference to the actual detail page.
      static java.lang.String N_TYPE
      The name of the node which contains the type which the detail page renders.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void updateAndSave​(java.util.List<CmsDetailPageInfo> infos, CmsUUID newId)
      Writes the new detail page information to the configuration file.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • updateAndSave

        public void updateAndSave​(java.util.List<CmsDetailPageInfo> infos,
                                  CmsUUID newId)
                           throws CmsException
        Writes the new detail page information to the configuration file.

        Parameters:
        infos - the new detail page information
        newId - the id to use for new pages
        Throws:
        CmsException - if something goes wrong