com.liferay.portlet.announcements.service
Class AnnouncementsDeliveryLocalServiceUtil

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

public class AnnouncementsDeliveryLocalServiceUtil
extends java.lang.Object

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class provides static methods for the com.liferay.portlet.announcements.service.AnnouncementsDeliveryLocalService bean. The static methods of this class calls the same methods of the bean instance. It's convenient to be able to just write one line to call a method on a bean instead of writing a lookup call and a method call.

com.liferay.portlet.announcements.service.AnnouncementsDeliveryLocalServiceFactory is responsible for the lookup of the bean.

Author:
Brian Wing Shun Chan
See Also:
AnnouncementsDeliveryLocalService, AnnouncementsDeliveryLocalServiceFactory

Constructor Summary
AnnouncementsDeliveryLocalServiceUtil()
           
 
Method Summary
static AnnouncementsDelivery addAnnouncementsDelivery(AnnouncementsDelivery announcementsDelivery)
           
static void deleteAnnouncementsDelivery(AnnouncementsDelivery announcementsDelivery)
           
static void deleteAnnouncementsDelivery(long deliveryId)
           
static void deleteDeliveries(long userId)
           
static void deleteDelivery(long deliveryId)
           
static void deleteDelivery(long userId, java.lang.String type)
           
static java.util.List<AnnouncementsDelivery> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
static java.util.List<AnnouncementsDelivery> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
static AnnouncementsDelivery getDelivery(long deliveryId)
           
static java.util.List<AnnouncementsDelivery> getUserDeliveries(long userId)
           
static AnnouncementsDelivery getUserDelivery(long userId, java.lang.String type)
           
static AnnouncementsDelivery updateAnnouncementsDelivery(AnnouncementsDelivery announcementsDelivery)
           
static AnnouncementsDelivery updateDelivery(long userId, java.lang.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

AnnouncementsDeliveryLocalServiceUtil

public AnnouncementsDeliveryLocalServiceUtil()
Method Detail

addAnnouncementsDelivery

public static AnnouncementsDelivery addAnnouncementsDelivery(AnnouncementsDelivery announcementsDelivery)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteAnnouncementsDelivery

public static void deleteAnnouncementsDelivery(long deliveryId)
                                        throws com.liferay.portal.PortalException,
                                               com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteAnnouncementsDelivery

public static void deleteAnnouncementsDelivery(AnnouncementsDelivery announcementsDelivery)
                                        throws com.liferay.portal.PortalException,
                                               com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

dynamicQuery

public static java.util.List<AnnouncementsDelivery> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public static java.util.List<AnnouncementsDelivery> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                                                 int begin,
                                                                 int end)
                                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateAnnouncementsDelivery

public static AnnouncementsDelivery updateAnnouncementsDelivery(AnnouncementsDelivery announcementsDelivery)
                                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteDeliveries

public static void deleteDeliveries(long userId)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteDelivery

public static void deleteDelivery(long deliveryId)
                           throws com.liferay.portal.PortalException,
                                  com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteDelivery

public static void deleteDelivery(long userId,
                                  java.lang.String type)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getDelivery

public static AnnouncementsDelivery getDelivery(long deliveryId)
                                         throws com.liferay.portal.PortalException,
                                                com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getUserDeliveries

public static java.util.List<AnnouncementsDelivery> getUserDeliveries(long userId)
                                                               throws com.liferay.portal.PortalException,
                                                                      com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getUserDelivery

public static AnnouncementsDelivery getUserDelivery(long userId,
                                                    java.lang.String type)
                                             throws com.liferay.portal.PortalException,
                                                    com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateDelivery

public static AnnouncementsDelivery updateDelivery(long userId,
                                                   java.lang.String type,
                                                   boolean email,
                                                   boolean sms,
                                                   boolean website)
                                            throws com.liferay.portal.PortalException,
                                                   com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException