protected function getPrimaryKey() { throw new Exception("You have to define method getPrimaryKey() in the extended class!"); }