private void removeSubscriptions(JID owner) {
        for (NodeSubscription subscription : getSubscriptions(owner)) {
            cancelSubscription(subscription);
        }
    }
Removes all subscriptions owned by the specified entity.

@param owner the owner of the subscriptions to be cancelled.
xmppserver/src/main/java/org/jivesoftware/openfire/pubsub/Node.java