+ " or its nearest ancestor is checked-in");
// Check locking
if (!srcNode.checkLocking())
throw new LockException("Source parent node " + srcNode.getPath() + " is locked ");
ItemDataMoveVisitor initializer =
new ItemDataMoveVisitor((NodeData) destParentNode.getData(), destNodePath.getName().getInternalName(),
nodeTypeManager, session.getTransientNodesManager(), true);
srcNode.getData().accept(initializer);
PlainChangesLog changes = new PlainChangesLogImpl(session.getId());
changes.addAll(initializer.getAllStates());
session.getTransientNodesManager().getTransactManager().save(changes);
}