com.liferay.portlet.announcements.service
Class AnnouncementsDeliveryLocalServiceUtil
java.lang.Object
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.
- Author:
- Brian Wing Shun Chan
- See Also:
AnnouncementsDeliveryLocalService
Method Summary |
static AnnouncementsDelivery |
addAnnouncementsDelivery(AnnouncementsDelivery announcementsDelivery)
|
static AnnouncementsDelivery |
addUserDelivery(long userId,
java.lang.String type)
|
static AnnouncementsDelivery |
createAnnouncementsDelivery(long deliveryId)
|
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<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
static java.util.List<AnnouncementsDelivery> |
getAnnouncementsDeliveries(int start,
int end)
|
static int |
getAnnouncementsDeliveriesCount()
|
static AnnouncementsDelivery |
getAnnouncementsDelivery(long deliveryId)
|
static AnnouncementsDelivery |
getDelivery(long deliveryId)
|
static AnnouncementsDeliveryLocalService |
getService()
|
static java.util.List<AnnouncementsDelivery> |
getUserDeliveries(long userId)
|
static AnnouncementsDelivery |
getUserDelivery(long userId,
java.lang.String type)
|
void |
setService(AnnouncementsDeliveryLocalService service)
|
static AnnouncementsDelivery |
updateAnnouncementsDelivery(AnnouncementsDelivery announcementsDelivery)
|
static AnnouncementsDelivery |
updateAnnouncementsDelivery(AnnouncementsDelivery announcementsDelivery,
boolean merge)
|
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 |
AnnouncementsDeliveryLocalServiceUtil
public AnnouncementsDeliveryLocalServiceUtil()
addAnnouncementsDelivery
public static AnnouncementsDelivery addAnnouncementsDelivery(AnnouncementsDelivery announcementsDelivery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
createAnnouncementsDelivery
public static AnnouncementsDelivery createAnnouncementsDelivery(long deliveryId)
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.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getAnnouncementsDelivery
public static AnnouncementsDelivery getAnnouncementsDelivery(long deliveryId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getAnnouncementsDeliveries
public static java.util.List<AnnouncementsDelivery> getAnnouncementsDeliveries(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getAnnouncementsDeliveriesCount
public static int getAnnouncementsDeliveriesCount()
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
updateAnnouncementsDelivery
public static AnnouncementsDelivery updateAnnouncementsDelivery(AnnouncementsDelivery announcementsDelivery,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addUserDelivery
public static AnnouncementsDelivery addUserDelivery(long userId,
java.lang.String type)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
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
getService
public static AnnouncementsDeliveryLocalService getService()
setService
public void setService(AnnouncementsDeliveryLocalService service)