@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface NotificationTemplateService
extends com.liferay.portal.kernel.service.BaseService
NotificationTemplateServiceUtil
Modifier and Type | Method and Description |
---|---|
NotificationTemplate |
addNotificationTemplate(NotificationContext notificationContext) |
NotificationTemplate |
deleteNotificationTemplate(long notificationTemplateId) |
NotificationTemplate |
deleteNotificationTemplate(NotificationTemplate notificationTemplate) |
NotificationTemplate |
fetchNotificationTemplateByExternalReferenceCode(java.lang.String externalReferenceCode,
long companyId) |
NotificationTemplate |
getNotificationTemplate(long notificationTemplateId) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
NotificationTemplate |
updateNotificationTemplate(NotificationContext notificationContext) |
NotificationTemplate addNotificationTemplate(NotificationContext notificationContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
NotificationTemplate deleteNotificationTemplate(long notificationTemplateId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
NotificationTemplate deleteNotificationTemplate(NotificationTemplate notificationTemplate) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) NotificationTemplate fetchNotificationTemplateByExternalReferenceCode(java.lang.String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) NotificationTemplate getNotificationTemplate(long notificationTemplateId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.lang.String getOSGiServiceIdentifier()
NotificationTemplate updateNotificationTemplate(NotificationContext notificationContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException