code/model/entity/abstract.php
public function save()
    {
        if (!$this->isNew()) {
            $this->setStatus(self::STATUS_UPDATED);
        } else {
            $this->setStatus(self::STATUS_CREATED);
        }

        return false;
    }
public function save()
    {
        if (!$this->isNew()) {
            $this->setStatus(self::STATUS_UPDATED);
        } else {
            $this->setStatus(self::STATUS_CREATED);
        }

        return false;
    }
public function save ( ) { if ( ! $ this -> isNew ( ) ) { $ this -> setStatus ( self :: STATUS_UPDATED ) ; } else { $ this -> setStatus ( self :: STATUS_CREATED ) ; } return false ; }
Saves the entity to the data store

@return boolean  If successful return TRUE, otherwise FALSE
Saves the entity to the data store