Liferay 6.2-ce-ga5

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)
           
 

Method Detail

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

Liferay 6.2-ce-ga5