@Throws(Exception::class) protected fun removeNode(id: Int) { val idx: Int var node: FolderTokenDocTreeNode? = null idx = findIndexById(id) if (idx == -1) { throw IeciTdException(FolderBaseError.EC_NOT_FOUND, FolderBaseError.EM_NOT_FOUND) } node = m_nodes.get(idx) as FolderTokenDocTreeNode if (node.isNew()) m_nodes.remove(idx) else node.setEditFlag(FolderEditFlag.REMOVE) }
Elimina de la lista de nodos el nodo con el id especificado