public class AnnouncementsDeliveryServiceUtil
extends Object
com.liferay.portlet.announcements.service.impl.AnnouncementsDeliveryServiceImpl
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.AnnouncementsDeliveryService
Constructor and Description |
---|
AnnouncementsDeliveryServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static AnnouncementsDeliveryService |
getService() |
static AnnouncementsDelivery |
updateDelivery(long userId,
String type,
boolean email,
boolean sms) |
public static String getOSGiServiceIdentifier()
public static AnnouncementsDelivery updateDelivery(long userId, String type, boolean email, boolean sms) throws PortalException
PortalException
public static AnnouncementsDeliveryService getService()