public interface NotificationService
| Modifier and Type | Field and Description |
|---|---|
static String |
DAILY |
static String |
INSTANT |
static String |
WEEKLY |
| Modifier and Type | Method and Description |
|---|---|
void |
changeSubscription(org.craftercms.profile.api.Profile p,
String threadId,
String frequency) |
List<Map> |
getUserSubscriptions() |
boolean |
isBeenWatch(String threadId,
String profileId) |
void |
notify(String type) |
void |
subscribeUser(org.craftercms.profile.api.Profile profile,
String threadId,
String type) |
void |
unSubscribeUser(String userId,
String threadId) |
static final String WEEKLY
static final String DAILY
static final String INSTANT
void subscribeUser(org.craftercms.profile.api.Profile profile,
String threadId,
String type)
throws NotificationException
NotificationExceptionvoid notify(String type)
void unSubscribeUser(String userId, String threadId) throws NotificationException
NotificationExceptionboolean isBeenWatch(String threadId, String profileId) throws NotificationException
NotificationExceptionList<Map> getUserSubscriptions() throws SocialException
SocialExceptionvoid changeSubscription(org.craftercms.profile.api.Profile p,
String threadId,
String frequency)
throws NotificationException
NotificationExceptionCopyright © 2019 CrafterCMS. All Rights Reserved.