public function andStateIsNotIn($states)
    {
        if (false === is_array($states)) {
            $states = array($states);
        }

        $suffix = $this->getSuffix();

        return $this->andWhere($this->getAlias().'._state NOT IN (:states'.$suffix.')')
                        ->setParameter('states'.$suffix, $states);
    }