Class CmsAttributeDiff
- java.lang.Object
-
- org.opencms.ui.dialogs.history.diff.A_CmsAttributeDiff
-
- org.opencms.ui.dialogs.history.diff.CmsAttributeDiff
-
- All Implemented Interfaces:
I_CmsDiffProvider
public class CmsAttributeDiff extends A_CmsAttributeDiff
Displays changes between attributes (size, modification date, etc. ).
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opencms.ui.dialogs.history.diff.A_CmsAttributeDiff
A_CmsAttributeDiff.IsAttributeDifference
-
-
Constructor Summary
Constructors Constructor Description CmsAttributeDiff()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCaption()
Gets the caption.java.util.List<CmsAttributeComparison>
getDifferences(CmsObject cms, CmsHistoryResourceBean v1, CmsHistoryResourceBean v2)
Gets the attribute comparison beans representing the differences.-
Methods inherited from class org.opencms.ui.dialogs.history.diff.A_CmsAttributeDiff
diff, filterDifferent, getVersionString, readResource
-
-
-
-
Constructor Detail
-
CmsAttributeDiff
public CmsAttributeDiff()
-
-
Method Detail
-
getCaption
public java.lang.String getCaption()
Description copied from class:A_CmsAttributeDiff
Gets the caption.- Specified by:
getCaption
in classA_CmsAttributeDiff
- Returns:
- the caption
- See Also:
A_CmsAttributeDiff.getCaption()
-
getDifferences
public java.util.List<CmsAttributeComparison> getDifferences(CmsObject cms, CmsHistoryResourceBean v1, CmsHistoryResourceBean v2) throws CmsException
Description copied from class:A_CmsAttributeDiff
Gets the attribute comparison beans representing the differences.- Specified by:
getDifferences
in classA_CmsAttributeDiff
- Parameters:
cms
- the CMS contextv1
- history bean representing the first versionv2
- history bean representing the second version- Returns:
- the list of attribute comparisons for the given versions
- Throws:
CmsException
- if something goes wrong- See Also:
A_CmsAttributeDiff.getDifferences(org.opencms.file.CmsObject, org.opencms.gwt.shared.CmsHistoryResourceBean, org.opencms.gwt.shared.CmsHistoryResourceBean)
-
-