Class ContentComparatorChange

java.lang.Object
org.ametys.cms.content.compare.ContentComparatorChange

public class ContentComparatorChange extends Object
One of the changes between 2 contents
  • Constructor Details

    • ContentComparatorChange

      public ContentComparatorChange(String attributeDataPath, String detailDataPath, ModelItem modeItem, DataChangeType type)
      Constructor with no details for this change
      Parameters:
      attributeDataPath - path of the attribute data (can be rep[2]/someComposite/someRichText for instance)
      detailDataPath - relative path of the detail (can be lastModified for a RichText for instance)
      modeItem - the model item
      type - type of change
    • ContentComparatorChange

      public ContentComparatorChange(String attributeDataPath, String detailDataPath, ModelItem modeItem, DataChangeType type, DataChangeTypeDetail detail)
      Constructor with change detail
      Parameters:
      attributeDataPath - path of the attribute data (can be rep[2]/someComposite/someRichText for instance)
      detailDataPath - relative path of the detail (can be lastModified for a RichText for instance)
      modeItem - the model item
      type - type of change
      detail - detail of the change
  • Method Details