if (!srcNode.checkLocking())
{
throw new LockException("Source parent node " + srcNode.getPath() + " is locked ");
}
ItemDataMoveVisitor initializer =
new ItemDataMoveVisitor((NodeData)destParentNode.getData(), destNodePath.getName().getInternalName(),
(NodeData)srcParentNode.getData(), nodeTypeManager, session.getTransientNodesManager(), true);
srcNode.getData().accept(initializer);
PlainChangesLog changes = new PlainChangesLogImpl(initializer.getAllStates(), session);
// reload items pool
for (ItemState state : initializer.getItemAddStates())
{
if (state.isUpdated() || state.isRenamed())
{
(session.getTransientNodesManager()).reloadItem(state.getData());
}