public class PrivacyList extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
PrivacyList.Item |
Modifier and Type | Field and Description |
---|---|
static PrivacyList |
ALLOW_ALL |
Constructor and Description |
---|
PrivacyList(Function<JID,RosterElement> rosterElementGetter,
Element el) |
Modifier and Type | Method and Description |
---|---|
static PrivacyList |
create(Map<BareJID,RosterElement> roster,
Element el) |
static PrivacyList |
create(XMPPResourceConnection session,
RosterAbstract rosterUtil,
Element el) |
Stream<JID> |
getBlockedJids() |
String |
getName() |
boolean |
isAllowed(JID jid,
PrivacyList.Item.Type type) |
boolean |
isEmpty() |
String |
toString() |
public static final PrivacyList ALLOW_ALL
public PrivacyList(Function<JID,RosterElement> rosterElementGetter, Element el)
public static PrivacyList create(Map<BareJID,RosterElement> roster, Element el)
public static PrivacyList create(XMPPResourceConnection session, RosterAbstract rosterUtil, Element el) throws NotAuthorizedException, TigaseDBException
public String getName()
public boolean isAllowed(JID jid, PrivacyList.Item.Type type)
public boolean isEmpty()
Copyright © 2004–2020 "Tigase, Inc.". All rights reserved.