List<ItemState> deletes = new ArrayList<ItemState>();
boolean fireEvent = !isNew(itemData.getIdentifier());
NodeTypeManagerImpl ntManager = (NodeTypeManagerImpl)session.getWorkspace().getNodeTypeManager();
// if node mix:versionable vs will be removed from Item.remove method.
boolean checkRemoveChildVersionStorages = false;
if (itemData.isNode())
{