| | |
| | | import static org.opends.server.loggers.debug.DebugLogger.*; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import org.opends.server.types.*; |
| | | |
| | | import static org.opends.server.util.ServerConstants.*; |
| | | import org.opends.server.admin.std.server.LocalDBBackendCfg; |
| | | import org.opends.server.admin.std.server.LocalDBIndexCfg; |
| | |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override() |
| | | public void replaceEntry(Entry entry, ModifyOperation modifyOperation) |
| | | throws DirectoryException, CanceledOperationException |
| | | public void replaceEntry(Entry oldEntry, Entry newEntry, |
| | | ModifyOperation modifyOperation) throws DirectoryException, |
| | | CanceledOperationException |
| | | { |
| | | writerBegin(); |
| | | |
| | | DN entryDN = entry.getDN(); |
| | | DN entryDN = newEntry.getDN(); |
| | | EntryContainer ec; |
| | | if (rootContainer != null) |
| | | { |
| | |
| | | |
| | | try |
| | | { |
| | | ec.replaceEntry(entry, modifyOperation); |
| | | ec.replaceEntry(oldEntry, newEntry, modifyOperation); |
| | | } |
| | | catch (DatabaseException e) |
| | | { |