public function lock($entity, $lockMode, $lockVersion = null) { return $this->__call('lock', array($lockMode, $lockVersion)); }