public class NotificationTemplateServiceUtil
extends java.lang.Object
com.liferay.notification.service.impl.NotificationTemplateServiceImpl
and is an
access point for service operations in application layer code running on a
remote server. Methods of this service are expected to have security checks
based on the propagated JAAS credentials because this service can be
accessed remotely.NotificationTemplateService
Constructor and Description |
---|
NotificationTemplateServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static NotificationTemplate |
addNotificationTemplate(NotificationContext notificationContext) |
static NotificationTemplate |
deleteNotificationTemplate(long notificationTemplateId) |
static NotificationTemplate |
deleteNotificationTemplate(NotificationTemplate notificationTemplate) |
static NotificationTemplate |
fetchNotificationTemplateByExternalReferenceCode(java.lang.String externalReferenceCode,
long companyId) |
static NotificationTemplate |
getNotificationTemplate(long notificationTemplateId) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static NotificationTemplateService |
getService() |
static NotificationTemplate |
updateNotificationTemplate(NotificationContext notificationContext) |
public static NotificationTemplate addNotificationTemplate(NotificationContext notificationContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static NotificationTemplate deleteNotificationTemplate(long notificationTemplateId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static NotificationTemplate deleteNotificationTemplate(NotificationTemplate notificationTemplate) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static NotificationTemplate fetchNotificationTemplateByExternalReferenceCode(java.lang.String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static NotificationTemplate getNotificationTemplate(long notificationTemplateId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.lang.String getOSGiServiceIdentifier()
public static NotificationTemplate updateNotificationTemplate(NotificationContext notificationContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static NotificationTemplateService getService()