Uses of Class
org.opencms.workplace.comparison.CmsAttributeComparison
Package
Description
Contains code for the comparison view of the file history dialog.
Utilities for comparing different versions of resources, used by both the classic workplace and the new Vaadin-based workplace.
-
Uses of CmsAttributeComparison in org.opencms.ui.dialogs.history.diff
Modifier and TypeMethodDescriptionstatic List<CmsAttributeComparison>
A_CmsAttributeDiff.filterDifferent
(List<CmsAttributeComparison> comps) Only selects the attributes comparisons that actually represent differences.abstract List<CmsAttributeComparison>
A_CmsAttributeDiff.getDifferences
(CmsObject cms, CmsHistoryResourceBean v1, CmsHistoryResourceBean v2) Gets the attribute comparison beans representing the differences.CmsAttributeDiff.getDifferences
(CmsObject cms, CmsHistoryResourceBean v1, CmsHistoryResourceBean v2) CmsPropertyDiff.getDifferences
(CmsObject cms, CmsHistoryResourceBean v1, CmsHistoryResourceBean v2) Modifier and TypeMethodDescriptionboolean
A_CmsAttributeDiff.IsAttributeDifference.apply
(CmsAttributeComparison input) Modifier and TypeMethodDescriptionstatic List<CmsAttributeComparison>
A_CmsAttributeDiff.filterDifferent
(List<CmsAttributeComparison> comps) Only selects the attributes comparisons that actually represent differences.ModifierConstructorDescriptionCreates a new instance. -
Uses of CmsAttributeComparison in org.opencms.workplace.comparison
Modifier and TypeClassDescriptionclass
Comparison of two xml page elements.class
Comparison of two xml content elements.Modifier and TypeMethodDescriptionstatic List<CmsAttributeComparison>
CmsResourceComparison.compareAttributes
(CmsObject cms, CmsResource resource1, CmsResource resource2) Helper method that collects all meta attributes of the two file versions and finds out, which of the attributes were added, removed, modified or remain unchanged.static List<CmsAttributeComparison>
CmsResourceComparison.compareProperties
(CmsObject cms, CmsResource resource1, String version1, CmsResource resource2, String version2) Helper method that finds out, which of the properties were added, removed, modified or remain unchanged.