public class UserNotificationManagerUtil
extends Object
Constructor and Description |
---|
UserNotificationManagerUtil() |
Modifier and Type | Method and Description |
---|---|
static UserNotificationDefinition |
fetchUserNotificationDefinition(String portletId,
long classNameId,
int notificationType) |
static Map<String,List<UserNotificationDefinition>> |
getActiveUserNotificationDefinitions() |
static Map<String,List<UserNotificationDefinition>> |
getUserNotificationDefinitions() |
static Map<String,Map<String,UserNotificationHandler>> |
getUserNotificationHandlers() |
static UserNotificationFeedEntry |
interpret(String selector,
UserNotificationEvent userNotificationEvent,
ServiceContext serviceContext) |
static boolean |
isDeliver(long userId,
String portletId,
long classNameId,
int notificationType,
int deliveryType) |
static boolean |
isDeliver(long userId,
String selector,
String portletId,
long classNameId,
int notificationType,
int deliveryType,
ServiceContext serviceContext) |
public static UserNotificationDefinition fetchUserNotificationDefinition(String portletId, long classNameId, int notificationType)
public static Map<String,List<UserNotificationDefinition>> getActiveUserNotificationDefinitions()
public static Map<String,List<UserNotificationDefinition>> getUserNotificationDefinitions()
public static Map<String,Map<String,UserNotificationHandler>> getUserNotificationHandlers()
public static UserNotificationFeedEntry interpret(String selector, UserNotificationEvent userNotificationEvent, ServiceContext serviceContext) throws PortalException
PortalException
public static boolean isDeliver(long userId, String portletId, long classNameId, int notificationType, int deliveryType) throws PortalException
PortalException
public static boolean isDeliver(long userId, String selector, String portletId, long classNameId, int notificationType, int deliveryType, ServiceContext serviceContext) throws PortalException
PortalException