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<ContainerSubscriptionDescriptor> |
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
|
java.util.List<java.lang.String> |
subscribers(java.lang.String containerUid)
Returns of list of subscribers to a given container
|
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<ContainerSubscriptionDescriptor> 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
public java.util.List<java.lang.String> subscribers(java.lang.String containerUid)
IUserSubscription
subscribers
in interface IUserSubscription
BaseDirEntry.entryUid
)Copyright © 2021. All Rights Reserved.