Liferay 6.0.5

com.liferay.portlet.announcements.service
Class AnnouncementsDeliveryServiceUtil

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

public class AnnouncementsDeliveryServiceUtil
extends Object

The utility for the announcements delivery remote service. This utility wraps AnnouncementsDeliveryServiceImpl and is the primary access point for service operations in application layer code running on a remote server.

Never modify this class directly. Add custom service methods to AnnouncementsDeliveryServiceImpl and rerun ServiceBuilder to regenerate this class.

This is a remote service. 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, AnnouncementsDeliveryServiceBaseImpl, AnnouncementsDeliveryServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Constructor Summary
AnnouncementsDeliveryServiceUtil()
           
 
Method Summary
static AnnouncementsDeliveryService getService()
           
 void setService(AnnouncementsDeliveryService service)
           
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

updateDelivery

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

getService

public static AnnouncementsDeliveryService getService()

setService

public void setService(AnnouncementsDeliveryService service)

Liferay 6.0.5