1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.announcements.service;
16  
17  
18  /**
19   * <a href="AnnouncementsDeliveryLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link AnnouncementsDeliveryLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       AnnouncementsDeliveryLocalService
32   * @generated
33   */
34  public class AnnouncementsDeliveryLocalServiceWrapper
35      implements AnnouncementsDeliveryLocalService {
36      public AnnouncementsDeliveryLocalServiceWrapper(
37          AnnouncementsDeliveryLocalService announcementsDeliveryLocalService) {
38          _announcementsDeliveryLocalService = announcementsDeliveryLocalService;
39      }
40  
41      public com.liferay.portlet.announcements.model.AnnouncementsDelivery addAnnouncementsDelivery(
42          com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery)
43          throws com.liferay.portal.kernel.exception.SystemException {
44          return _announcementsDeliveryLocalService.addAnnouncementsDelivery(announcementsDelivery);
45      }
46  
47      public com.liferay.portlet.announcements.model.AnnouncementsDelivery createAnnouncementsDelivery(
48          long deliveryId) {
49          return _announcementsDeliveryLocalService.createAnnouncementsDelivery(deliveryId);
50      }
51  
52      public void deleteAnnouncementsDelivery(long deliveryId)
53          throws com.liferay.portal.kernel.exception.PortalException,
54              com.liferay.portal.kernel.exception.SystemException {
55          _announcementsDeliveryLocalService.deleteAnnouncementsDelivery(deliveryId);
56      }
57  
58      public void deleteAnnouncementsDelivery(
59          com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery)
60          throws com.liferay.portal.kernel.exception.SystemException {
61          _announcementsDeliveryLocalService.deleteAnnouncementsDelivery(announcementsDelivery);
62      }
63  
64      @SuppressWarnings("unchecked")
65      public java.util.List dynamicQuery(
66          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
67          throws com.liferay.portal.kernel.exception.SystemException {
68          return _announcementsDeliveryLocalService.dynamicQuery(dynamicQuery);
69      }
70  
71      @SuppressWarnings("unchecked")
72      public java.util.List dynamicQuery(
73          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
74          int end) throws com.liferay.portal.kernel.exception.SystemException {
75          return _announcementsDeliveryLocalService.dynamicQuery(dynamicQuery,
76              start, end);
77      }
78  
79      @SuppressWarnings("unchecked")
80      public java.util.List dynamicQuery(
81          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
82          int end,
83          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
84          throws com.liferay.portal.kernel.exception.SystemException {
85          return _announcementsDeliveryLocalService.dynamicQuery(dynamicQuery,
86              start, end, orderByComparator);
87      }
88  
89      public long dynamicQueryCount(
90          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
91          throws com.liferay.portal.kernel.exception.SystemException {
92          return _announcementsDeliveryLocalService.dynamicQueryCount(dynamicQuery);
93      }
94  
95      public com.liferay.portlet.announcements.model.AnnouncementsDelivery getAnnouncementsDelivery(
96          long deliveryId)
97          throws com.liferay.portal.kernel.exception.PortalException,
98              com.liferay.portal.kernel.exception.SystemException {
99          return _announcementsDeliveryLocalService.getAnnouncementsDelivery(deliveryId);
100     }
101 
102     public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> getAnnouncementsDeliveries(
103         int start, int end)
104         throws com.liferay.portal.kernel.exception.SystemException {
105         return _announcementsDeliveryLocalService.getAnnouncementsDeliveries(start,
106             end);
107     }
108 
109     public int getAnnouncementsDeliveriesCount()
110         throws com.liferay.portal.kernel.exception.SystemException {
111         return _announcementsDeliveryLocalService.getAnnouncementsDeliveriesCount();
112     }
113 
114     public com.liferay.portlet.announcements.model.AnnouncementsDelivery updateAnnouncementsDelivery(
115         com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery)
116         throws com.liferay.portal.kernel.exception.SystemException {
117         return _announcementsDeliveryLocalService.updateAnnouncementsDelivery(announcementsDelivery);
118     }
119 
120     public com.liferay.portlet.announcements.model.AnnouncementsDelivery updateAnnouncementsDelivery(
121         com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery,
122         boolean merge)
123         throws com.liferay.portal.kernel.exception.SystemException {
124         return _announcementsDeliveryLocalService.updateAnnouncementsDelivery(announcementsDelivery,
125             merge);
126     }
127 
128     public com.liferay.portlet.announcements.model.AnnouncementsDelivery addUserDelivery(
129         long userId, java.lang.String type)
130         throws com.liferay.portal.kernel.exception.PortalException,
131             com.liferay.portal.kernel.exception.SystemException {
132         return _announcementsDeliveryLocalService.addUserDelivery(userId, type);
133     }
134 
135     public void deleteDeliveries(long userId)
136         throws com.liferay.portal.kernel.exception.SystemException {
137         _announcementsDeliveryLocalService.deleteDeliveries(userId);
138     }
139 
140     public void deleteDelivery(long deliveryId)
141         throws com.liferay.portal.kernel.exception.PortalException,
142             com.liferay.portal.kernel.exception.SystemException {
143         _announcementsDeliveryLocalService.deleteDelivery(deliveryId);
144     }
145 
146     public void deleteDelivery(long userId, java.lang.String type)
147         throws com.liferay.portal.kernel.exception.SystemException {
148         _announcementsDeliveryLocalService.deleteDelivery(userId, type);
149     }
150 
151     public com.liferay.portlet.announcements.model.AnnouncementsDelivery getDelivery(
152         long deliveryId)
153         throws com.liferay.portal.kernel.exception.PortalException,
154             com.liferay.portal.kernel.exception.SystemException {
155         return _announcementsDeliveryLocalService.getDelivery(deliveryId);
156     }
157 
158     public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> getUserDeliveries(
159         long userId)
160         throws com.liferay.portal.kernel.exception.PortalException,
161             com.liferay.portal.kernel.exception.SystemException {
162         return _announcementsDeliveryLocalService.getUserDeliveries(userId);
163     }
164 
165     public com.liferay.portlet.announcements.model.AnnouncementsDelivery getUserDelivery(
166         long userId, java.lang.String type)
167         throws com.liferay.portal.kernel.exception.PortalException,
168             com.liferay.portal.kernel.exception.SystemException {
169         return _announcementsDeliveryLocalService.getUserDelivery(userId, type);
170     }
171 
172     public com.liferay.portlet.announcements.model.AnnouncementsDelivery updateDelivery(
173         long userId, java.lang.String type, boolean email, boolean sms,
174         boolean website)
175         throws com.liferay.portal.kernel.exception.PortalException,
176             com.liferay.portal.kernel.exception.SystemException {
177         return _announcementsDeliveryLocalService.updateDelivery(userId, type,
178             email, sms, website);
179     }
180 
181     public AnnouncementsDeliveryLocalService getWrappedAnnouncementsDeliveryLocalService() {
182         return _announcementsDeliveryLocalService;
183     }
184 
185     private AnnouncementsDeliveryLocalService _announcementsDeliveryLocalService;
186 }