if (workspaceNode != null && workspaceNode.isDeleted())
{
if (log.isDebugEnabled()) log.debug("Node " + fqn + " has been deleted in the workspace.");
if (undeleteIfNecessary)
{
workspaceNode.markAsDeleted(false);
// re-add to parent
WorkspaceNode parent = getOrCreateWorkspaceNode(fqn.getParent(), workspace, true);
parent.addChild(workspaceNode);
}
else