Liferay 7.0-ce-b4

com.liferay.portal.kernel.notifications
Class UserNotificationDefinition

java.lang.Object
  extended by com.liferay.portal.kernel.notifications.UserNotificationDefinition

public class UserNotificationDefinition
extends Object


Field Summary
static int NOTIFICATION_TYPE_ADD_ENTRY
           
static int NOTIFICATION_TYPE_UPDATE_ENTRY
           
 
Constructor Summary
UserNotificationDefinition(String portletId, long classNameId, int notificationType, String description)
           
 
Method Summary
 void addUserNotificationDeliveryType(UserNotificationDeliveryType userNotificationDeliveryType)
           
 long getClassNameId()
           
 String getDescription(Locale locale)
           
 int getNotificationType()
           
 String getPortletId()
           
 UserNotificationDeliveryType getUserNotificationDeliveryType(int deliveryType)
           
 Map<Integer,UserNotificationDeliveryType> getUserNotificationDeliveryTypes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NOTIFICATION_TYPE_ADD_ENTRY

public static final int NOTIFICATION_TYPE_ADD_ENTRY
See Also:
Constant Field Values

NOTIFICATION_TYPE_UPDATE_ENTRY

public static final int NOTIFICATION_TYPE_UPDATE_ENTRY
See Also:
Constant Field Values
Constructor Detail

UserNotificationDefinition

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

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()

Liferay 7.0-ce-b4