|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.benow.web.subscription.SubscriptionServiceImpl
public class SubscriptionServiceImpl
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.benow.java.spec.Markup |
|---|
org.benow.java.spec.Markup.ParamName, org.benow.java.spec.Markup.ReturnDescription |
| Constructor Summary | |
|---|---|
SubscriptionServiceImpl()
|
|
| Method Summary | |
|---|---|
java.util.List<Subscription> |
getSubscriptions()
Get all subscriptions of current user |
Subscription |
subscribe(Subscribable toSubscribeTo)
Subscribe to all types of notifications for the given object. |
Subscription |
subscribe(Subscribable toSubscribeTo,
Subscription.SubscriptionType type)
Subscribe current user to given object with given type |
void |
unsubscribe(Subscribable toUnsubscribeFrom)
Unsubscribe current user from given object |
void |
unsubscribeAll()
Unsubscribe current user from all objects |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SubscriptionServiceImpl()
| Method Detail |
|---|
public java.util.List<Subscription> getSubscriptions()
SubscriptionService
getSubscriptions in interface SubscriptionServicepublic Subscription subscribe(Subscribable toSubscribeTo)
SubscriptionService
subscribe in interface SubscriptionService
public Subscription subscribe(Subscribable toSubscribeTo,
Subscription.SubscriptionType type)
SubscriptionService
subscribe in interface SubscriptionService
public void unsubscribe(Subscribable toUnsubscribeFrom)
throws org.benow.repository.NoSuchObjectException
SubscriptionService
unsubscribe in interface SubscriptionServiceorg.benow.repository.NoSuchObjectExceptionpublic void unsubscribeAll()
SubscriptionService
unsubscribeAll in interface SubscriptionService
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||