public abstract class

ScopedSubscriptionListEditor

extends Object
java.lang.Object
   ↳ com.urbanairship.contacts.ScopedSubscriptionListEditor

Class Overview

Subscription list editor. See editSubscriptionLists().

Summary

Protected Constructors
ScopedSubscriptionListEditor(Clock clock)
Public Methods
void apply()
Apply the subscription list changes.
ScopedSubscriptionListEditor subscribe(Set<String> subscriptionListIds, Scope scope)
Subscribes from a set of lists.
ScopedSubscriptionListEditor subscribe(String subscriptionListId, Scope scope)
Subscribe to a list.
ScopedSubscriptionListEditor unsubscribe(String subscriptionListId, Scope scope)
Unsubscribe from a list.
ScopedSubscriptionListEditor unsubscribe(Set<String> subscriptionListIds, Scope scope)
Unsubscribes from a set of lists.
[Expand]
Inherited Methods
From class java.lang.Object

Protected Constructors

protected ScopedSubscriptionListEditor (Clock clock)

Public Methods

public void apply ()

Apply the subscription list changes.

public ScopedSubscriptionListEditor subscribe (Set<String> subscriptionListIds, Scope scope)

Subscribes from a set of lists.

Parameters
subscriptionListIds A Set of list IDs.
scope Defines the channel types that the change applies to.
Returns
  • The SubscriptionListEditor instance.

public ScopedSubscriptionListEditor subscribe (String subscriptionListId, Scope scope)

Subscribe to a list.

Parameters
subscriptionListId The subscription list ID.
scope Defines the channel types that the change applies to.
Returns
  • The SubscriptionListEditor instance.

public ScopedSubscriptionListEditor unsubscribe (String subscriptionListId, Scope scope)

Unsubscribe from a list.

Parameters
subscriptionListId The subscription list ID.
scope Defines the channel types that the change applies to.
Returns
  • The SubscriptionListEditor instance.

public ScopedSubscriptionListEditor unsubscribe (Set<String> subscriptionListIds, Scope scope)

Unsubscribes from a set of lists.

Parameters
subscriptionListIds A Set of list IDs.
scope Defines the channel types that the change applies to.
Returns
  • The SubscriptionListEditor instance.