code: protected CmsSitemapChange getChangeForEdit(
          CmsClientSitemapEntry entry,
          List<CmsPropertyModification> propertyChanges) {
  
          CmsSitemapChange change = new CmsSitemapChange(entry.getId(), entry.getSitePath(), ChangeType.modify);
          change.setDefaultFileId(entry.getDefaultFileId());
          change.setLeafType(entry.isLeafType());
          List<CmsPropertyModification> propertyChangeData = new ArrayList<CmsPropertyModification>();
          for (CmsPropertyModification propChange : propertyChanges) {
              propertyChangeData.add(propChange);
          }
          change.setPropertyChanges(propertyChangeData);
  
          CmsSitemapClipboardData data = getData().getClipboardData().copy();
          data.addModified(entry);
          change.setClipBoardData(data);
          return change;
      }
docs: Creates a change object for an edit operation.<p>
  
  @param entry the edited sitemap entry
  @param propertyChanges the list of property changes
  
  @return the change object