public void deletePrivacyLists(String username) {
        for (String listName : provider.getPrivacyLists(username).keySet()) {
            // Remove the list from the cache
            listsCache.remove(getCacheKey(username, listName));
            // Trigger event that a privacy list is being deleted
            for (PrivacyListEventListener listener : listeners) {
                try {
                    listener.privacyListDeleting(listName);
                } catch (Exception e) {
                    logger.warn("An exception occurred while dispatching a 'privacyListDeleting' event!", e);
                }
            }
        }
        // Delete user privacy lists from the DB
        provider.deletePrivacyLists(username);
    }
Deletes all privacy lists of a user. This may be necessary when a user is being
deleted from the system.

@param username the username of the list owner.
xmppserver/src/main/java/org/jivesoftware/openfire/privacy/PrivacyListManager.java