public void edit(
        CmsClientSitemapEntry entry,
        List<CmsPropertyModification> propertyChanges,
        final CmsReloadMode reloadStatus) {

        CmsSitemapChange change = getChangeForEdit(entry, propertyChanges);
        final String updateTarget = ((reloadStatus == CmsReloadMode.reloadParent))
        ? getParentEntry(entry).getSitePath()
        : entry.getSitePath();
        Command callback = new Command() {

            public void execute() {

                if ((reloadStatus == CmsReloadMode.reloadParent) || (reloadStatus == CmsReloadMode.reloadEntry)) {
                    updateEntry(updateTarget);
                }
            }
        };
        if (change != null) {
            commitChange(change, callback);
        }
    }
public void edit ( CmsClientSitemapEntry entry , List < CmsPropertyModification > propertyChanges , final CmsReloadMode reloadStatus ) { CmsSitemapChange change = getChangeForEdit ( entry , propertyChanges ) ; final String updateTarget = ( ( reloadStatus == CmsReloadMode . reloadParent ) ) ? getParentEntry ( entry ) . getSitePath ( ) : entry . getSitePath ( ) ; Command callback = new Command ( ) { public void execute ( ) { if ( ( reloadStatus == CmsReloadMode . reloadParent ) || ( reloadStatus == CmsReloadMode . reloadEntry ) ) { updateEntry ( updateTarget ) ; } } } ; if ( change != null ) { commitChange ( change , callback ) ; } }
Edits the given sitemap entry.<p>

@param entry the sitemap entry to update
@param propertyChanges the property changes
@param reloadStatus a value indicating which entries need to be reloaded after the change