001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.announcements.service;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link AnnouncementsDeliveryLocalService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       AnnouncementsDeliveryLocalService
024     * @generated
025     */
026    public class AnnouncementsDeliveryLocalServiceWrapper
027            implements AnnouncementsDeliveryLocalService {
028            public AnnouncementsDeliveryLocalServiceWrapper(
029                    AnnouncementsDeliveryLocalService announcementsDeliveryLocalService) {
030                    _announcementsDeliveryLocalService = announcementsDeliveryLocalService;
031            }
032    
033            public com.liferay.portlet.announcements.model.AnnouncementsDelivery addAnnouncementsDelivery(
034                    com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery)
035                    throws com.liferay.portal.kernel.exception.SystemException {
036                    return _announcementsDeliveryLocalService.addAnnouncementsDelivery(announcementsDelivery);
037            }
038    
039            public com.liferay.portlet.announcements.model.AnnouncementsDelivery createAnnouncementsDelivery(
040                    long deliveryId) {
041                    return _announcementsDeliveryLocalService.createAnnouncementsDelivery(deliveryId);
042            }
043    
044            public void deleteAnnouncementsDelivery(long deliveryId)
045                    throws com.liferay.portal.kernel.exception.PortalException,
046                            com.liferay.portal.kernel.exception.SystemException {
047                    _announcementsDeliveryLocalService.deleteAnnouncementsDelivery(deliveryId);
048            }
049    
050            public void deleteAnnouncementsDelivery(
051                    com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery)
052                    throws com.liferay.portal.kernel.exception.SystemException {
053                    _announcementsDeliveryLocalService.deleteAnnouncementsDelivery(announcementsDelivery);
054            }
055    
056            @SuppressWarnings("unchecked")
057            public java.util.List dynamicQuery(
058                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
059                    throws com.liferay.portal.kernel.exception.SystemException {
060                    return _announcementsDeliveryLocalService.dynamicQuery(dynamicQuery);
061            }
062    
063            @SuppressWarnings("unchecked")
064            public java.util.List dynamicQuery(
065                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
066                    int end) throws com.liferay.portal.kernel.exception.SystemException {
067                    return _announcementsDeliveryLocalService.dynamicQuery(dynamicQuery,
068                            start, end);
069            }
070    
071            @SuppressWarnings("unchecked")
072            public java.util.List dynamicQuery(
073                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
074                    int end,
075                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
076                    throws com.liferay.portal.kernel.exception.SystemException {
077                    return _announcementsDeliveryLocalService.dynamicQuery(dynamicQuery,
078                            start, end, orderByComparator);
079            }
080    
081            public long dynamicQueryCount(
082                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
083                    throws com.liferay.portal.kernel.exception.SystemException {
084                    return _announcementsDeliveryLocalService.dynamicQueryCount(dynamicQuery);
085            }
086    
087            public com.liferay.portlet.announcements.model.AnnouncementsDelivery getAnnouncementsDelivery(
088                    long deliveryId)
089                    throws com.liferay.portal.kernel.exception.PortalException,
090                            com.liferay.portal.kernel.exception.SystemException {
091                    return _announcementsDeliveryLocalService.getAnnouncementsDelivery(deliveryId);
092            }
093    
094            public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> getAnnouncementsDeliveries(
095                    int start, int end)
096                    throws com.liferay.portal.kernel.exception.SystemException {
097                    return _announcementsDeliveryLocalService.getAnnouncementsDeliveries(start,
098                            end);
099            }
100    
101            public int getAnnouncementsDeliveriesCount()
102                    throws com.liferay.portal.kernel.exception.SystemException {
103                    return _announcementsDeliveryLocalService.getAnnouncementsDeliveriesCount();
104            }
105    
106            public com.liferay.portlet.announcements.model.AnnouncementsDelivery updateAnnouncementsDelivery(
107                    com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery)
108                    throws com.liferay.portal.kernel.exception.SystemException {
109                    return _announcementsDeliveryLocalService.updateAnnouncementsDelivery(announcementsDelivery);
110            }
111    
112            public com.liferay.portlet.announcements.model.AnnouncementsDelivery updateAnnouncementsDelivery(
113                    com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery,
114                    boolean merge)
115                    throws com.liferay.portal.kernel.exception.SystemException {
116                    return _announcementsDeliveryLocalService.updateAnnouncementsDelivery(announcementsDelivery,
117                            merge);
118            }
119    
120            public com.liferay.portlet.announcements.model.AnnouncementsDelivery addUserDelivery(
121                    long userId, java.lang.String type)
122                    throws com.liferay.portal.kernel.exception.PortalException,
123                            com.liferay.portal.kernel.exception.SystemException {
124                    return _announcementsDeliveryLocalService.addUserDelivery(userId, type);
125            }
126    
127            public void deleteDeliveries(long userId)
128                    throws com.liferay.portal.kernel.exception.SystemException {
129                    _announcementsDeliveryLocalService.deleteDeliveries(userId);
130            }
131    
132            public void deleteDelivery(long deliveryId)
133                    throws com.liferay.portal.kernel.exception.PortalException,
134                            com.liferay.portal.kernel.exception.SystemException {
135                    _announcementsDeliveryLocalService.deleteDelivery(deliveryId);
136            }
137    
138            public void deleteDelivery(long userId, java.lang.String type)
139                    throws com.liferay.portal.kernel.exception.SystemException {
140                    _announcementsDeliveryLocalService.deleteDelivery(userId, type);
141            }
142    
143            public com.liferay.portlet.announcements.model.AnnouncementsDelivery getDelivery(
144                    long deliveryId)
145                    throws com.liferay.portal.kernel.exception.PortalException,
146                            com.liferay.portal.kernel.exception.SystemException {
147                    return _announcementsDeliveryLocalService.getDelivery(deliveryId);
148            }
149    
150            public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> getUserDeliveries(
151                    long userId)
152                    throws com.liferay.portal.kernel.exception.PortalException,
153                            com.liferay.portal.kernel.exception.SystemException {
154                    return _announcementsDeliveryLocalService.getUserDeliveries(userId);
155            }
156    
157            public com.liferay.portlet.announcements.model.AnnouncementsDelivery getUserDelivery(
158                    long userId, java.lang.String type)
159                    throws com.liferay.portal.kernel.exception.PortalException,
160                            com.liferay.portal.kernel.exception.SystemException {
161                    return _announcementsDeliveryLocalService.getUserDelivery(userId, type);
162            }
163    
164            public com.liferay.portlet.announcements.model.AnnouncementsDelivery updateDelivery(
165                    long userId, java.lang.String type, boolean email, boolean sms,
166                    boolean website)
167                    throws com.liferay.portal.kernel.exception.PortalException,
168                            com.liferay.portal.kernel.exception.SystemException {
169                    return _announcementsDeliveryLocalService.updateDelivery(userId, type,
170                            email, sms, website);
171            }
172    
173            public AnnouncementsDeliveryLocalService getWrappedAnnouncementsDeliveryLocalService() {
174                    return _announcementsDeliveryLocalService;
175            }
176    
177            private AnnouncementsDeliveryLocalService _announcementsDeliveryLocalService;
178    }