code: @Override
     public void delete(NodeData data) throws RepositoryException, UnsupportedOperationException,
        InvalidItemStateException, IllegalStateException
     {
        currentItem = data;
        try
        {
           setOperationType(TYPE_DELETE);
           super.delete(data);
        }
        finally
        {
           currentItem = null;
        }
     }
docs: {@inheritDoc}