public function save(Default_Model_Expectation $expectation)
 {
     $data = array('resume_id' => $expectation->getResumeId(), 'estimated_salary_to' => $expectation->getEstimatedSalaryTo(), 'estimated_salary_from' => $expectation->getEstimatedSalaryFrom(), 'current_salary' => $expectation->getCurrentSalary(), 'note' => $expectation->getNote());
     if (null == ($id = $expectation->getResExpectationId())) {
         return $this->getDbTable()->insert($data);
     } else {
         $this->getDbTable()->update($data, array('res_expectation_id = ?' => $id));
         return $id;
     }
 }