com.liferay.portlet.announcements.service
Class AnnouncementsDeliveryLocalServiceUtil
java.lang.Object
com.liferay.portlet.announcements.service.AnnouncementsDeliveryLocalServiceUtil
public class AnnouncementsDeliveryLocalServiceUtil
- extends Object
This class provides static methods for the
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.
- See Also:
AnnouncementsDeliveryLocalService- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
|
Method Summary |
static AnnouncementsDelivery |
addAnnouncementsDelivery(AnnouncementsDelivery announcementsDelivery)
|
static AnnouncementsDelivery |
addUserDelivery(long userId,
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,
String type)
|
static List |
dynamicQuery(DynamicQuery dynamicQuery)
|
static List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
static List<AnnouncementsDelivery> |
getAnnouncementsDeliveries(int start,
int end)
|
static int |
getAnnouncementsDeliveriesCount()
|
static AnnouncementsDelivery |
getAnnouncementsDelivery(long deliveryId)
|
static AnnouncementsDelivery |
getDelivery(long deliveryId)
|
static AnnouncementsDeliveryLocalService |
getService()
|
static List<AnnouncementsDelivery> |
getUserDeliveries(long userId)
|
static AnnouncementsDelivery |
getUserDelivery(long userId,
String type)
|
void |
setService(AnnouncementsDeliveryLocalService service)
|
static AnnouncementsDelivery |
updateAnnouncementsDelivery(AnnouncementsDelivery announcementsDelivery)
|
static AnnouncementsDelivery |
updateAnnouncementsDelivery(AnnouncementsDelivery announcementsDelivery,
boolean merge)
|
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 |
AnnouncementsDeliveryLocalServiceUtil
public AnnouncementsDeliveryLocalServiceUtil()
addAnnouncementsDelivery
public static AnnouncementsDelivery addAnnouncementsDelivery(AnnouncementsDelivery announcementsDelivery)
throws SystemException
- Throws:
SystemException
createAnnouncementsDelivery
public static AnnouncementsDelivery createAnnouncementsDelivery(long deliveryId)
deleteAnnouncementsDelivery
public static void deleteAnnouncementsDelivery(long deliveryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteAnnouncementsDelivery
public static void deleteAnnouncementsDelivery(AnnouncementsDelivery announcementsDelivery)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
dynamicQueryCount
public static long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
getAnnouncementsDelivery
public static AnnouncementsDelivery getAnnouncementsDelivery(long deliveryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getAnnouncementsDeliveries
public static List<AnnouncementsDelivery> getAnnouncementsDeliveries(int start,
int end)
throws SystemException
- Throws:
SystemException
getAnnouncementsDeliveriesCount
public static int getAnnouncementsDeliveriesCount()
throws SystemException
- Throws:
SystemException
updateAnnouncementsDelivery
public static AnnouncementsDelivery updateAnnouncementsDelivery(AnnouncementsDelivery announcementsDelivery)
throws SystemException
- Throws:
SystemException
updateAnnouncementsDelivery
public static AnnouncementsDelivery updateAnnouncementsDelivery(AnnouncementsDelivery announcementsDelivery,
boolean merge)
throws SystemException
- Throws:
SystemException
addUserDelivery
public static AnnouncementsDelivery addUserDelivery(long userId,
String type)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteDeliveries
public static void deleteDeliveries(long userId)
throws SystemException
- Throws:
SystemException
deleteDelivery
public static void deleteDelivery(long deliveryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteDelivery
public static void deleteDelivery(long userId,
String type)
throws SystemException
- Throws:
SystemException
getDelivery
public static AnnouncementsDelivery getDelivery(long deliveryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getUserDeliveries
public static List<AnnouncementsDelivery> getUserDeliveries(long userId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getUserDelivery
public static AnnouncementsDelivery getUserDelivery(long userId,
String type)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateDelivery
public static AnnouncementsDelivery updateDelivery(long userId,
String type,
boolean email,
boolean sms,
boolean website)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getService
public static AnnouncementsDeliveryLocalService getService()
setService
public void setService(AnnouncementsDeliveryLocalService service)