Interface I_CmsDiffProvider

    • Method Detail

      • diff

        com.google.common.base.Optional<com.vaadin.ui.Component> diff​(CmsObject cms,
                                                                      CmsHistoryResourceBean v1,
                                                                      CmsHistoryResourceBean v2)
                                                               throws CmsException
        Optionally returns a comparison component to display for the given resource versions.

        If no value is returned, then no widget is displayed.

        Parameters:
        cms - the CMS context
        v1 - bean representing the first version
        v2 - bean representing the second version
        Returns:
        the optional component to display
        Throws:
        CmsException - if something goes wrong