Package | Description |
---|---|
rocks.xmpp.extensions.privacy.model |
Provides XML schema implementations of XEP-0016: Privacy Lists.
|
Modifier and Type | Method and Description |
---|---|
PrivacyRule |
PrivacyRule.appliedToInboundPresence()
Creates a new privacy rule, which is applied to inbound presence notifications.
|
PrivacyRule |
PrivacyRule.appliedToIQs()
Creates a new privacy rule, which is applied to IQ stanzas.
|
PrivacyRule |
PrivacyRule.appliedToMessages()
Creates a new privacy rule, which is applied to inbound messages.
|
PrivacyRule |
PrivacyRule.appliedToOutboundPresence()
Creates a new privacy rule, which is applied to outbound presence notifications.
|
static PrivacyRule |
PrivacyRule.blockAllCommunicationWith(Jid entity,
long order)
Creates a rule, which blocks all communication from and to another entity.
|
static PrivacyRule |
PrivacyRule.blockAllCommunicationWithEntitiesWithSubscription(SubscriptionState.Subscription subscription,
long order)
Creates a rule, which blocks all communication from and to any entities in the specified roster group.
|
static PrivacyRule |
PrivacyRule.blockAllCommunicationWithRosterGroup(java.lang.String rosterGroup,
long order)
Creates a rule, which blocks all communication from and to any entities in the specified roster group.
|
static PrivacyRule |
PrivacyRule.blockInboundPresence(long order)
Creates a rule, which blocks all inbound presence notifications.
|
static PrivacyRule |
PrivacyRule.blockIQFrom(Jid entity,
long order)
Creates a rule, which blocks all inbound IQ stanzas from another entity.
|
static PrivacyRule |
PrivacyRule.blockIQFromEntitiesWithSubscription(SubscriptionState.Subscription subscription,
long order)
Creates a rule, which blocks all inbound IQ stanzas from entities with the given subscription type.
|
static PrivacyRule |
PrivacyRule.blockIQFromRosterGroup(java.lang.String rosterGroup,
long order)
Creates a rule, which blocks all inbound IQ stanzas from contacts, which are in the specified roster group.
|
static PrivacyRule |
PrivacyRule.blockMessagesFrom(Jid entity,
long order)
Creates a rule, which blocks all inbound messages from another entity.
|
static PrivacyRule |
PrivacyRule.blockMessagesFromEntitiesWithSubscription(SubscriptionState.Subscription subscription,
long order)
Creates a rule, which blocks all inbound messages from entities with the given subscription type.
|
static PrivacyRule |
PrivacyRule.blockMessagesFromRosterGroup(java.lang.String rosterGroup,
long order)
Creates a rule, which blocks all inbound messages from contacts, which are in the specified roster group.
|
static PrivacyRule |
PrivacyRule.blockOutboundPresence(long order)
Creates a rule, which blocks all outbound presence notifications.
|
static PrivacyRule |
PrivacyRule.blockPresenceFrom(Jid entity,
long order)
Creates a rule, which blocks all inbound presence notifications from another entity.
|
static PrivacyRule |
PrivacyRule.blockPresenceFromEntitiesWithSubscription(SubscriptionState.Subscription subscription,
long order)
Creates a rule, which blocks all inbound presence notifications from entities with the given subscription type.
|
static PrivacyRule |
PrivacyRule.blockPresenceFromRosterGroup(java.lang.String rosterGroup,
long order)
Creates a rule, which blocks all inbound presence notifications from contacts, which are in the specified roster group.
|
static PrivacyRule |
PrivacyRule.blockPresenceTo(Jid entity,
long order)
Creates a rule, which blocks all outbound presence notifications to another entity.
|
static PrivacyRule |
PrivacyRule.blockPresenceToEntitiesWithSubscription(SubscriptionState.Subscription subscription,
long order)
Creates a rule, which blocks all outbound presence notifications to entities with the given subscription type.
|
static PrivacyRule |
PrivacyRule.blockPresenceToRosterGroup(java.lang.String rosterGroup,
long order)
Creates a rule, which blocks all outbound presence notifications to contacts, which are in the specified roster group.
|
static PrivacyRule |
PrivacyRule.of(Jid jid,
PrivacyRule.Action action,
long order)
Creates a privacy rule of type ‘jid’.
|
static PrivacyRule |
PrivacyRule.of(PrivacyRule.Action action,
long order)
Creates a privacy list item, which allows or blocks everything.
|
static PrivacyRule |
PrivacyRule.of(java.lang.String group,
PrivacyRule.Action action,
long order)
Creates a privacy rule of type ‘group’.
|
static PrivacyRule |
PrivacyRule.of(SubscriptionState.Subscription subscription,
PrivacyRule.Action action,
long order)
Creates a privacy rule of type ‘subscription’.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<PrivacyRule> |
PrivacyList.getPrivacyRules()
Gets the privacy rules.
|
Modifier and Type | Method and Description |
---|---|
int |
PrivacyRule.compareTo(PrivacyRule o)
Compares this rule with another rule by comparing their order.
|
Constructor and Description |
---|
PrivacyList(java.lang.String name,
java.util.Collection<PrivacyRule> items)
Creates a privacy list with rules.
|
Copyright © 2014–2019 XMPP.rocks. All rights reserved.