Interface I_CmsCollectorPostCreateHandler

    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      void onCreate​(CmsObject cms, CmsResource createdResource, boolean copyMode)
      This is called after the new content has been created (and possibly already been filled with content).
      default void onCreate​(CmsObject cms, CmsResource createdResource, boolean copyMode, java.lang.String config)
      This is called after the new content has been created (and possibly already been filled with content).
      static CmsPair<java.lang.String,​java.lang.String> splitClassAndConfig​(java.lang.String handlerConfig)
      Splits the string that configures the handler into the handler class and the configuration part.
    • Method Detail

      • splitClassAndConfig

        static CmsPair<java.lang.String,​java.lang.String> splitClassAndConfig​(java.lang.String handlerConfig)
        Splits the string that configures the handler into the handler class and the configuration part.
        Parameters:
        handlerConfig - string that configures the handler
        Returns:
        pair with the handler class and the configuration
      • onCreate

        void onCreate​(CmsObject cms,
                      CmsResource createdResource,
                      boolean copyMode)
        This is called after the new content has been created (and possibly already been filled with content).

        Parameters:
        cms - the current user's CMS context
        createdResource - the resource which has been created
        copyMode - true if the user chose one of the elements in the collector list as a model
      • onCreate

        default void onCreate​(CmsObject cms,
                              CmsResource createdResource,
                              boolean copyMode,
                              java.lang.String config)
        This is called after the new content has been created (and possibly already been filled with content).

        Parameters:
        cms - the current user's CMS context
        createdResource - the resource which has been created
        copyMode - true if the user chose one of the elements in the collector list as a model
        config - an optional configuration string that can be handled specific by each implementation