public abstract class

SubscriptionListEditor

extends Object
java.lang.Object
   ↳ com.urbanairship.channel.SubscriptionListEditor

Class Overview

Subscription list editor. See editSubscriptionLists().

Summary

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

Protected Constructors

protected SubscriptionListEditor (Clock clock)

Public Methods

public void apply ()

Apply the subscription list changes.

public SubscriptionListEditor subscribe (String subscriptionListId)

Subscribe to a list.

Parameters
subscriptionListId The ID of the list to subscribe to.
Returns
  • The SubscriptionListEditor instance.

public SubscriptionListEditor subscribe (Set<String> subscriptionListIds)

Subscribe to a set of lists.

Parameters
subscriptionListIds A Set of list IDs to subscribe to.
Returns
  • The SubscriptionListEditor instance.

public SubscriptionListEditor unsubscribe (Set<String> subscriptionListIds)

Unsubscribe from a set of lists.

Parameters
subscriptionListIds A Set of list IDs to unsubscribe from.
Returns
  • The SubscriptionListEditor instance.

public SubscriptionListEditor unsubscribe (String subscriptionListId)

Unsubscribe from a list.

Parameters
subscriptionListId The ID of the list to unsubscribe from.
Returns
  • The SubscriptionListEditor instance.