public class CommerceNotificationTemplateServiceUtil
extends java.lang.Object
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.CommerceNotificationTemplateService
Constructor and Description |
---|
CommerceNotificationTemplateServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static CommerceNotificationTemplate |
addCommerceNotificationTemplate(long groupId,
java.lang.String name,
java.lang.String description,
java.lang.String from,
java.util.Map<java.util.Locale,java.lang.String> fromNameMap,
java.lang.String to,
java.lang.String cc,
java.lang.String bcc,
java.lang.String type,
boolean enabled,
java.util.Map<java.util.Locale,java.lang.String> subjectMap,
java.util.Map<java.util.Locale,java.lang.String> bodyMap,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommerceNotificationTemplate |
addCommerceNotificationTemplate(java.lang.String name,
java.lang.String description,
java.lang.String from,
java.util.Map<java.util.Locale,java.lang.String> fromNameMap,
java.lang.String to,
java.lang.String cc,
java.lang.String bcc,
java.lang.String type,
boolean enabled,
java.util.Map<java.util.Locale,java.lang.String> subjectMap,
java.util.Map<java.util.Locale,java.lang.String> bodyMap,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
As of Athanasius (7.3.x)
|
static void |
deleteCommerceNotificationTemplate(long commerceNotificationTemplateId) |
static CommerceNotificationTemplate |
getCommerceNotificationTemplate(long commerceNotificationTemplateId) |
static java.util.List<CommerceNotificationTemplate> |
getCommerceNotificationTemplates(long groupId,
boolean enabled,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) |
static java.util.List<CommerceNotificationTemplate> |
getCommerceNotificationTemplates(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) |
static int |
getCommerceNotificationTemplatesCount(long groupId) |
static int |
getCommerceNotificationTemplatesCount(long groupId,
boolean enabled) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static CommerceNotificationTemplateService |
getService() |
static CommerceNotificationTemplate |
updateCommerceNotificationTemplate(long commerceNotificationTemplateId,
java.lang.String name,
java.lang.String description,
java.lang.String from,
java.util.Map<java.util.Locale,java.lang.String> fromNameMap,
java.lang.String to,
java.lang.String cc,
java.lang.String bcc,
java.lang.String type,
boolean enabled,
java.util.Map<java.util.Locale,java.lang.String> subjectMap,
java.util.Map<java.util.Locale,java.lang.String> bodyMap,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public CommerceNotificationTemplateServiceUtil()
public static CommerceNotificationTemplate addCommerceNotificationTemplate(long groupId, java.lang.String name, java.lang.String description, java.lang.String from, java.util.Map<java.util.Locale,java.lang.String> fromNameMap, java.lang.String to, java.lang.String cc, java.lang.String bcc, java.lang.String type, boolean enabled, java.util.Map<java.util.Locale,java.lang.String> subjectMap, java.util.Map<java.util.Locale,java.lang.String> bodyMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Deprecated public static CommerceNotificationTemplate addCommerceNotificationTemplate(java.lang.String name, java.lang.String description, java.lang.String from, java.util.Map<java.util.Locale,java.lang.String> fromNameMap, java.lang.String to, java.lang.String cc, java.lang.String bcc, java.lang.String type, boolean enabled, java.util.Map<java.util.Locale,java.lang.String> subjectMap, java.util.Map<java.util.Locale,java.lang.String> bodyMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteCommerceNotificationTemplate(long commerceNotificationTemplateId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceNotificationTemplate getCommerceNotificationTemplate(long commerceNotificationTemplateId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.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
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<CommerceNotificationTemplate> getCommerceNotificationTemplates(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getCommerceNotificationTemplatesCount(long groupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getCommerceNotificationTemplatesCount(long groupId, boolean enabled) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.lang.String getOSGiServiceIdentifier()
public static CommerceNotificationTemplate updateCommerceNotificationTemplate(long commerceNotificationTemplateId, java.lang.String name, java.lang.String description, java.lang.String from, java.util.Map<java.util.Locale,java.lang.String> fromNameMap, java.lang.String to, java.lang.String cc, java.lang.String bcc, java.lang.String type, boolean enabled, java.util.Map<java.util.Locale,java.lang.String> subjectMap, java.util.Map<java.util.Locale,java.lang.String> bodyMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceNotificationTemplateService getService()