| Package | Description |
|---|---|
| org.opencms.ui.dialogs.history.diff |
Contains code for the comparison view of the file history dialog
|
| org.opencms.workplace.comparison |
Utilities for comparing different versions of resources, used by both the classic workplace and the new Vaadin-based workplace.
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<CmsAttributeComparison> |
A_CmsAttributeDiff.filterDifferent(java.util.List<CmsAttributeComparison> comps)
Only selects the attributes comparisons that actually represent differences.
|
abstract java.util.List<CmsAttributeComparison> |
A_CmsAttributeDiff.getDifferences(CmsObject cms,
CmsHistoryResourceBean v1,
CmsHistoryResourceBean v2)
Gets the attribute comparison beans representing the differences.
|
java.util.List<CmsAttributeComparison> |
CmsAttributeDiff.getDifferences(CmsObject cms,
CmsHistoryResourceBean v1,
CmsHistoryResourceBean v2) |
java.util.List<CmsAttributeComparison> |
CmsPropertyDiff.getDifferences(CmsObject cms,
CmsHistoryResourceBean v1,
CmsHistoryResourceBean v2) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
A_CmsAttributeDiff.IsAttributeDifference.apply(CmsAttributeComparison input) |
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<CmsAttributeComparison> |
A_CmsAttributeDiff.filterDifferent(java.util.List<CmsAttributeComparison> comps)
Only selects the attributes comparisons that actually represent differences.
|
| Constructor and Description |
|---|
CmsPropertyCompareBean(CmsAttributeComparison comp)
Creates a new instance.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CmsElementComparison
Comparison of two xml page elements.
|
class |
CmsXmlContentElementComparison
Comparison of two xml content elements.
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.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 java.util.List<CmsAttributeComparison> |
CmsResourceComparison.compareProperties(CmsObject cms,
CmsResource resource1,
java.lang.String version1,
CmsResource resource2,
java.lang.String version2)
Helper method that finds out, which of the properties were added, removed, modified or remain unchanged.
|