public interface I_CmsDiffProvider
| Modifier and Type | Method and Description |
|---|---|
com.google.common.base.Optional<com.vaadin.ui.Component> |
diff(CmsObject cms,
CmsHistoryResourceBean v1,
CmsHistoryResourceBean v2)
Optionally returns a comparison component to display for the given resource versions.
|
com.google.common.base.Optional<com.vaadin.ui.Component> diff(CmsObject cms, CmsHistoryResourceBean v1, CmsHistoryResourceBean v2) throws CmsException
If no value is returned, then no widget is displayed.
cms - the CMS contextv1 - bean representing the first versionv2 - bean representing the second versionCmsException - if something goes wrong