|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SubscriptionService
| 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 |
| Method Summary | |
|---|---|
java.util.List<Subscription> |
getSubscriptions()
Get all subscriptions of current user |
Subscription |
subscribe(Subscribable obj)
Subscribe to all types of notifications for the given object. |
Subscription |
subscribe(Subscribable obj,
Subscription.SubscriptionType type)
Subscribe current user to given object with given type |
void |
unsubscribe(Subscribable obj)
Unsubscribe current user from given object |
void |
unsubscribeAll()
Unsubscribe current user from all objects |
| Method Detail |
|---|
Subscription subscribe(Subscribable obj)
toSubscribeTo -
Subscription subscribe(Subscribable obj,
Subscription.SubscriptionType type)
toSubscribeTo - type -
void unsubscribe(Subscribable obj)
throws org.benow.repository.NoSuchObjectException
toUnsubscribeFrom -
org.benow.repository.NoSuchObjectExceptionvoid unsubscribeAll()
java.util.List<Subscription> getSubscriptions()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||