public function update($srcWorkspace) { $this->checkState(); if ($this->isNew()) { //no node in workspace return; } $this->getSession()->getTransport()->updateNode($this, $srcWorkspace); $this->setDirty(); $this->setChildrenDirty(); }