Class UserNotificationManagerUtil
Object
com.liferay.portal.kernel.notifications.UserNotificationManagerUtil
- Author:
- Jonathan Lee, Roberto Díaz
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UserNotificationDefinitionfetchUserNotificationDefinition(String portletId, long classNameId, int notificationType) static Map<String,List<UserNotificationDefinition>> static Map<String,List<UserNotificationDefinition>> static Map<String,Map<String, UserNotificationHandler>> static UserNotificationFeedEntryinterpret(String selector, UserNotificationEvent userNotificationEvent, ServiceContext serviceContext) static booleanstatic booleanisDeliver(long userId, String selector, String portletId, long classNameId, int notificationType, int deliveryType, ServiceContext serviceContext)
-
Constructor Details
-
UserNotificationManagerUtil
public UserNotificationManagerUtil()
-
-
Method Details
-
fetchUserNotificationDefinition
public static UserNotificationDefinition fetchUserNotificationDefinition(String portletId, long classNameId, int notificationType) -
getActiveUserNotificationDefinitions
-
getUserNotificationDefinitions
-
getUserNotificationHandlers
-
interpret
public static UserNotificationFeedEntry interpret(String selector, UserNotificationEvent userNotificationEvent, ServiceContext serviceContext) throws PortalException - Throws:
PortalException
-
isDeliver
public static boolean isDeliver(long userId, String portletId, long classNameId, int notificationType, int deliveryType) throws PortalException - Throws:
PortalException
-
isDeliver
public static boolean isDeliver(long userId, String selector, String portletId, long classNameId, int notificationType, int deliveryType, ServiceContext serviceContext) throws PortalException - Throws:
PortalException
-