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