1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.announcements.service;
24  
25  
26  /**
27   * <a href="AnnouncementsDeliveryLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This class is a wrapper for {@link AnnouncementsDeliveryLocalService}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       AnnouncementsDeliveryLocalService
40   * @generated
41   */
42  public class AnnouncementsDeliveryLocalServiceWrapper
43      implements AnnouncementsDeliveryLocalService {
44      public AnnouncementsDeliveryLocalServiceWrapper(
45          AnnouncementsDeliveryLocalService announcementsDeliveryLocalService) {
46          _announcementsDeliveryLocalService = announcementsDeliveryLocalService;
47      }
48  
49      public com.liferay.portlet.announcements.model.AnnouncementsDelivery addAnnouncementsDelivery(
50          com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery)
51          throws com.liferay.portal.SystemException {
52          return _announcementsDeliveryLocalService.addAnnouncementsDelivery(announcementsDelivery);
53      }
54  
55      public com.liferay.portlet.announcements.model.AnnouncementsDelivery createAnnouncementsDelivery(
56          long deliveryId) {
57          return _announcementsDeliveryLocalService.createAnnouncementsDelivery(deliveryId);
58      }
59  
60      public void deleteAnnouncementsDelivery(long deliveryId)
61          throws com.liferay.portal.PortalException,
62              com.liferay.portal.SystemException {
63          _announcementsDeliveryLocalService.deleteAnnouncementsDelivery(deliveryId);
64      }
65  
66      public void deleteAnnouncementsDelivery(
67          com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery)
68          throws com.liferay.portal.SystemException {
69          _announcementsDeliveryLocalService.deleteAnnouncementsDelivery(announcementsDelivery);
70      }
71  
72      public java.util.List<Object> dynamicQuery(
73          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
74          throws com.liferay.portal.SystemException {
75          return _announcementsDeliveryLocalService.dynamicQuery(dynamicQuery);
76      }
77  
78      public java.util.List<Object> dynamicQuery(
79          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
80          int end) throws com.liferay.portal.SystemException {
81          return _announcementsDeliveryLocalService.dynamicQuery(dynamicQuery,
82              start, end);
83      }
84  
85      public com.liferay.portlet.announcements.model.AnnouncementsDelivery getAnnouncementsDelivery(
86          long deliveryId)
87          throws com.liferay.portal.PortalException,
88              com.liferay.portal.SystemException {
89          return _announcementsDeliveryLocalService.getAnnouncementsDelivery(deliveryId);
90      }
91  
92      public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> getAnnouncementsDeliveries(
93          int start, int end) throws com.liferay.portal.SystemException {
94          return _announcementsDeliveryLocalService.getAnnouncementsDeliveries(start,
95              end);
96      }
97  
98      public int getAnnouncementsDeliveriesCount()
99          throws com.liferay.portal.SystemException {
100         return _announcementsDeliveryLocalService.getAnnouncementsDeliveriesCount();
101     }
102 
103     public com.liferay.portlet.announcements.model.AnnouncementsDelivery updateAnnouncementsDelivery(
104         com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery)
105         throws com.liferay.portal.SystemException {
106         return _announcementsDeliveryLocalService.updateAnnouncementsDelivery(announcementsDelivery);
107     }
108 
109     public com.liferay.portlet.announcements.model.AnnouncementsDelivery updateAnnouncementsDelivery(
110         com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery,
111         boolean merge) throws com.liferay.portal.SystemException {
112         return _announcementsDeliveryLocalService.updateAnnouncementsDelivery(announcementsDelivery,
113             merge);
114     }
115 
116     public com.liferay.portlet.announcements.model.AnnouncementsDelivery addUserDelivery(
117         long userId, java.lang.String type)
118         throws com.liferay.portal.PortalException,
119             com.liferay.portal.SystemException {
120         return _announcementsDeliveryLocalService.addUserDelivery(userId, type);
121     }
122 
123     public void deleteDeliveries(long userId)
124         throws com.liferay.portal.SystemException {
125         _announcementsDeliveryLocalService.deleteDeliveries(userId);
126     }
127 
128     public void deleteDelivery(long deliveryId)
129         throws com.liferay.portal.PortalException,
130             com.liferay.portal.SystemException {
131         _announcementsDeliveryLocalService.deleteDelivery(deliveryId);
132     }
133 
134     public void deleteDelivery(long userId, java.lang.String type)
135         throws com.liferay.portal.SystemException {
136         _announcementsDeliveryLocalService.deleteDelivery(userId, type);
137     }
138 
139     public com.liferay.portlet.announcements.model.AnnouncementsDelivery getDelivery(
140         long deliveryId)
141         throws com.liferay.portal.PortalException,
142             com.liferay.portal.SystemException {
143         return _announcementsDeliveryLocalService.getDelivery(deliveryId);
144     }
145 
146     public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> getUserDeliveries(
147         long userId)
148         throws com.liferay.portal.PortalException,
149             com.liferay.portal.SystemException {
150         return _announcementsDeliveryLocalService.getUserDeliveries(userId);
151     }
152 
153     public com.liferay.portlet.announcements.model.AnnouncementsDelivery getUserDelivery(
154         long userId, java.lang.String type)
155         throws com.liferay.portal.PortalException,
156             com.liferay.portal.SystemException {
157         return _announcementsDeliveryLocalService.getUserDelivery(userId, type);
158     }
159 
160     public com.liferay.portlet.announcements.model.AnnouncementsDelivery updateDelivery(
161         long userId, java.lang.String type, boolean email, boolean sms,
162         boolean website)
163         throws com.liferay.portal.PortalException,
164             com.liferay.portal.SystemException {
165         return _announcementsDeliveryLocalService.updateDelivery(userId, type,
166             email, sms, website);
167     }
168 
169     public AnnouncementsDeliveryLocalService getWrappedAnnouncementsDeliveryLocalService() {
170         return _announcementsDeliveryLocalService;
171     }
172 
173     private AnnouncementsDeliveryLocalService _announcementsDeliveryLocalService;
174 }