public function setUpdateAction($updateAction)
    {
        $updateAction = strtoupper($updateAction);
        if (!in_array($updateAction, $this->getAvailableActions())) {
            throw new \InvalidArgumentException(sprintf('Action %s does not exist.', $updateAction));
        }
        $this->updateAction = $updateAction;
    }