try { ownerDocument.broker.saveCollection(ownerDocument.getCollection()); } catch (PermissionDeniedException e) { throw new DOMException(DOMException.INVALID_ACCESS_ERR, e.getMessage()); }
	public Node appendChildren(NodeList nodes) throws DOMException {		DocumentImpl prevDoc = new DocumentImpl(ownerDocument);		Node node = null;		if (children == 0)			node = appendChildren(firstChildID(), this, nodes, true);		else {			long last = lastChildID();			node =				appendChildren(					last + 1,					getLastNode((NodeImpl) ownerDocument.getNode(last)),					nodes,					true);		}		ownerDocument.broker.update(this);		ownerDocument.broker.reindex(prevDoc, ownerDocument, null);		try {			ownerDocument.broker.saveCollection(ownerDocument.getCollection());		} catch (PermissionDeniedException e) {			throw new DOMException(DOMException.INVALID_ACCESS_ERR, e.getMessage());		}		return node;	}