public function save()
{
if (!$this->primaryKeyIsDefined()) {
throw new Exception("You have to set " . $this->getPrimaryKey() . " before calling save()!");
}
$this->setField("Id", $this->getField($this->getPrimaryKey()));
return $this->callRequest("save");
}