001
014
015 package com.liferay.portlet.announcements.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.service.ServiceWrapper;
020
021
028 @ProviderType
029 public class AnnouncementsDeliveryLocalServiceWrapper
030 implements AnnouncementsDeliveryLocalService,
031 ServiceWrapper<AnnouncementsDeliveryLocalService> {
032 public AnnouncementsDeliveryLocalServiceWrapper(
033 AnnouncementsDeliveryLocalService announcementsDeliveryLocalService) {
034 _announcementsDeliveryLocalService = announcementsDeliveryLocalService;
035 }
036
037
044 @Override
045 public com.liferay.portlet.announcements.model.AnnouncementsDelivery addAnnouncementsDelivery(
046 com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery)
047 throws com.liferay.portal.kernel.exception.SystemException {
048 return _announcementsDeliveryLocalService.addAnnouncementsDelivery(announcementsDelivery);
049 }
050
051
057 @Override
058 public com.liferay.portlet.announcements.model.AnnouncementsDelivery createAnnouncementsDelivery(
059 long deliveryId) {
060 return _announcementsDeliveryLocalService.createAnnouncementsDelivery(deliveryId);
061 }
062
063
071 @Override
072 public com.liferay.portlet.announcements.model.AnnouncementsDelivery deleteAnnouncementsDelivery(
073 long deliveryId)
074 throws com.liferay.portal.kernel.exception.PortalException,
075 com.liferay.portal.kernel.exception.SystemException {
076 return _announcementsDeliveryLocalService.deleteAnnouncementsDelivery(deliveryId);
077 }
078
079
086 @Override
087 public com.liferay.portlet.announcements.model.AnnouncementsDelivery deleteAnnouncementsDelivery(
088 com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery)
089 throws com.liferay.portal.kernel.exception.SystemException {
090 return _announcementsDeliveryLocalService.deleteAnnouncementsDelivery(announcementsDelivery);
091 }
092
093 @Override
094 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
095 return _announcementsDeliveryLocalService.dynamicQuery();
096 }
097
098
105 @Override
106 @SuppressWarnings("rawtypes")
107 public java.util.List dynamicQuery(
108 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
109 throws com.liferay.portal.kernel.exception.SystemException {
110 return _announcementsDeliveryLocalService.dynamicQuery(dynamicQuery);
111 }
112
113
126 @Override
127 @SuppressWarnings("rawtypes")
128 public java.util.List dynamicQuery(
129 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
130 int end) throws com.liferay.portal.kernel.exception.SystemException {
131 return _announcementsDeliveryLocalService.dynamicQuery(dynamicQuery,
132 start, end);
133 }
134
135
149 @Override
150 @SuppressWarnings("rawtypes")
151 public java.util.List dynamicQuery(
152 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
153 int end,
154 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
155 throws com.liferay.portal.kernel.exception.SystemException {
156 return _announcementsDeliveryLocalService.dynamicQuery(dynamicQuery,
157 start, end, orderByComparator);
158 }
159
160
167 @Override
168 public long dynamicQueryCount(
169 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
170 throws com.liferay.portal.kernel.exception.SystemException {
171 return _announcementsDeliveryLocalService.dynamicQueryCount(dynamicQuery);
172 }
173
174
182 @Override
183 public long dynamicQueryCount(
184 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
185 com.liferay.portal.kernel.dao.orm.Projection projection)
186 throws com.liferay.portal.kernel.exception.SystemException {
187 return _announcementsDeliveryLocalService.dynamicQueryCount(dynamicQuery,
188 projection);
189 }
190
191 @Override
192 public com.liferay.portlet.announcements.model.AnnouncementsDelivery fetchAnnouncementsDelivery(
193 long deliveryId)
194 throws com.liferay.portal.kernel.exception.SystemException {
195 return _announcementsDeliveryLocalService.fetchAnnouncementsDelivery(deliveryId);
196 }
197
198
206 @Override
207 public com.liferay.portlet.announcements.model.AnnouncementsDelivery getAnnouncementsDelivery(
208 long deliveryId)
209 throws com.liferay.portal.kernel.exception.PortalException,
210 com.liferay.portal.kernel.exception.SystemException {
211 return _announcementsDeliveryLocalService.getAnnouncementsDelivery(deliveryId);
212 }
213
214 @Override
215 public com.liferay.portal.model.PersistedModel getPersistedModel(
216 java.io.Serializable primaryKeyObj)
217 throws com.liferay.portal.kernel.exception.PortalException,
218 com.liferay.portal.kernel.exception.SystemException {
219 return _announcementsDeliveryLocalService.getPersistedModel(primaryKeyObj);
220 }
221
222
234 @Override
235 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> getAnnouncementsDeliveries(
236 int start, int end)
237 throws com.liferay.portal.kernel.exception.SystemException {
238 return _announcementsDeliveryLocalService.getAnnouncementsDeliveries(start,
239 end);
240 }
241
242
248 @Override
249 public int getAnnouncementsDeliveriesCount()
250 throws com.liferay.portal.kernel.exception.SystemException {
251 return _announcementsDeliveryLocalService.getAnnouncementsDeliveriesCount();
252 }
253
254
261 @Override
262 public com.liferay.portlet.announcements.model.AnnouncementsDelivery updateAnnouncementsDelivery(
263 com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery)
264 throws com.liferay.portal.kernel.exception.SystemException {
265 return _announcementsDeliveryLocalService.updateAnnouncementsDelivery(announcementsDelivery);
266 }
267
268
273 @Override
274 public java.lang.String getBeanIdentifier() {
275 return _announcementsDeliveryLocalService.getBeanIdentifier();
276 }
277
278
283 @Override
284 public void setBeanIdentifier(java.lang.String beanIdentifier) {
285 _announcementsDeliveryLocalService.setBeanIdentifier(beanIdentifier);
286 }
287
288 @Override
289 public com.liferay.portlet.announcements.model.AnnouncementsDelivery addUserDelivery(
290 long userId, java.lang.String type)
291 throws com.liferay.portal.kernel.exception.PortalException,
292 com.liferay.portal.kernel.exception.SystemException {
293 return _announcementsDeliveryLocalService.addUserDelivery(userId, type);
294 }
295
296 @Override
297 public void deleteDeliveries(long userId)
298 throws com.liferay.portal.kernel.exception.SystemException {
299 _announcementsDeliveryLocalService.deleteDeliveries(userId);
300 }
301
302 @Override
303 public void deleteDelivery(
304 com.liferay.portlet.announcements.model.AnnouncementsDelivery delivery)
305 throws com.liferay.portal.kernel.exception.SystemException {
306 _announcementsDeliveryLocalService.deleteDelivery(delivery);
307 }
308
309 @Override
310 public void deleteDelivery(long deliveryId)
311 throws com.liferay.portal.kernel.exception.PortalException,
312 com.liferay.portal.kernel.exception.SystemException {
313 _announcementsDeliveryLocalService.deleteDelivery(deliveryId);
314 }
315
316 @Override
317 public void deleteDelivery(long userId, java.lang.String type)
318 throws com.liferay.portal.kernel.exception.SystemException {
319 _announcementsDeliveryLocalService.deleteDelivery(userId, type);
320 }
321
322 @Override
323 public com.liferay.portlet.announcements.model.AnnouncementsDelivery getDelivery(
324 long deliveryId)
325 throws com.liferay.portal.kernel.exception.PortalException,
326 com.liferay.portal.kernel.exception.SystemException {
327 return _announcementsDeliveryLocalService.getDelivery(deliveryId);
328 }
329
330 @Override
331 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> getUserDeliveries(
332 long userId)
333 throws com.liferay.portal.kernel.exception.PortalException,
334 com.liferay.portal.kernel.exception.SystemException {
335 return _announcementsDeliveryLocalService.getUserDeliveries(userId);
336 }
337
338 @Override
339 public com.liferay.portlet.announcements.model.AnnouncementsDelivery getUserDelivery(
340 long userId, java.lang.String type)
341 throws com.liferay.portal.kernel.exception.PortalException,
342 com.liferay.portal.kernel.exception.SystemException {
343 return _announcementsDeliveryLocalService.getUserDelivery(userId, type);
344 }
345
346 @Override
347 public com.liferay.portlet.announcements.model.AnnouncementsDelivery updateDelivery(
348 long userId, java.lang.String type, boolean email, boolean sms,
349 boolean website)
350 throws com.liferay.portal.kernel.exception.PortalException,
351 com.liferay.portal.kernel.exception.SystemException {
352 return _announcementsDeliveryLocalService.updateDelivery(userId, type,
353 email, sms, website);
354 }
355
356
359 public AnnouncementsDeliveryLocalService getWrappedAnnouncementsDeliveryLocalService() {
360 return _announcementsDeliveryLocalService;
361 }
362
363
366 public void setWrappedAnnouncementsDeliveryLocalService(
367 AnnouncementsDeliveryLocalService announcementsDeliveryLocalService) {
368 _announcementsDeliveryLocalService = announcementsDeliveryLocalService;
369 }
370
371 @Override
372 public AnnouncementsDeliveryLocalService getWrappedService() {
373 return _announcementsDeliveryLocalService;
374 }
375
376 @Override
377 public void setWrappedService(
378 AnnouncementsDeliveryLocalService announcementsDeliveryLocalService) {
379 _announcementsDeliveryLocalService = announcementsDeliveryLocalService;
380 }
381
382 private AnnouncementsDeliveryLocalService _announcementsDeliveryLocalService;
383 }