public function andIsNotDeleted()
    {
        return $this->andWhere($this->getAlias().'._state < '.$this->expr()->literal(Page::STATE_DELETED));
    }
public function andIsNotDeleted()
    {
        return $this->andWhere($this->getAlias().'._state < '.$this->expr()->literal(Page::STATE_DELETED));
    }
public function andIsNotDeleted ( ) { return $ this -> andWhere ( $ this -> getAlias ( ) . '._state < ' . $ this -> expr ( ) -> literal ( Page :: STATE_DELETED ) ) ; }
Add query part to select not deleted pages.

@return PageQueryBuilder
Add query part to select not deleted pages .