source/Core/Dao/ApplicationServerDao.php
public function save($appServer)
    {
        $id = $appServer->getId();
        if ($this->findAppServer($id)) {
            $this->update($appServer);
            unset($this->appServer[$id]);
        } else {
            $this->insert($appServer);
        }
    }
public function save($appServer)
    {
        $id = $appServer->getId();
        if ($this->findAppServer($id)) {
            $this->update($appServer);
            unset($this->appServer[$id]);
        } else {
            $this->insert($appServer);
        }
    }
public function save ( $ appServer ) { $ id = $ appServer -> getId ( ) ; if ( $ this -> findAppServer ( $ id ) ) { $ this -> update ( $ appServer ) ; unset ( $ this -> appServer [ $ id ] ) ; } else { $ this -> insert ( $ appServer ) ; } }
Updates or insert the given entity.

@param \OxidEsales\Eshop\Core\DataObject\ApplicationServer $appServer
Updates or insert the given entity .