public class UserNotificationDefinition
extends Object
Modifier and Type | Field and Description |
---|---|
static int |
NOTIFICATION_TYPE_ADD_ENTRY |
static int |
NOTIFICATION_TYPE_EXPIRED_ENTRY |
static int |
NOTIFICATION_TYPE_REVIEW_ENTRY |
static int |
NOTIFICATION_TYPE_UPDATE_ENTRY |
Constructor and Description |
---|
UserNotificationDefinition(String portletId,
long classNameId,
int notificationType,
String description) |
Modifier and Type | Method and Description |
---|---|
void |
addUserNotificationDeliveryType(UserNotificationDeliveryType userNotificationDeliveryType) |
long |
getClassNameId() |
String |
getDescription(Locale locale) |
int |
getNotificationType() |
String |
getPortletId() |
protected ResourceBundle |
getResourceBundle(Locale locale) |
UserNotificationDeliveryType |
getUserNotificationDeliveryType(int deliveryType) |
Map<Integer,UserNotificationDeliveryType> |
getUserNotificationDeliveryTypes() |
public static final int NOTIFICATION_TYPE_ADD_ENTRY
public static final int NOTIFICATION_TYPE_EXPIRED_ENTRY
public static final int NOTIFICATION_TYPE_REVIEW_ENTRY
public static final int NOTIFICATION_TYPE_UPDATE_ENTRY
public UserNotificationDefinition(String portletId, long classNameId, int notificationType, String description)
public void addUserNotificationDeliveryType(UserNotificationDeliveryType userNotificationDeliveryType)
public long getClassNameId()
public String getDescription(Locale locale)
public int getNotificationType()
public String getPortletId()
public UserNotificationDeliveryType getUserNotificationDeliveryType(int deliveryType)
public Map<Integer,UserNotificationDeliveryType> getUserNotificationDeliveryTypes()
protected ResourceBundle getResourceBundle(Locale locale)