Interface I_CmsXmlContentEditorChangeHandler

    • Method Detail

      • getConfiguration

        java.lang.String getConfiguration()
        Returns the handler configuration.

        Returns:
        the handler configuration
      • getScope

        java.lang.String getScope()
        Returns the handler scope.

        Returns:
        the handler scope
      • handleChange

        CmsXmlContent handleChange​(CmsObject cms,
                                   CmsXmlContent content,
                                   java.util.Locale locale,
                                   java.util.Collection<java.lang.String> changedPaths)
        Handles the content change.

        Parameters:
        cms - the cms context
        content - the changed content
        locale - the edited locale
        changedPaths - the changed content value paths
        Returns:
        the changed content
      • setConfiguration

        void setConfiguration​(java.lang.String configuration)
        Sets the configuration.

        Parameters:
        configuration - the configuration
      • setScope

        void setScope​(java.lang.String scope)
        Sets the scope to observe for changes.

        With a scope set to '/link' all changes below the path /link will be observed.

        Parameters:
        scope - the scope