Package tigase.xmpp.impl
Class PrivacyList
java.lang.Object
tigase.xmpp.impl.PrivacyList
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPrivacyList
(Function<tigase.xmpp.jid.JID, RosterElement> rosterElementGetter, tigase.xml.Element el) -
Method Summary
Modifier and TypeMethodDescriptionstatic PrivacyList
create
(Map<tigase.xmpp.jid.BareJID, RosterElement> roster, tigase.xml.Element el) static PrivacyList
create
(XMPPResourceConnection session, RosterAbstract rosterUtil, tigase.xml.Element el) Stream<tigase.xmpp.jid.JID>
getName()
boolean
isAllowed
(tigase.xmpp.jid.JID jid, PrivacyList.Item.Type type) boolean
isEmpty()
toString()
-
Field Details
-
ALLOW_ALL
-
-
Constructor Details
-
PrivacyList
public PrivacyList(Function<tigase.xmpp.jid.JID, RosterElement> rosterElementGetter, tigase.xml.Element el)
-
-
Method Details
-
create
public static PrivacyList create(Map<tigase.xmpp.jid.BareJID, RosterElement> roster, tigase.xml.Element el) -
create
public static PrivacyList create(XMPPResourceConnection session, RosterAbstract rosterUtil, tigase.xml.Element el) throws NotAuthorizedException, TigaseDBException -
getName
-
getBlockedJids
-
isAllowed
-
isEmpty
public boolean isEmpty() -
toString
-