class SubscriptionDelegate {

    public Subscription getSubscription(NotificationSubscriptionContext subscriptionContext) {
        Publisher publisher = getPublisher(subscriptionContext);
        Subscriber subscriber = getSubscriber(subscriptionContext.getIdentity());
        return subscriptionDao.getSubscription(subscriber, publisher);
    }

}