
com.liferay.notification.service.impl.NotificationRecipientSettingLocalServiceImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.notification.service
Show all versions of com.liferay.notification.service
Liferay Notification Service
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.notification.service.impl;
import com.liferay.notification.model.NotificationRecipientSetting;
import com.liferay.notification.service.base.NotificationRecipientSettingLocalServiceBaseImpl;
import com.liferay.portal.aop.AopService;
import java.util.List;
import org.osgi.service.component.annotations.Component;
/**
* @author Feliphe Marinho
*/
@Component(
property = "model.class.name=com.liferay.notification.model.NotificationRecipientSetting",
service = AopService.class
)
public class NotificationRecipientSettingLocalServiceImpl
extends NotificationRecipientSettingLocalServiceBaseImpl {
@Override
public NotificationRecipientSetting fetchNotificationRecipientSetting(
long notificationRecipientId, String name) {
return notificationRecipientSettingPersistence.fetchByNRI_N(
notificationRecipientId, name);
}
@Override
public List getNotificationRecipientSettings(
long notificationRecipientId) {
return notificationRecipientSettingPersistence.
findByNotificationRecipientId(notificationRecipientId);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy