public interface SubscriptionManager
Modifier and Type | Method and Description |
---|---|
java.util.List<Subscription> |
getSubscriptions(ResourceResolver resolver,
java.lang.String ownerId,
Direction direction)
Deprecated.
|
java.util.List<Subscription> |
getSubscriptions(ResourceResolver resolver,
java.lang.String subTypeId,
int startIndex,
int size)
Deprecated.
|
java.util.List<Subscription> |
getSubscriptions(ResourceResolver resolver,
java.lang.String subscribeTo,
java.lang.String owner,
java.lang.String... types)
Gets subscription objects for a target and owner combination.
|
java.util.List<Subscription> |
getSubscriptions(ResourceResolver resolver,
java.lang.String ownerId,
SubscriptionType subscriptionType,
Direction direction)
Gets subscriptions for the specified owner.
|
java.util.List<Subscription> |
getSubscriptions(ResourceResolver resolver,
java.lang.String subTypeId,
SubscriptionType subscriptionType,
int startIndex,
int size)
Get the subscription of the specified subTypeId and subscriptionType
|
java.util.List<Subscription> |
getSubscriptions(ResourceResolver resolver,
java.lang.String subTypeId,
UgcFilter filter,
int startIndex,
int size)
Deprecated.
|
java.util.List<Subscription> |
getSubscriptions(ResourceResolver resolver,
java.lang.String subTypeId,
UgcFilter filter,
SubscriptionType subscriptionType,
int startIndex,
int size)
Get the subscription of the specified subTypeId, the specified filter, and subscriptionType
|
@CheckForNull java.util.List<Subscription> getSubscriptions(ResourceResolver resolver, java.lang.String subscribeTo, java.lang.String owner, java.lang.String... types)
resolver
- the resolver to use to read the subscriptionsubscribeTo
- the target of the subscriptionowner
- the owner of this particular subscriptiontypes
- String...@Nonnull @Deprecated java.util.List<Subscription> getSubscriptions(ResourceResolver resolver, java.lang.String ownerId, Direction direction)
getSubscriptions(ResourceResolver, String, SubscriptionType, Direction)
resolver
- the resolver to use to read the subscriptionsownerId
- a path to the owner of the subscriptiondirection
- direction of the relationship@Nonnull java.util.List<Subscription> getSubscriptions(ResourceResolver resolver, java.lang.String ownerId, SubscriptionType subscriptionType, Direction direction)
resolver
- the resolver to use to read the subscriptionsownerId
- a path to the owner of the subscriptionsubscriptionType
- the type of subscriptiondirection
- direction of the relationship@Nonnull @Deprecated java.util.List<Subscription> getSubscriptions(ResourceResolver resolver, java.lang.String subTypeId, int startIndex, int size)
getSubscriptions(ResourceResolver, String, SubscriptionType, int, int)
resolver
- the resolver to be used in the querysubTypeId
- the sub type id, such as RESOURCE or USERstartIndex
- the start indexsize
- the number of element to be retrievedjava.util.List<Subscription> getSubscriptions(ResourceResolver resolver, java.lang.String subTypeId, SubscriptionType subscriptionType, int startIndex, int size)
resolver
- the resolver to be used in the querysubTypeId
- the sub type id, such as RESOURCE or USERsubscriptionType
- the subscription type, such as SUBSCRIPTIONS or NOTIFICATIONSstartIndex
- the start indexsize
- the number of element to be retrievedjava.util.List<Subscription> getSubscriptions(ResourceResolver resolver, java.lang.String subTypeId, UgcFilter filter, int startIndex, int size)
getSubscriptions(ResourceResolver, String, UgcFilter, SubscriptionType, int, int)
resolver
- the resolver to be used in the querysubTypeId
- the sub type id, such as RESOURCE or USERfilter
- UgcFilterstartIndex
- the start indexsize
- the number of element to be retrievedjava.util.List<Subscription> getSubscriptions(ResourceResolver resolver, java.lang.String subTypeId, UgcFilter filter, SubscriptionType subscriptionType, int startIndex, int size)
resolver
- the resolver to be used in the querysubTypeId
- the sub type id, such as RESOURCE or USERsubscriptionType
- the subscription type, such as SUBSCRIPTIONS or NOTIFICATIONSstartIndex
- the start indexfilter
- UgcFiltersize
- the number of element to be retrievedCopyright © 2010 - 2020 Adobe. All Rights Reserved