
com.liferay.object.web.internal.notifications.ObjectUserNotificationsDefinition Maven / Gradle / Ivy
The newest version!
/**
* SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
* SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
*/
package com.liferay.object.web.internal.notifications;
import com.liferay.portal.kernel.model.UserNotificationDeliveryConstants;
import com.liferay.portal.kernel.notifications.UserNotificationDefinition;
import com.liferay.portal.kernel.notifications.UserNotificationDeliveryType;
/**
* @author Feliphe Marinho
*/
public class ObjectUserNotificationsDefinition
extends UserNotificationDefinition {
public ObjectUserNotificationsDefinition(
String portletId, long classNameId, int notificationType) {
super(portletId, classNameId, notificationType, "description");
addUserNotificationDeliveryType(
new UserNotificationDeliveryType(
"website", UserNotificationDeliveryConstants.TYPE_WEBSITE, true,
true));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy