LOG.debug("Can't edit unstored entry: "+entry.getUrl());
    public void execute(Map arguments, Registry registry, Output output)                 throws Exception    {        validateArguments(arguments, new String[] {PARAM_ENTRIES});        EntryList list = (EntryList) arguments.get(PARAM_ENTRIES);        EntryStore store = (EntryStore) registry.getPlugin("store");        if ( list != null ) {            LOG.debug("Trying to update "+list.size()+" entries");                    for (int i = 0; i < list.size(); i++) {                Entry entry = list.getEntry(i);                              Entry storedEntry = store.getEntry(entry.getUrl());                                LOG.debug("Got Entry "+storedEntry+" to update with Entry "+entry);                                if ( storedEntry != null ) {                                      storedEntry = storedEntry.overwrite(entry);                                        LOG.debug("Updated Entry, now trying to store it");                                        //                    // TODO what about first storing entries which should be updated                     // in extra list and then do a batch update ?                    //                                        // now finally update entry in index                    store.addEntry(storedEntry, true);                                        output.addOutputMessage("Entry saved! "+storedEntry.getUrl());                    output.addEntry(storedEntry);                                  } else {                    // TODO is this behaviour a bit tame?                    output.addOutputMessage("Can't edit unstored entry: "+entry.getUrl());                }            }                    } else {            // TODO make this an error            output.addOutputMessage("Can't update empty entrylist");        }    }