Class CommerceNotificationTemplateServiceUtil

java.lang.Object
com.liferay.commerce.notification.service.CommerceNotificationTemplateServiceUtil

@Deprecated public class CommerceNotificationTemplateServiceUtil extends Object
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 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,String> subjectMap, Map<Locale,String> bodyMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      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,String> subjectMap, Map<Locale,String> bodyMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      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

      public static String 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,String> subjectMap, Map<Locale,String> bodyMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Deprecated.
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getService

      public static CommerceNotificationTemplateService getService()
      Deprecated.