Liferay 6.2.0

com.liferay.portal.kernel.notifications
Interface UserNotificationManager

All Known Implementing Classes:
UserNotificationManagerImpl

public interface UserNotificationManager


Method Summary
abstract  void addUserNotificationDefinition(String portletIf, UserNotificationDefinition userNotificationDefinition)
           
abstract  void addUserNotificationHandler(UserNotificationHandler userNotificationHandler)
           
abstract  void deleteUserNotificationDefinitions(String portletId)
           
abstract  void deleteUserNotificationHandler(UserNotificationHandler userNotificationHandler)
           
abstract  UserNotificationDefinition fetchUserNotificationDefinition(String portletId, long classNameId, int notificationType)
           
abstract  Map<String,List<UserNotificationDefinition>> getUserNotificationDefinitions()
           
abstract  Map<String,Map<String,UserNotificationHandler>> getUserNotificationHandlers()
           
abstract  UserNotificationFeedEntry interpret(String selector, UserNotificationEvent userNotificationEvent, ServiceContext serviceContext)
           
abstract  boolean isDeliver(long userId, String portletId, long classNameId, int notificationType, int deliveryType)
           
abstract  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.0