List of usage examples for com.liferay.portal.kernel.model UserNotificationDeliveryConstants TYPE_PUSH
int TYPE_PUSH
To view the source code for com.liferay.portal.kernel.model UserNotificationDeliveryConstants TYPE_PUSH.
Click Source Link
From source file:com.liferay.microblogs.web.internal.notifications.MicroblogsReplyToRepliedUserNotificationDefinition.java
License:Open Source License
public MicroblogsReplyToRepliedUserNotificationDefinition() { super(MicroblogsPortletKeys.MICROBLOGS, 0, MicroblogsEntryConstants.NOTIFICATION_TYPE_REPLY_TO_REPLIED, "receive-a-notification-when-someone-comments-on-a-microblog-you-" + "commented-on"); addUserNotificationDeliveryType(new UserNotificationDeliveryType("mobile", UserNotificationDeliveryConstants.TYPE_PUSH, true, true)); addUserNotificationDeliveryType(new UserNotificationDeliveryType("website", UserNotificationDeliveryConstants.TYPE_WEBSITE, true, true)); }
From source file:com.liferay.microblogs.web.internal.notifications.MicroblogsReplyToTaggedUserNotificationDefinition.java
License:Open Source License
public MicroblogsReplyToTaggedUserNotificationDefinition() { super(MicroblogsPortletKeys.MICROBLOGS, 0, MicroblogsEntryConstants.NOTIFICATION_TYPE_REPLY_TO_TAGGED, "receive-a-notification-when-someone-comments-on-a-microblog-you-" + "are-tagged-in"); addUserNotificationDeliveryType(new UserNotificationDeliveryType("mobile", UserNotificationDeliveryConstants.TYPE_PUSH, true, true)); addUserNotificationDeliveryType(new UserNotificationDeliveryType("website", UserNotificationDeliveryConstants.TYPE_WEBSITE, true, true)); }
From source file:com.liferay.microblogs.web.internal.notifications.MicroblogsReplyUserNotificationDefinition.java
License:Open Source License
public MicroblogsReplyUserNotificationDefinition() { super(MicroblogsPortletKeys.MICROBLOGS, 0, MicroblogsEntryConstants.NOTIFICATION_TYPE_REPLY, "receive-a-notification-when-someone-comments-on-your-microblog"); addUserNotificationDeliveryType(new UserNotificationDeliveryType("mobile", UserNotificationDeliveryConstants.TYPE_PUSH, true, true)); addUserNotificationDeliveryType(new UserNotificationDeliveryType("website", UserNotificationDeliveryConstants.TYPE_WEBSITE, true, true)); }
From source file:com.liferay.microblogs.web.internal.notifications.MicroblogsTagUserNotificationDefinition.java
License:Open Source License
public MicroblogsTagUserNotificationDefinition() { super(MicroblogsPortletKeys.MICROBLOGS, 0, MicroblogsEntryConstants.NOTIFICATION_TYPE_TAG, "receive-a-notification-when-someone-tags-you-in-a-microblog"); addUserNotificationDeliveryType(new UserNotificationDeliveryType("mobile", UserNotificationDeliveryConstants.TYPE_PUSH, true, true)); addUserNotificationDeliveryType(new UserNotificationDeliveryType("website", UserNotificationDeliveryConstants.TYPE_WEBSITE, true, true)); }