Class PrivacyListManager

  • All Implemented Interfaces:
    ExtensionProtocol, IQHandler

    public final class PrivacyListManager
    extends AbstractIQHandler
    implements ExtensionProtocol
    This class manages privacy lists, which allow users to block communications from other users as described in XEP-0016: Privacy Lists.

    2. Protocol

    Server-side privacy lists enable successful completion of the following use cases:

    • Retrieving one's privacy lists.
    • Adding, removing, and editing one's privacy lists.
    • Setting, changing, or declining active lists.
    • Setting, changing, or declining the default list (i.e., the list that is active by default).
    • Allowing or blocking messages based on JID, group, or subscription type (or globally).
    • Allowing or blocking inbound presence notifications based on JID, group or subscription type (or globally).
    • Allowing or blocking outbound presence notifications based on JID, group or subscription type (or globally).
    • Allowing or blocking IQ stanzas based on JID, group, or subscription type (or globally).
    • Allowing or blocking all communications based on JID, group, or subscription type (or globally).