Class CommerceNotificationTemplateServiceUtil
java.lang.Object
com.liferay.commerce.notification.service.CommerceNotificationTemplateServiceUtil
Deprecated.
As of Cavanaugh (7.4.x)
Provides the remote service utility for CommerceNotificationTemplate. This utility wraps
com.liferay.commerce.notification.service.impl.CommerceNotificationTemplateServiceImpl
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 CommerceNotificationTemplate
addCommerceNotificationTemplate
(long groupId, String name, String description, String from, Map<Locale, String> fromNameMap, String to, String cc, String bcc, String type, boolean enabled, Map<Locale, String> subjectMap, Map<Locale, String> bodyMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) Deprecated.static CommerceNotificationTemplate
addCommerceNotificationTemplate
(String name, String description, String from, Map<Locale, String> fromNameMap, String to, String cc, String bcc, String type, boolean enabled, Map<Locale, String> subjectMap, Map<Locale, String> bodyMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) Deprecated.As of Athanasius (7.3.x)static void
deleteCommerceNotificationTemplate
(long commerceNotificationTemplateId) Deprecated.static CommerceNotificationTemplate
getCommerceNotificationTemplate
(long commerceNotificationTemplateId) Deprecated.static List<CommerceNotificationTemplate>
getCommerceNotificationTemplates
(long groupId, boolean enabled, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) Deprecated.static List<CommerceNotificationTemplate>
getCommerceNotificationTemplates
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) Deprecated.static int
getCommerceNotificationTemplatesCount
(long groupId) Deprecated.static int
getCommerceNotificationTemplatesCount
(long groupId, boolean enabled) Deprecated.static String
Deprecated.Returns the OSGi service identifier.Deprecated.static CommerceNotificationTemplate
updateCommerceNotificationTemplate
(long commerceNotificationTemplateId, String name, String description, String from, Map<Locale, String> fromNameMap, String to, String cc, String bcc, String type, boolean enabled, Map<Locale, String> subjectMap, Map<Locale, String> bodyMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) Deprecated.
-
Constructor Details
-
CommerceNotificationTemplateServiceUtil
public CommerceNotificationTemplateServiceUtil()Deprecated.
-
-
Method Details
-
addCommerceNotificationTemplate
public static CommerceNotificationTemplate addCommerceNotificationTemplate(long groupId, String name, String description, String from, Map<Locale, String> fromNameMap, String to, String cc, String bcc, String type, boolean enabled, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> subjectMap, Map<Locale, String> bodyMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) Deprecated.- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addCommerceNotificationTemplate
@Deprecated public static CommerceNotificationTemplate addCommerceNotificationTemplate(String name, String description, String from, Map<Locale, String> fromNameMap, String to, String cc, String bcc, String type, boolean enabled, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> subjectMap, Map<Locale, String> bodyMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) Deprecated.As of Athanasius (7.3.x)- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceNotificationTemplate
public static void deleteCommerceNotificationTemplate(long commerceNotificationTemplateId) throws com.liferay.portal.kernel.exception.PortalException Deprecated.- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceNotificationTemplate
public static CommerceNotificationTemplate getCommerceNotificationTemplate(long commerceNotificationTemplateId) throws com.liferay.portal.kernel.exception.PortalException Deprecated.- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceNotificationTemplates
public static List<CommerceNotificationTemplate> getCommerceNotificationTemplates(long groupId, boolean enabled, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException Deprecated.- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceNotificationTemplates
public static List<CommerceNotificationTemplate> getCommerceNotificationTemplates(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException Deprecated.- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceNotificationTemplatesCount
public static int getCommerceNotificationTemplatesCount(long groupId) throws com.liferay.portal.kernel.exception.PortalException Deprecated.- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceNotificationTemplatesCount
public static int getCommerceNotificationTemplatesCount(long groupId, boolean enabled) throws com.liferay.portal.kernel.exception.PortalException Deprecated.- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Deprecated.Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
updateCommerceNotificationTemplate
public static CommerceNotificationTemplate updateCommerceNotificationTemplate(long commerceNotificationTemplateId, String name, String description, String from, Map<Locale, String> fromNameMap, String to, String cc, String bcc, String type, boolean enabled, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> subjectMap, Map<Locale, String> bodyMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) Deprecated.- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
Deprecated.
-