Class UserNotificationManagerUtil
java.lang.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 booleanhasPermission(long classPK, String portletId, String selector, User user) 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
-
hasPermission
public static boolean hasPermission(long classPK, String portletId, String selector, User user) throws PortalException - Throws:
PortalException
-
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
-