SiteTreeNode node = firsttree.removeNode(firstdocumentid);
if (node != null) {
SiteTreeNode parentNode = sectree.getNode(parentid);
if (parentNode != null) {
sectree.importSubtree(parentNode, node, newid, this.getRefdocumentid());
} else {
throw new SiteTreeException(
"The parent node "
+ parentNode
+ " where the removed node shall be inserted not found");