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) |
static AnnouncementsDelivery |
updateDelivery(long userId,
String type,
boolean email,
boolean sms,
boolean website)
Deprecated.
As of Judson (7.1.x), replaced by
updateDelivery(long, String, boolean, boolean) |
public static String getOSGiServiceIdentifier()
public static AnnouncementsDelivery updateDelivery(long userId, String type, boolean email, boolean sms) throws PortalException
PortalException
@Deprecated public static AnnouncementsDelivery updateDelivery(long userId, String type, boolean email, boolean sms, boolean website) throws PortalException
updateDelivery(long, String, boolean, boolean)
PortalException
public static AnnouncementsDeliveryService getService()