@ProviderType public class AnnouncementsDeliveryServiceUtil extends Object
com.liferay.portlet.announcements.service.impl.AnnouncementsDeliveryServiceImpl and is the
primary 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,
com.liferay.portlet.announcements.service.base.AnnouncementsDeliveryServiceBaseImpl,
com.liferay.portlet.announcements.service.impl.AnnouncementsDeliveryServiceImpl| 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,
boolean website) |
public static AnnouncementsDelivery updateDelivery(long userId, String type, boolean email, boolean sms, boolean website) throws PortalException
PortalExceptionpublic static String getOSGiServiceIdentifier()
public static AnnouncementsDeliveryService getService()