Class UserNotificationDefinition

Object
com.liferay.portal.kernel.notifications.UserNotificationDefinition

public class UserNotificationDefinition extends Object
Author:
Jonathan Lee
  • Field Details

    • NOTIFICATION_TYPE_ADD_ENTRY

      public static final int NOTIFICATION_TYPE_ADD_ENTRY
      See Also:
    • NOTIFICATION_TYPE_EXPIRED_ENTRY

      public static final int NOTIFICATION_TYPE_EXPIRED_ENTRY
      See Also:
    • NOTIFICATION_TYPE_REVIEW_ENTRY

      public static final int NOTIFICATION_TYPE_REVIEW_ENTRY
      See Also:
    • NOTIFICATION_TYPE_UPDATE_ENTRY

      public static final int NOTIFICATION_TYPE_UPDATE_ENTRY
      See Also:
  • Constructor Details

    • UserNotificationDefinition

      public UserNotificationDefinition(String portletId, long classNameId, int notificationType, String description)
  • Method Details

    • addUserNotificationDeliveryType

      public void addUserNotificationDeliveryType(UserNotificationDeliveryType userNotificationDeliveryType)
    • getClassNameId

      public long getClassNameId()
    • getDescription

      public String getDescription(Locale locale)
    • getNotificationType

      public int getNotificationType()
    • getPortletId

      public String getPortletId()
    • getUserNotificationDeliveryType

      public UserNotificationDeliveryType getUserNotificationDeliveryType(int deliveryType)
    • getUserNotificationDeliveryTypes

      public Map<Integer,UserNotificationDeliveryType> getUserNotificationDeliveryTypes()
    • getResourceBundle

      protected ResourceBundle getResourceBundle(Locale locale)