Liferay 7.0-ce-b4

com.liferay.portlet.announcements.service
Class AnnouncementsDeliveryServiceUtil

java.lang.Object
  extended by com.liferay.portlet.announcements.service.AnnouncementsDeliveryServiceUtil

@ProviderType
public class AnnouncementsDeliveryServiceUtil
extends Object

Provides the remote service utility for AnnouncementsDelivery. This utility wraps 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.

See Also:
AnnouncementsDeliveryService, com.liferay.portlet.announcements.service.base.AnnouncementsDeliveryServiceBaseImpl, com.liferay.portlet.announcements.service.impl.AnnouncementsDeliveryServiceImpl

Constructor Summary
AnnouncementsDeliveryServiceUtil()
           
 
Method Summary
static String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
static AnnouncementsDeliveryService getService()
           
static AnnouncementsDelivery updateDelivery(long userId, String type, boolean email, boolean sms, boolean website)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnouncementsDeliveryServiceUtil

public AnnouncementsDeliveryServiceUtil()
Method Detail

getOSGiServiceIdentifier

public static String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

updateDelivery

public static AnnouncementsDelivery updateDelivery(long userId,
                                                   String type,
                                                   boolean email,
                                                   boolean sms,
                                                   boolean website)
                                            throws PortalException
Throws:
PortalException

getService

public static AnnouncementsDeliveryService getService()

Liferay 7.0-ce-b4