001
014
015 package com.liferay.portlet.announcements.service;
016
017
018
027 public class AnnouncementsDeliveryServiceWrapper
028 implements AnnouncementsDeliveryService {
029 public AnnouncementsDeliveryServiceWrapper(
030 AnnouncementsDeliveryService announcementsDeliveryService) {
031 _announcementsDeliveryService = announcementsDeliveryService;
032 }
033
034 public com.liferay.portlet.announcements.model.AnnouncementsDelivery updateDelivery(
035 long userId, java.lang.String type, boolean email, boolean sms,
036 boolean website)
037 throws com.liferay.portal.kernel.exception.PortalException,
038 com.liferay.portal.kernel.exception.SystemException {
039 return _announcementsDeliveryService.updateDelivery(userId, type,
040 email, sms, website);
041 }
042
043 public AnnouncementsDeliveryService getWrappedAnnouncementsDeliveryService() {
044 return _announcementsDeliveryService;
045 }
046
047 private AnnouncementsDeliveryService _announcementsDeliveryService;
048 }