001
014
015 package com.liferay.portlet.announcements.service;
016
017
026 public class AnnouncementsDeliveryLocalServiceWrapper
027 implements AnnouncementsDeliveryLocalService {
028 public AnnouncementsDeliveryLocalServiceWrapper(
029 AnnouncementsDeliveryLocalService announcementsDeliveryLocalService) {
030 _announcementsDeliveryLocalService = announcementsDeliveryLocalService;
031 }
032
033
040 public com.liferay.portlet.announcements.model.AnnouncementsDelivery addAnnouncementsDelivery(
041 com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery)
042 throws com.liferay.portal.kernel.exception.SystemException {
043 return _announcementsDeliveryLocalService.addAnnouncementsDelivery(announcementsDelivery);
044 }
045
046
052 public com.liferay.portlet.announcements.model.AnnouncementsDelivery createAnnouncementsDelivery(
053 long deliveryId) {
054 return _announcementsDeliveryLocalService.createAnnouncementsDelivery(deliveryId);
055 }
056
057
064 public void deleteAnnouncementsDelivery(long deliveryId)
065 throws com.liferay.portal.kernel.exception.PortalException,
066 com.liferay.portal.kernel.exception.SystemException {
067 _announcementsDeliveryLocalService.deleteAnnouncementsDelivery(deliveryId);
068 }
069
070
076 public void deleteAnnouncementsDelivery(
077 com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery)
078 throws com.liferay.portal.kernel.exception.SystemException {
079 _announcementsDeliveryLocalService.deleteAnnouncementsDelivery(announcementsDelivery);
080 }
081
082
089 @SuppressWarnings("rawtypes")
090 public java.util.List dynamicQuery(
091 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
092 throws com.liferay.portal.kernel.exception.SystemException {
093 return _announcementsDeliveryLocalService.dynamicQuery(dynamicQuery);
094 }
095
096
109 @SuppressWarnings("rawtypes")
110 public java.util.List dynamicQuery(
111 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
112 int end) throws com.liferay.portal.kernel.exception.SystemException {
113 return _announcementsDeliveryLocalService.dynamicQuery(dynamicQuery,
114 start, end);
115 }
116
117
131 @SuppressWarnings("rawtypes")
132 public java.util.List dynamicQuery(
133 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
134 int end,
135 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
136 throws com.liferay.portal.kernel.exception.SystemException {
137 return _announcementsDeliveryLocalService.dynamicQuery(dynamicQuery,
138 start, end, orderByComparator);
139 }
140
141
148 public long dynamicQueryCount(
149 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
150 throws com.liferay.portal.kernel.exception.SystemException {
151 return _announcementsDeliveryLocalService.dynamicQueryCount(dynamicQuery);
152 }
153
154
162 public com.liferay.portlet.announcements.model.AnnouncementsDelivery getAnnouncementsDelivery(
163 long deliveryId)
164 throws com.liferay.portal.kernel.exception.PortalException,
165 com.liferay.portal.kernel.exception.SystemException {
166 return _announcementsDeliveryLocalService.getAnnouncementsDelivery(deliveryId);
167 }
168
169
181 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> getAnnouncementsDeliveries(
182 int start, int end)
183 throws com.liferay.portal.kernel.exception.SystemException {
184 return _announcementsDeliveryLocalService.getAnnouncementsDeliveries(start,
185 end);
186 }
187
188
194 public int getAnnouncementsDeliveriesCount()
195 throws com.liferay.portal.kernel.exception.SystemException {
196 return _announcementsDeliveryLocalService.getAnnouncementsDeliveriesCount();
197 }
198
199
206 public com.liferay.portlet.announcements.model.AnnouncementsDelivery updateAnnouncementsDelivery(
207 com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery)
208 throws com.liferay.portal.kernel.exception.SystemException {
209 return _announcementsDeliveryLocalService.updateAnnouncementsDelivery(announcementsDelivery);
210 }
211
212
220 public com.liferay.portlet.announcements.model.AnnouncementsDelivery updateAnnouncementsDelivery(
221 com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery,
222 boolean merge)
223 throws com.liferay.portal.kernel.exception.SystemException {
224 return _announcementsDeliveryLocalService.updateAnnouncementsDelivery(announcementsDelivery,
225 merge);
226 }
227
228 public com.liferay.portlet.announcements.model.AnnouncementsDelivery addUserDelivery(
229 long userId, java.lang.String type)
230 throws com.liferay.portal.kernel.exception.PortalException,
231 com.liferay.portal.kernel.exception.SystemException {
232 return _announcementsDeliveryLocalService.addUserDelivery(userId, type);
233 }
234
235 public void deleteDeliveries(long userId)
236 throws com.liferay.portal.kernel.exception.SystemException {
237 _announcementsDeliveryLocalService.deleteDeliveries(userId);
238 }
239
240 public void deleteDelivery(long deliveryId)
241 throws com.liferay.portal.kernel.exception.PortalException,
242 com.liferay.portal.kernel.exception.SystemException {
243 _announcementsDeliveryLocalService.deleteDelivery(deliveryId);
244 }
245
246 public void deleteDelivery(long userId, java.lang.String type)
247 throws com.liferay.portal.kernel.exception.SystemException {
248 _announcementsDeliveryLocalService.deleteDelivery(userId, type);
249 }
250
251 public com.liferay.portlet.announcements.model.AnnouncementsDelivery getDelivery(
252 long deliveryId)
253 throws com.liferay.portal.kernel.exception.PortalException,
254 com.liferay.portal.kernel.exception.SystemException {
255 return _announcementsDeliveryLocalService.getDelivery(deliveryId);
256 }
257
258 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> getUserDeliveries(
259 long userId)
260 throws com.liferay.portal.kernel.exception.PortalException,
261 com.liferay.portal.kernel.exception.SystemException {
262 return _announcementsDeliveryLocalService.getUserDeliveries(userId);
263 }
264
265 public com.liferay.portlet.announcements.model.AnnouncementsDelivery getUserDelivery(
266 long userId, java.lang.String type)
267 throws com.liferay.portal.kernel.exception.PortalException,
268 com.liferay.portal.kernel.exception.SystemException {
269 return _announcementsDeliveryLocalService.getUserDelivery(userId, type);
270 }
271
272 public com.liferay.portlet.announcements.model.AnnouncementsDelivery updateDelivery(
273 long userId, java.lang.String type, boolean email, boolean sms,
274 boolean website)
275 throws com.liferay.portal.kernel.exception.PortalException,
276 com.liferay.portal.kernel.exception.SystemException {
277 return _announcementsDeliveryLocalService.updateDelivery(userId, type,
278 email, sms, website);
279 }
280
281 public AnnouncementsDeliveryLocalService getWrappedAnnouncementsDeliveryLocalService() {
282 return _announcementsDeliveryLocalService;
283 }
284
285 private AnnouncementsDeliveryLocalService _announcementsDeliveryLocalService;
286 }