public class UserSubscriptionService extends java.lang.Object implements IUserSubscription
Constructor and Description |
---|
UserSubscriptionService(BmContext context,
Container container) |
Modifier and Type | Method and Description |
---|---|
java.util.List<ContainerDescriptor> |
listSubscriptions(java.lang.String subject,
java.lang.String type)
List subscribed containers
|
void |
subscribe(java.lang.String subject,
java.util.List<ContainerSubscription> subscriptions)
Subscribe current User to a list of containers
|
void |
unsubscribe(java.lang.String subject,
java.util.List<java.lang.String> containers)
Unsubscribe current User from a list of containers
|
public java.util.List<ContainerDescriptor> listSubscriptions(java.lang.String subject, java.lang.String type) throws ServerFault
IUserSubscription
listSubscriptions
in interface IUserSubscription
ServerFault
public void subscribe(java.lang.String subject, java.util.List<ContainerSubscription> subscriptions) throws ServerFault
IUserSubscription
subscribe
in interface IUserSubscription
ServerFault
public void unsubscribe(java.lang.String subject, java.util.List<java.lang.String> containers) throws ServerFault
IUserSubscription
unsubscribe
in interface IUserSubscription
ServerFault
Copyright © 2021. All Rights Reserved.