public function filterByNotificationRecipient($notificationRecipient = null, $comparison = null)
    {
        if (null === $comparison) {
            if (is_array($notificationRecipient)) {
                $comparison = Criteria::IN;
            } elseif (preg_match('/[\%\*]/', $notificationRecipient)) {
                $notificationRecipient = str_replace('*', '%', $notificationRecipient);
                $comparison = Criteria::LIKE;
            }
        }

        return $this->addUsingAlias(RemoteAppPeer::NOTIFICATION_RECIPIENT, $notificationRecipient, $comparison);
    }