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    /**
019     * <p>
020     * This class is a wrapper for {@link AnnouncementsDeliveryLocalService}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       AnnouncementsDeliveryLocalService
025     * @generated
026     */
027    public class AnnouncementsDeliveryLocalServiceWrapper
028            implements AnnouncementsDeliveryLocalService {
029            public AnnouncementsDeliveryLocalServiceWrapper(
030                    AnnouncementsDeliveryLocalService announcementsDeliveryLocalService) {
031                    _announcementsDeliveryLocalService = announcementsDeliveryLocalService;
032            }
033    
034            public com.liferay.portlet.announcements.model.AnnouncementsDelivery addAnnouncementsDelivery(
035                    com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery)
036                    throws com.liferay.portal.kernel.exception.SystemException {
037                    return _announcementsDeliveryLocalService.addAnnouncementsDelivery(announcementsDelivery);
038            }
039    
040            public com.liferay.portlet.announcements.model.AnnouncementsDelivery createAnnouncementsDelivery(
041                    long deliveryId) {
042                    return _announcementsDeliveryLocalService.createAnnouncementsDelivery(deliveryId);
043            }
044    
045            public void deleteAnnouncementsDelivery(long deliveryId)
046                    throws com.liferay.portal.kernel.exception.PortalException,
047                            com.liferay.portal.kernel.exception.SystemException {
048                    _announcementsDeliveryLocalService.deleteAnnouncementsDelivery(deliveryId);
049            }
050    
051            public void deleteAnnouncementsDelivery(
052                    com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery)
053                    throws com.liferay.portal.kernel.exception.SystemException {
054                    _announcementsDeliveryLocalService.deleteAnnouncementsDelivery(announcementsDelivery);
055            }
056    
057            @SuppressWarnings("unchecked")
058            public java.util.List dynamicQuery(
059                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
060                    throws com.liferay.portal.kernel.exception.SystemException {
061                    return _announcementsDeliveryLocalService.dynamicQuery(dynamicQuery);
062            }
063    
064            @SuppressWarnings("unchecked")
065            public java.util.List dynamicQuery(
066                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
067                    int end) throws com.liferay.portal.kernel.exception.SystemException {
068                    return _announcementsDeliveryLocalService.dynamicQuery(dynamicQuery,
069                            start, end);
070            }
071    
072            @SuppressWarnings("unchecked")
073            public java.util.List dynamicQuery(
074                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
075                    int end,
076                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
077                    throws com.liferay.portal.kernel.exception.SystemException {
078                    return _announcementsDeliveryLocalService.dynamicQuery(dynamicQuery,
079                            start, end, orderByComparator);
080            }
081    
082            public long dynamicQueryCount(
083                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
084                    throws com.liferay.portal.kernel.exception.SystemException {
085                    return _announcementsDeliveryLocalService.dynamicQueryCount(dynamicQuery);
086            }
087    
088            public com.liferay.portlet.announcements.model.AnnouncementsDelivery getAnnouncementsDelivery(
089                    long deliveryId)
090                    throws com.liferay.portal.kernel.exception.PortalException,
091                            com.liferay.portal.kernel.exception.SystemException {
092                    return _announcementsDeliveryLocalService.getAnnouncementsDelivery(deliveryId);
093            }
094    
095            public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> getAnnouncementsDeliveries(
096                    int start, int end)
097                    throws com.liferay.portal.kernel.exception.SystemException {
098                    return _announcementsDeliveryLocalService.getAnnouncementsDeliveries(start,
099                            end);
100            }
101    
102            public int getAnnouncementsDeliveriesCount()
103                    throws com.liferay.portal.kernel.exception.SystemException {
104                    return _announcementsDeliveryLocalService.getAnnouncementsDeliveriesCount();
105            }
106    
107            public com.liferay.portlet.announcements.model.AnnouncementsDelivery updateAnnouncementsDelivery(
108                    com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery)
109                    throws com.liferay.portal.kernel.exception.SystemException {
110                    return _announcementsDeliveryLocalService.updateAnnouncementsDelivery(announcementsDelivery);
111            }
112    
113            public com.liferay.portlet.announcements.model.AnnouncementsDelivery updateAnnouncementsDelivery(
114                    com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery,
115                    boolean merge)
116                    throws com.liferay.portal.kernel.exception.SystemException {
117                    return _announcementsDeliveryLocalService.updateAnnouncementsDelivery(announcementsDelivery,
118                            merge);
119            }
120    
121            public com.liferay.portlet.announcements.model.AnnouncementsDelivery addUserDelivery(
122                    long userId, java.lang.String type)
123                    throws com.liferay.portal.kernel.exception.PortalException,
124                            com.liferay.portal.kernel.exception.SystemException {
125                    return _announcementsDeliveryLocalService.addUserDelivery(userId, type);
126            }
127    
128            public void deleteDeliveries(long userId)
129                    throws com.liferay.portal.kernel.exception.SystemException {
130                    _announcementsDeliveryLocalService.deleteDeliveries(userId);
131            }
132    
133            public void deleteDelivery(long deliveryId)
134                    throws com.liferay.portal.kernel.exception.PortalException,
135                            com.liferay.portal.kernel.exception.SystemException {
136                    _announcementsDeliveryLocalService.deleteDelivery(deliveryId);
137            }
138    
139            public void deleteDelivery(long userId, java.lang.String type)
140                    throws com.liferay.portal.kernel.exception.SystemException {
141                    _announcementsDeliveryLocalService.deleteDelivery(userId, type);
142            }
143    
144            public com.liferay.portlet.announcements.model.AnnouncementsDelivery getDelivery(
145                    long deliveryId)
146                    throws com.liferay.portal.kernel.exception.PortalException,
147                            com.liferay.portal.kernel.exception.SystemException {
148                    return _announcementsDeliveryLocalService.getDelivery(deliveryId);
149            }
150    
151            public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> getUserDeliveries(
152                    long userId)
153                    throws com.liferay.portal.kernel.exception.PortalException,
154                            com.liferay.portal.kernel.exception.SystemException {
155                    return _announcementsDeliveryLocalService.getUserDeliveries(userId);
156            }
157    
158            public com.liferay.portlet.announcements.model.AnnouncementsDelivery getUserDelivery(
159                    long userId, java.lang.String type)
160                    throws com.liferay.portal.kernel.exception.PortalException,
161                            com.liferay.portal.kernel.exception.SystemException {
162                    return _announcementsDeliveryLocalService.getUserDelivery(userId, type);
163            }
164    
165            public com.liferay.portlet.announcements.model.AnnouncementsDelivery updateDelivery(
166                    long userId, java.lang.String type, boolean email, boolean sms,
167                    boolean website)
168                    throws com.liferay.portal.kernel.exception.PortalException,
169                            com.liferay.portal.kernel.exception.SystemException {
170                    return _announcementsDeliveryLocalService.updateDelivery(userId, type,
171                            email, sms, website);
172            }
173    
174            public AnnouncementsDeliveryLocalService getWrappedAnnouncementsDeliveryLocalService() {
175                    return _announcementsDeliveryLocalService;
176            }
177    
178            private AnnouncementsDeliveryLocalService _announcementsDeliveryLocalService;
179    }