function updateState($user) { parent::updateState($user, $this->table, DB::USER_ID); }
function updateState($post) { parent::updateState($post, $this->table, DB::POST_ID); }
function updateState($comment) { parent::updateState($comment, $this->table, DB::COMMENT_ID); }
function updateState($resource) { parent::updateState($resource, $this->table, DB::RESOURCE_ID); }