com.liferay.portal.kernel.notifications
Interface UserNotificationManager
public interface UserNotificationManager
Method Summary |
void |
addUserNotificationDefinition(String portletIf,
UserNotificationDefinition userNotificationDefinition)
|
void |
addUserNotificationHandler(UserNotificationHandler userNotificationHandler)
|
void |
deleteUserNotificationDefinitions(String portletId)
|
void |
deleteUserNotificationHandler(UserNotificationHandler userNotificationHandler)
|
UserNotificationDefinition |
fetchUserNotificationDefinition(String portletId,
long classNameId,
int notificationType)
|
Map<String,List<UserNotificationDefinition>> |
getUserNotificationDefinitions()
|
Map<String,Map<String,UserNotificationHandler>> |
getUserNotificationHandlers()
|
UserNotificationFeedEntry |
interpret(String selector,
UserNotificationEvent userNotificationEvent,
ServiceContext serviceContext)
|
boolean |
isDeliver(long userId,
String portletId,
long classNameId,
int notificationType,
int deliveryType)
|
boolean |
isDeliver(long userId,
String selector,
String portletId,
long classNameId,
int notificationType,
int deliveryType,
ServiceContext serviceContext)
|
addUserNotificationDefinition
void addUserNotificationDefinition(String portletIf,
UserNotificationDefinition userNotificationDefinition)
addUserNotificationHandler
void addUserNotificationHandler(UserNotificationHandler userNotificationHandler)
deleteUserNotificationDefinitions
void deleteUserNotificationDefinitions(String portletId)
deleteUserNotificationHandler
void deleteUserNotificationHandler(UserNotificationHandler userNotificationHandler)
fetchUserNotificationDefinition
UserNotificationDefinition fetchUserNotificationDefinition(String portletId,
long classNameId,
int notificationType)
getUserNotificationDefinitions
Map<String,List<UserNotificationDefinition>> getUserNotificationDefinitions()
getUserNotificationHandlers
Map<String,Map<String,UserNotificationHandler>> getUserNotificationHandlers()
interpret
UserNotificationFeedEntry interpret(String selector,
UserNotificationEvent userNotificationEvent,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
isDeliver
boolean isDeliver(long userId,
String portletId,
long classNameId,
int notificationType,
int deliveryType)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
isDeliver
boolean isDeliver(long userId,
String selector,
String portletId,
long classNameId,
int notificationType,
int deliveryType,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException