Package com.liferay.notification.service
Class NotificationTemplateServiceUtil
java.lang.Object
com.liferay.notification.service.NotificationTemplateServiceUtil
Provides the remote service utility for NotificationTemplate. This utility wraps
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.- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NotificationTemplateaddNotificationTemplate(NotificationContext notificationContext) static NotificationTemplatedeleteNotificationTemplate(long notificationTemplateId) static NotificationTemplatedeleteNotificationTemplate(NotificationTemplate notificationTemplate) static NotificationTemplatefetchNotificationTemplateByExternalReferenceCode(String externalReferenceCode, long companyId) static NotificationTemplategetNotificationTemplate(long notificationTemplateId) static StringReturns the OSGi service identifier.static NotificationTemplateServicestatic NotificationTemplateupdateNotificationTemplate(NotificationContext notificationContext)
-
Constructor Details
-
NotificationTemplateServiceUtil
public NotificationTemplateServiceUtil()
-
-
Method Details
-
addNotificationTemplate
public static NotificationTemplate addNotificationTemplate(NotificationContext notificationContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteNotificationTemplate
public static NotificationTemplate deleteNotificationTemplate(long notificationTemplateId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteNotificationTemplate
public static NotificationTemplate deleteNotificationTemplate(NotificationTemplate notificationTemplate) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchNotificationTemplateByExternalReferenceCode
public static NotificationTemplate fetchNotificationTemplateByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getNotificationTemplate
public static NotificationTemplate getNotificationTemplate(long notificationTemplateId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
updateNotificationTemplate
public static NotificationTemplate updateNotificationTemplate(NotificationContext notificationContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-