1
22
23 package com.liferay.portlet.announcements.service;
24
25
26
50 public interface AnnouncementsDeliveryLocalService {
51 public com.liferay.portlet.announcements.model.AnnouncementsDelivery addAnnouncementsDelivery(
52 com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery)
53 throws com.liferay.portal.SystemException;
54
55 public com.liferay.portlet.announcements.model.AnnouncementsDelivery createAnnouncementsDelivery(
56 long deliveryId);
57
58 public void deleteAnnouncementsDelivery(long deliveryId)
59 throws com.liferay.portal.SystemException,
60 com.liferay.portal.PortalException;
61
62 public void deleteAnnouncementsDelivery(
63 com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery)
64 throws com.liferay.portal.SystemException;
65
66 public java.util.List<Object> dynamicQuery(
67 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
68 throws com.liferay.portal.SystemException;
69
70 public java.util.List<Object> dynamicQuery(
71 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
72 int end) throws com.liferay.portal.SystemException;
73
74 public com.liferay.portlet.announcements.model.AnnouncementsDelivery getAnnouncementsDelivery(
75 long deliveryId)
76 throws com.liferay.portal.SystemException,
77 com.liferay.portal.PortalException;
78
79 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> getAnnouncementsDeliveries(
80 int start, int end) throws com.liferay.portal.SystemException;
81
82 public int getAnnouncementsDeliveriesCount()
83 throws com.liferay.portal.SystemException;
84
85 public com.liferay.portlet.announcements.model.AnnouncementsDelivery updateAnnouncementsDelivery(
86 com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery)
87 throws com.liferay.portal.SystemException;
88
89 public void deleteDeliveries(long userId)
90 throws com.liferay.portal.SystemException;
91
92 public void deleteDelivery(long deliveryId)
93 throws com.liferay.portal.PortalException,
94 com.liferay.portal.SystemException;
95
96 public void deleteDelivery(long userId, java.lang.String type)
97 throws com.liferay.portal.SystemException;
98
99 public com.liferay.portlet.announcements.model.AnnouncementsDelivery getDelivery(
100 long deliveryId)
101 throws com.liferay.portal.PortalException,
102 com.liferay.portal.SystemException;
103
104 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> getUserDeliveries(
105 long userId)
106 throws com.liferay.portal.PortalException,
107 com.liferay.portal.SystemException;
108
109 public com.liferay.portlet.announcements.model.AnnouncementsDelivery getUserDelivery(
110 long userId, java.lang.String type)
111 throws com.liferay.portal.PortalException,
112 com.liferay.portal.SystemException;
113
114 public com.liferay.portlet.announcements.model.AnnouncementsDelivery updateDelivery(
115 long userId, java.lang.String type, boolean email, boolean sms,
116 boolean website)
117 throws com.liferay.portal.PortalException,
118 com.liferay.portal.SystemException;
119 }