class SubscriptionDelegate {

    public void deleteSubscription(NotificationSubscriptionContext subscriptionContext) {
        Publisher publisher = getPublisher(subscriptionContext);
        Subscriber subscriber = getSubscriber(subscriptionContext.getIdentity());

        Subscription subscription = subscriptionDao.getSubscription(subscriber, publisher);
        subscriptionDao.deleteSubscription(subscription);
    }

}